/* General styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Form styles */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out;
}

.form-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.input-with-icon {
    position: relative;
}

.input-with-icon .icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.input-with-icon input,
.input-with-icon textarea,
.input-with-icon select {
    padding-left: 2.5rem;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    background-color: #0ea5e9;
    color: white;
}

.btn-primary:hover {
    background-color: #0284c7;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-danger {
    background-color: #ef4444;
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
}

.btn-icon .icon {
    margin-right: 0.5rem;
}

/* Card styles */
.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.card-header {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.card-body {
    padding: 1rem;
}

.card-footer {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

/* Table styles */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.table th {
    text-align: left;
    font-weight: 600;
    background-color: #f9fafb;
}

.table tr:hover {
    background-color: #f9fafb;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    /* General responsive adjustments */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Make tables responsive */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Adjust form layouts */
    .form-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Adjust card layouts */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Adjust button sizes */
    .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Adjust spacing */
    .mobile-mb-4 {
        margin-bottom: 1rem;
    }
    
    .mobile-p-4 {
        padding: 1rem;
    }
    
    /* Make content sections stack on mobile */
    .mobile-stack {
        flex-direction: column !important;
    }
    
    .mobile-stack > * {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
    
    /* Adjust grid layouts */
    .mobile-grid-1 {
        grid-template-columns: 1fr !important;
    }
    
    /* Adjust text sizes */
    .mobile-text-sm {
        font-size: 0.875rem !important;
    }
    
    .mobile-text-lg {
        font-size: 1.125rem !important;
    }
    
    /* Hide elements on mobile if needed */
    .mobile-hidden {
        display: none !important;
    }
    
    /* Full width on mobile */
    .mobile-w-full {
        width: 100% !important;
    }
    
    /* Center on mobile */
    .mobile-center {
        text-align: center !important;
        justify-content: center !important;
    }
    
    /* Adjust padding/margins */
    .mobile-p-2 {
        padding: 0.5rem !important;
    }
    
    .mobile-px-2 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .mobile-py-2 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

/* Add specific page styles below */ 