/* HopeSetters Autism Center - Custom Styles */

/* Global Font Family */
* {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    background-color: #f8f9fa;
}

/* Custom Button Styles */
.btn-hope {
    background: linear-gradient(135deg, #20B2AA, #32CD32);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hope:hover {
    background: linear-gradient(135deg, #1a9b94, #2bb82b);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
}

/* Card Enhancements */
.card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Table Enhancements */
.table-hover tbody tr:hover {
    background-color: rgba(32, 178, 170, 0.05);
}

/* Form Enhancements */
.form-control:focus {
    border-color: #20B2AA;
    box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
}

.form-control-lg {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control-lg:focus {
    border-color: #20B2AA;
    box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
}

.form-select-lg {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-select-lg:focus {
    border-color: #20B2AA;
    box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
}

textarea.form-control-lg {
    resize: vertical;
    min-height: 100px;
}

/* Enhanced Form Styling */
.form-label {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-label i {
    width: 18px;
    text-align: center;
    margin-right: 0.5rem;
}

.form-control-lg, .form-select-lg {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-control-lg:focus, .form-select-lg:focus {
    border-color: #20B2AA;
    box-shadow: 0 0 0 4px rgba(32, 178, 170, 0.1);
    outline: none;
    transform: translateY(-2px);
    background-color: #ffffff;
}

.form-control-lg:hover, .form-select-lg:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.form-control-lg::placeholder, .form-select-lg::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Card Form Styling */
.card .card-body {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Button Enhancements */
.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Table Enhancements */
.table th {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.table td {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(32, 178, 170, 0.05);
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* Page Header Styling */
.page-header h1 {
    background: linear-gradient(135deg, #20B2AA, #32CD32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Section Headers */
.section-header {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #20B2AA, #32CD32);
    border-radius: 2px;
}

/* Enhanced Table Styling */
.table th {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #4b5563;
    padding: 1rem 1.5rem;
}

.table td {
    border: none;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    padding: 1.25rem 1.5rem;
}

.table tbody tr:hover {
    background-color: rgba(32, 178, 170, 0.03);
    transform: scale(1.005);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Avatar Enhancements */
.avatar-sm {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Badge Enhancements */
.badge {
    border-radius: 25px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.025em;
}

.bg-info-subtle {
    background-color: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Button Group Enhancements */
.btn-group .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* Form Section Styling */
.form-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

/* Empty State Styling */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state i {
    color: #d1d5db;
    margin-bottom: 1rem;
}

/* Search Input Styling */
.input-group .form-control {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.input-group .btn {
    border-radius: 0 8px 8px 0;
    border-left: none;
}


/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #20B2AA, #32CD32);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
}

/* Avatar Styles */
.avatar-sm {
    width: 40px;
    height: 40px;
}

.avatar-lg {
    width: 80px;
    height: 80px;
}

/* Status Badge Colors */
.bg-success-subtle {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #20B2AA, #32CD32);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1a9b94, #2bb82b);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Custom form styles */
.form-input {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #20B2AA;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
    outline: none;
}

/* Loading spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #20B2AA;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Status badges */
.status-active {
    background-color: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-inactive {
    background-color: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pending {
    background-color: #f59e0b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}
