/* Stretch-n-Grow Blue Ridge - Original Style Recreation */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

/* Define the modern system font stack */
:root {
    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3vw;
}

/* Custom Flowbite navbar styles to match current design */
nav {
    background-color: white !important;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: all 0.3s ease;
}

/* Remove background from breadcrumb navigation */
nav[aria-label="Breadcrumb"] {
    background: none !important;
    box-shadow: none !important;
}

/* Apply refined gradient to sidebar navigation - less bright colors */
#logo-sidebar > div {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%) !important;
}

/* Add shadow to sidebar border */
#logo-sidebar {
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1) !important;
}

/* Enhanced SNG Dashboard header styling */
#logo-sidebar .flex.items-center.mb-6 {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    margin-bottom: 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#logo-sidebar .flex.items-center.mb-6 svg {
    color: #60a5fa !important;
    filter: drop-shadow(0 2px 4px rgba(96, 165, 250, 0.3));
}

#logo-sidebar .flex.items-center.mb-6 span {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Update sidebar text colors to work with darker blue background */
#logo-sidebar span,
#logo-sidebar a {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Update sidebar icons */
#logo-sidebar svg {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Update sidebar hover states */
#logo-sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
}

/* Update active/current page styling */
#logo-sidebar a.bg-gray-100 {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
}

/* Update border colors */
#logo-sidebar .border-gray-200 {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Fix sidebar layout to stick user section to bottom */
#logo-sidebar > div.h-full {
    display: flex !important;
    flex-direction: column !important;
    /* Use dynamic viewport height for mobile Safari compatibility */
    height: 100dvh !important;
    min-height: 100vh !important;
}

/* Make navigation links container flex-grow to push user section down */
#logo-sidebar ul.space-y-2 {
    flex-grow: 1 !important;
}

/* User section at bottom with proper spacing */
#logo-sidebar .mt-6.pt-4.border-t {
    margin-top: auto !important;
    padding-top: 1rem !important;
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 1rem)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Mobile Safari specific fixes */
@media screen and (max-width: 640px) {
    /* Ensure sidebar fits within viewport on mobile */
    #logo-sidebar {
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
    }
    
    /* Add extra bottom padding on mobile to prevent Safari bottom bar overlap */
    #logo-sidebar .mt-6.pt-4.border-t {
        padding-bottom: max(2rem, env(safe-area-inset-bottom, 2rem)) !important;
        margin-bottom: 0 !important;
    }
    
    /* Ensure dropdown menu appears above Safari bottom bar */
    #logo-sidebar .mt-6.pt-4.border-t .absolute.bottom-full {
        bottom: calc(100% + max(0.5rem, env(safe-area-inset-bottom, 0.5rem))) !important;
    }
    
    /* Make user dropdown more accessible on mobile */
    #logo-sidebar .relative > div[x-show="open"] {
        position: fixed !important;
        bottom: max(4rem, calc(4rem + env(safe-area-inset-bottom, 0px))) !important;
        left: 1rem !important;
        right: 1rem !important;
        width: auto !important;
        z-index: 60 !important;
    }
}



/* Better navbar spacing and alignment */
nav ul {
    align-items: center;
}

nav li {
    display: flex;
    align-items: center;
}

/* Ensure buttons align with text links */
nav button,
nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.5;
    min-height: 40px;
}

/* Mobile menu positioning and styling */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.hidden {
    display: none;
}

/* Ensure mobile menu is properly contained within navbar */
@media (max-width: 767px) {
    #mobile-menu:not(.hidden) {
        display: block;
    }
}

/* Desktop navigation styling */

/* Add scroll effect to navbar */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;
}

/* Ensure logo sizing is maintained */
.navbar-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Hero section - matching original vibrant background */
.hero {
    background: linear-gradient(135deg, #2b6cb0 0%, #1a365d 50%, #2c5282 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/images/S-29-1687-min.webp') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .highlight {
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Utility classes */
/* Removed .hidden override to allow Tailwind CSS responsive classes to work */

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Space utilities */
.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Margin utilities */
.mr-2 {
    margin-right: 0.5rem;
}

/* Max width utilities */
.max-w-6xl {
    max-width: 72rem;
}

/* Margin bottom utilities */
.mb-8 {
    margin-bottom: 2rem;
}

/* Padding utilities */
.p-8 {
    padding: 2rem;
}

/* Text utilities */
.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.font-semibold {
    font-weight: 600;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-medium {
    font-weight: 500;
}

.block {
    display: block;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.max-w-2xl {
    max-width: 42rem;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b, #475569);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #475569, #334155);
    box-shadow: 0 12px 35px rgba(100, 116, 139, 0.4);
}

.btn-primary,
input[type="submit"].btn-primary,
button.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3) !important;
    border: none !important;
}

.btn-primary:hover,
input[type="submit"].btn-primary:hover,
button.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4) !important;
    transform: translateY(-3px) !important;
    color: white !important;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 3px solid white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: white;
    color: #2b6cb0;
    transform: translateY(-3px);
}

/* Section styles */
.section {
    padding: 4rem 0;
}

.section:first-of-type {
    padding-top: 2rem;
}

.section-alt {
    background: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1a365d;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section h3 {
    font-size: clamp(1.8rem, 4vw, 1rem);
    font-weight: 800;
    color: #1a365d;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 500;
}

/* Vibrant "When You Partner With Us" section */
.partnership-section {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.partnership-section h3 {
    color: white;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partnership-item {
    text-align: center;
    padding: 1.5rem;
}

.partnership-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.partnership-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partnership-item.engage h4 {
    color: #fbbf24;
}

.partnership-item.excite h4 {
    color: #48bb78;
}

.partnership-item.enhance h4 {
    color: #ed64a6;
}

.partnership-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Our Programs section */
.programs-section {
    background: #f7fafc;
    padding: 2.5rem 0;
    text-align: center;
}

.programs-section h3 {
    color: #1a365d;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.programs-section p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Core Values section */
.values-section {
    background: white;
    padding: 2.5rem 0;
}

.values-section h3 {
    color: #1a365d;
    text-align: center;
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.value-item:nth-child(1) {
    border-color: #e53e3e;
}

.value-item:nth-child(1):hover {
    background: linear-gradient(135deg, #fed7d7, #feb2b2);
}

.value-item:nth-child(2) {
    border-color: #38b2ac;
}

.value-item:nth-child(2):hover {
    background: linear-gradient(135deg, #c6f7f5, #9decf9);
}

.value-item:nth-child(3) {
    border-color: #4299e1;
}

.value-item:nth-child(3):hover {
    background: linear-gradient(135deg, #bee3f8, #90cdf4);
}

.value-item:nth-child(4) {
    border-color: #48bb78;
}

.value-item:nth-child(4):hover {
    background: linear-gradient(135deg, #c6f6d5, #9ae6b4);
}

.value-item:nth-child(5) {
    border-color: #ed8936;
}

.value-item:nth-child(5):hover {
    background: linear-gradient(135deg, #feebc8, #fbd38d);
}

.value-item:nth-child(6) {
    border-color: #9f7aea;
}

.value-item:nth-child(6):hover {
    background: linear-gradient(135deg, #e9d8fd, #d6bcfa);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #4299e1, #38b2ac);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.value-item:hover .value-icon svg {
    transform: scale(1.1);
}

/* Card icon styles for schools, parents, etc. */
.card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #4299e1, #38b2ac);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.card:hover .card-icon svg {
    transform: scale(1.1);
}

/* Schools Benefits Grid - Professional Design */
.schools-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4299e1, #38b2ac);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(66, 153, 225, 0.2);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 0 1.5rem 0;
    background: linear-gradient(135deg, #4299e1, #38b2ac);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.benefit-card:hover .benefit-icon svg {
    transform: scale(1.1);
}

.benefit-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Schools Benefits */
@media (max-width: 768px) {
    .schools-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-icon {
        width: 56px;
        height: 56px;
    }
    
    .benefit-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .benefit-card h4 {
        font-size: 1.125rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
}

.value-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-item p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
}

/* Feature sections with images */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.feature-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a365d;
}

.feature-content p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.feature-image {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-image:hover {
    transform: scale(1.05);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Schools section with teal background */
.schools-section {
    background: linear-gradient(135deg, #38b2ac 0%, #2c7a7b 100%);
    color: white;
    padding: 5rem 0;
}

.schools-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.schools-text-container {
    position: relative;
}

.schools-title-image {
    position: absolute;
    top: -15px;
    left: -20px;
    z-index: 10;
}

.schools-title-image img {
    height: 50px;
    width: auto;
}

.schools-text {
    font-size: 1rem;
    line-height: 1.6;
    padding-top: 60px;
    padding-left: 10px;
}

.schools-text h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    line-height: 1.3;
}

.schools-text p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-size: 1rem;
}

.schools-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.schools-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Parents section */
.parents-section {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 5rem 0;
}

.parents-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.parents-text-container {
    position: relative;
}

.parents-title-image {
    position: absolute;
    top: -15px;
    left: -20px;
    z-index: 10;
}

.parents-title-image img {
    height: 50px;
    width: auto;
}

.parents-text {
    font-size: 1rem;
    line-height: 1.6;
    padding-top: 60px;
    padding-left: 10px;
}

.parents-text h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.parents-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.parents-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Contact form section */
.contact-section {
    background: #f7fafc;
    padding: 2.5rem 0;
}

.contact-content {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-content h3 {
    color: #1a365d;
    margin-bottom: 0.75rem;
}

.contact-content p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.5;
}

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a365d;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: var(--font-sans);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form control and label classes for compatibility */
.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: var(--font-sans);
}

.form-control:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a365d;
    font-size: 1rem;
}

/* Reviews section */
.reviews {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0;
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.reviews h3 {
    color: #1a365d;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
    font-weight: 800;
    position: relative;
}

.reviews h3::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.review-item:hover::before {
    transform: scaleX(1);
}

.review-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e0;
}

.review-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.review-text::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: -0.75rem;
    font-size: 4rem;
    color: #fbbf24;
    font-family: serif;
    opacity: 0.3;
    line-height: 1;
}

.review-author {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 1rem;
}

.review-author::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #fbbf24;
    border-radius: 50%;
}

.review-rating {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-author {
    font-weight: 600;
    color: #1a365d;
    font-size: 1rem;
}

/* Flash messages */
.flash-messages {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    max-width: 400px;
}

.flash-message {
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease;
}

.flash-success {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #48bb78;
}

.flash-error {
    background: #fed7d7;
    color: #742a2a;
    border-left: 4px solid #e53e3e;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Employee dashboard styles */
.dashboard {
    padding: 1.5rem 0;
    min-height: calc(100vh - 140px);
    background: #fafbfc;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.dashboard .container {
    max-width: 98%;
    padding: 0 1rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.25rem 0;
    background: transparent;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.dashboard-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dashboard-nav .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: #4f46e5;
    border: none;
    color: white;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.dashboard-nav .btn:hover {
    background: #4338ca;
    color: white;
}

/* Professional Enterprise Cards */
.card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    border: 1px solid #d1d5db;
}

.card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #111827;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Professional View Toggle */
.view-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.toggle-switch.active {
    background: #4f46e5;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    user-select: none;
}

.toggle-label.active {
    color: #111827;
    font-weight: 600;
}

/* Modern Class Cards */
.modern-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.modern-class-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #06d6a0 0%, #3b82f6 50%, #8b5cf6 100%);
}

.modern-class-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.class-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.class-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.class-card-date {
    font-size: 0.75rem;
    font-weight: 500;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
}

.class-card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.class-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.class-detail-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.class-detail-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e293b;
}

.class-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(248, 250, 252, 0.6);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 700;
}

.stat-number.paid {
    color: #059669;
}

.stat-number.unpaid {
    color: #dc2626;
}

.stat-number.total {
    color: #3b82f6;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.class-card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-modern {
    flex: 1;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.btn-modern.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-modern.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Enterprise Data Table - VirtuClock Style */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: white;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.data-table th {
    background: #f3f4f6;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8125rem;
    color: #374151;
    border-bottom: 2px solid #d1d5db;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    font-size: 0.875rem;
    vertical-align: middle;
}

.data-table tr:hover {
    background: #f9fafb;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Improved table cell styling */
.data-table .class-date-cell {
    font-weight: 500;
    color: #6b7280;
}

.data-table .class-name-cell {
    font-weight: 600;
    color: #111827;
}

/* Mobile Table Responsiveness */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .table-container {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .data-table {
        min-width: 800px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .data-table th {
        font-size: 0.6875rem;
    }
}

.class-date-cell {
    font-weight: 500;
    color: #4a90a4;
}

.class-name-cell {
    font-weight: 600;
    color: #1f2937;
}

.stat-paid {
    color: #059669;
    font-weight: 500;
}

.stat-unpaid {
    color: #dc2626;
    font-weight: 500;
}

.btn-table {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: 6px;
    background: #4f46e5;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-table:hover {
    background: #4338ca;
    color: white;
}

/* Professional Stats Grid */
.dashboard .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.dashboard .value-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dashboard .value-item h4 {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    border: none;
    padding: 0;
}

.dashboard .value-item p {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1;
}

/* Calendar styles */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.calendar-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.calendar-filters select {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    font-size: 0.9rem;
    font-family: var(--font-sans);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

/* Remove old card styles that conflict */
.class-card:hover {
    box-shadow: none;
    transform: none;
}

.class-date {
    font-weight: 600;
    color: #4299e1;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.class-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a365d;
}

.class-details {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.class-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.stat-paid {
    color: #48bb78;
}

.stat-unpaid {
    color: #e53e3e;
}

/* Student management styles */
.student-list {
    margin-top: 2rem;
}

.student-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.student-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.student-info h5 {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: #1a365d;
}

.student-info p {
    font-size: 0.9rem;
    color: #4a5568;
}

.student-status {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-paid {
    background: #c6f6d5;
    color: #22543d;
}

.status-unpaid {
    background: #fed7d7;
    color: #742a2a;
}

/* Login form styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%);
    padding: 2rem;
}

.login-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a365d;
    font-weight: 700;
    font-size: 2rem;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: #f7fafc;
    font-weight: 600;
    color: #1a365d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tr:hover {
    background: #f7fafc;
}

tr:last-child td {
    border-bottom: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a5e 100%);
    color: white;
    padding: 2.5rem 0 1.5rem 0;
    margin-top: 3rem;
    width: 100%;
    clear: both;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    text-align: center;
    width: 100%;
}

.footer-logo {
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    align-items: center;
}

.footer-contact p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.footer-contact a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #f59e0b;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 1rem 0;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 4vw;
    }
    
    /* Old navbar styles removed - using Flowbite navbar */
    
    .hero {
        padding: 2rem 0;
        min-height: 40vh;
    }
    
    .section {
        padding: 1.5rem 0;
    }
    
    .partnership-section,
    .programs-section,
    .values-section,
    .schools-section,
    .parents-section,
    .contact-section,
    .reviews {
        padding: 1.5rem 0;
    }
    
    .feature-section,
    .schools-content,
    .parents-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partnership-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reviews {
        padding: 3rem 0;
    }
    
    .reviews h3 {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }
    
    .review-item {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .review-text::before {
        font-size: 3rem;
        top: -0.25rem;
        left: -0.5rem;
    }
    
    footer {
        padding: 2rem 0 1rem 0;
        margin-top: 2rem;
    }
    
    .footer-logo img {
        height: 35px;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
    
    .footer-contact p {
        font-size: 0.75rem;
    }
    
    footer .container {
        gap: 1rem;
    }
    
    .footer-logo {
        margin-bottom: 0.75rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .dashboard .container {
        max-width: 100%;
        padding: 0 0.75rem;
    }
    
    .dashboard .values-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .dashboard-header {
        padding: 0.5rem;
    }
    
    .dashboard-nav {
        gap: 0.25rem;
    }
    
    .dashboard-nav .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .data-table {
        font-size: 0.7rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.4rem 0.5rem;
    }
    
    .calendar-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .student-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .student-status {
        width: 100%;
        justify-content: space-between;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    /* Enhanced Dashboard Mobile Fixes */
    .dashboard {
        padding: 1rem 0;
    }
    
    .dashboard .container {
        padding: 0 1rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }
    
    .dashboard-nav {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .dashboard-nav .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    /* Mobile metrics grid */
    .dashboard .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .dashboard .value-item {
        padding: 1rem 0.75rem;
    }
    
    .dashboard .value-item h4 {
        font-size: 0.75rem;
        margin-bottom: 0.375rem;
    }
    
    .dashboard .value-item p {
        font-size: 1.5rem;
    }
    
    /* Mobile activity layout - stack vertically */
    .mobile-stack {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .login-form {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 1s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== ENTERPRISE DASHBOARD STYLES ===== */

/* Icon classes for consistent iconography */
.icon-user::before { content: "👤"; }
.icon-plus::before { content: "➕"; }
.icon-building::before { content: "🏢"; }
.icon-school::before { content: "🏫"; }
.icon-calendar-today::before { content: "📅"; }
.icon-calendar-week::before { content: "📊"; }
.icon-alert-circle::before { content: "⚠️"; }
.icon-exclamation::before { content: "❗"; }
.icon-clock::before { content: "⏰"; }
.icon-calendar::before { content: "📆"; }
.icon-chevron-left::before { content: "‹"; }
.icon-chevron-right::before { content: "›"; }
.icon-users::before { content: "👥"; }
.icon-search::before { content: "🔍"; }
.icon-eye::before { content: "👁️"; }
.icon-edit::before { content: "✏️"; }

/* Enterprise Dashboard Container */
.enterprise-dashboard {
    background: #f8fafc;
    min-height: 100vh;
    padding: 2rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Dashboard Header Section */
.dashboard-header-section {
    margin-bottom: 1rem;
}



.header-left {
    flex: 1;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.025em;
}

.dashboard-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Enterprise Button Styles */
.btn-enterprise {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.025em;
}

.btn-enterprise.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-enterprise.primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-enterprise.secondary {
    background: white;
    color: #374151;
    border: 2px solid #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-enterprise.secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-enterprise.small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.btn-enterprise.small svg {
    width: 14px;
    height: 14px;
}

.btn-enterprise.full-width {
    width: 100%;
    justify-content: center;
}

/* School Selector Section */
.school-selector-section {
    margin-bottom: 2rem;
}

.card-enterprise {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0.25rem 0 0 0;
    font-weight: 400;
}

.school-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* .school-icon removed - using Tailwind classes */

/* .school-info styles removed - using Tailwind classes */

/* .school-stats removed - using Tailwind classes */

.stat-item {
    font-size: 0.75rem;
    color: #0078d4;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    border: 1px solid #bfdbfe;
    flex: 1;
    min-width: 0;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* .payment-type-badge styles removed - using Tailwind classes */

.stat-item:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.2);
}

.clickable-stat {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.clickable-stat:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4) !important;
}

.clickable-stat:hover .stat-number,
.clickable-stat:hover .stat-label {
    color: white !important;
}

.stat-arrow {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.2s ease;
}

.clickable-stat:hover .stat-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(2px);
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0078d4;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.btn-mini.primary {
    background: #3b82f6;
    color: white;
}

.btn-mini.primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Dashboard Layout - Modern Grid System */
.dashboard-container {
    min-height: 100vh;
    background: #f9fafb;
    padding-top: 0;
}

.dashboard-container .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Dashboard Grid for Half-Width Sections */
.dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Responsive Dashboard Layout */
@media (max-width: 1024px) {
    .dashboard-actions {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .dashboard-container .container {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .dashboard-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .dashboard-overview {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .dashboard-actions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .dashboard-container .container {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .dashboard-row {
        gap: 0.5rem;
    }
    
    .dashboard-actions {
        gap: 0.5rem;
    }
    
    .action-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .action-icon {
        width: 40px;
        height: 40px;
    }
}

.dashboard-section {
    width: 100%;
}

.dashboard-section.half-width {
    /* Handled by parent grid */
}

.dashboard-section.full-width {
    /* Already full width by default */
}

/* Page Header Styles */
.page-header {
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumb-link {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #1e40af;
}

.breadcrumb svg {
    color: #9ca3af;
    flex-shrink: 0;
}

.page-title-section {
    /* Styling for page titles */
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.page-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* New Dashboard Overview Layout */
.dashboard-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.overview-card {
    min-height: 200px;
}

.overview-card .card-content {
    min-height: 120px;
}

.classes-summary,
.payment-alerts-summary {
    padding: 1rem;
}

/* Unified Dashboard Cards Styling */
.dashboard-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.summary-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.summary-stat {
    flex: 0 0 auto;
    min-width: 120px;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-weight: 500;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.summary-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.item-time {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 0.375rem 0.75rem;
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 1rem;
    white-space: nowrap;
}

.item-main {
    display: flex;
    align-items: center;
    flex: 1;
}

.item-details {
    flex: 1;
}

.item-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    min-width: 120px;
}

.item-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.item-school {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.125rem;
}

.item-coach {
    font-size: 0.75rem;
    color: #059669;
    font-weight: 500;
}

.item-teacher {
    font-size: 0.75rem;
    color: #9ca3af;
}

.item-capacity {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.item-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.item-status.parent-paid {
    background: #fef3c7;
    color: #92400e;
}

.item-status.school-paid {
    background: #dbeafe;
    color: #1e40af;
}

.item-amount {
    font-weight: 600;
    color: #dc2626;
    font-size: 0.875rem;
}

.summary-more {
    padding: 0.75rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
}

/* Toggle/Filter Controls */
.summary-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-toggle {
    display: flex;
    background: #f3f4f6;
    border-radius: 6px;
    padding: 0.125rem;
}

.toggle-option {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

.toggle-option.active {
    background: white;
    color: #1f2937;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Dashboard Action Cards */
.dashboard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.action-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.action-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.action-icon,
.action-icon-payments {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.action-icon {
    background: #3b82f6;
}

.action-icon-payments {
    background: #059669;
}

.action-content {
    flex: 1;
}

.action-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.0rem;
    font-weight: 600;
    color: #1f2937;
}

.action-content p {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.action-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all 0.2s ease;
    width: fit-content;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.action-badge.pending {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
    border: 1px solid #f87171;
}

.action-badge.pending.zero {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #059669;
    border: 1px solid #bbf7d0;
}

.action-badge.outstanding {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
    border: 1px solid #f87171;
}

.action-badge.outstanding.zero {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #059669;
    border: 1px solid #bbf7d0;
}

.action-badge.students {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0284c7;
    border: 1px solid #38bdf8;
}

.action-badge-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.action-arrow {
    color: #9ca3af;
    flex-shrink: 0;
}

.action-card:hover .action-arrow {
    color: #3b82f6;
    transform: translateX(2px);
}

/* Dashboard Summary Components */

.summary-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.summary-stat .stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid #3b82f6;
}

.summary-item .item-time {
    font-weight: 600;
    color: #3b82f6;
    font-size: 0.875rem;
    min-width: 60px;
}

.summary-item .item-details {
    flex: 1;
    margin-left: 0.75rem;
}

.summary-item .item-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
}

.summary-item .item-school {
    font-size: 0.75rem;
    color: #6b7280;
}

.summary-item .item-amount {
    font-weight: 600;
    color: #dc2626;
    font-size: 0.875rem;
}

.summary-more {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
    padding: 0.5rem;
}

.summary-message {
    text-align: center;
    padding: 1rem;
    color: #6b7280;
    font-style: italic;
}

/* Toggle Switches */
.view-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.toggle-switch.active {
    background: #3b82f6;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    user-select: none;
    cursor: pointer;
}

.toggle-label.active {
    color: #111827;
    font-weight: 600;
}

/* Today's Classes */
.today-classes-content {
    padding: 2rem;
}

.classes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.class-summary-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.class-summary-card:hover {
    background: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Removed - using unified .class-time style below */

.class-details {
    flex: 1;
}

.class-details h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.class-school {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0 0 0.25rem 0;
}

.class-teacher {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
}

.class-metrics {
    display: flex;
    gap: 0.5rem;
}

.metric {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.metric.paid {
    background: #d1fae5;
    color: #065f46;
}

.metric.unpaid {
    background: #fee2e2;
    color: #991b1b;
}

/* Weekly Overview */
.weekly-overview {
    padding: 2rem;
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.day-column {
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.day-header {
    background: #374151;
    color: white;
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.day-classes {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 120px;
}

.mini-class-card {
    background: white;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    font-size: 0.75rem;
}

.mini-class-card .time {
    font-weight: 700;
    color: #3b82f6;
    display: block;
}

.mini-class-card .name {
    color: #374151;
    font-weight: 500;
}

/* Payment Alerts */
.payment-alerts {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-alerts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid;
}

.alert-item.urgent {
    background: #fef2f2;
    border-color: #fecaca;
}

.alert-item.warning {
    background: #fffbeb;
    border-color: #fed7aa;
}

.alert-item.info {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.alert-item.urgent .alert-icon {
    background: #fee2e2;
    color: #dc2626;
}

.alert-item.warning .alert-icon {
    background: #fef3c7;
    color: #d97706;
}

.alert-item.info .alert-icon {
    background: #dbeafe;
    color: #2563eb;
}

.alert-content {
    flex: 1;
}

.alert-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.alert-content p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.alert-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.card-actions {
    padding: 0 2rem 2rem 2rem;
}

/* Calendar Styles */
.calendar-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-calendar {
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-calendar:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.calendar-month {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    min-width: 150px;
    text-align: center;
}

.calendar-container {
    padding: 2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

/* Students Directory */
.search-controls {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.search-input-container {
    position: relative;
    width: 100%;
}

.search-input-container svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 1;
    pointer-events: none;
}

.search-input-container input {
    padding-left: 2.5rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-controls {
    display: flex;
    gap: 0.5rem;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Enterprise Table */
.students-table-container {
    padding: 2rem;
    overflow-x: auto;
}

.enterprise-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.enterprise-table th {
    background: #f9fafb;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.enterprise-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
    color: #111827;
    vertical-align: middle;
}

.enterprise-table tr:hover {
    background: #f9fafb;
}

.enterprise-table tr:last-child td {
    border-bottom: none;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.student-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.student-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
}

.student-grade {
    font-size: 0.75rem;
    color: #6b7280;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.paid {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.unpaid {
    background: #fee2e2;
    color: #991b1b;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-table-action {
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-table-action:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .week-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .school-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .enterprise-dashboard {
        padding: 1rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1.5rem;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }
    
    .search-controls {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .search-input-container {
        width: 100%;
    }
    
    .filter-controls {
        justify-content: stretch;
    }
    
    .filter-select {
        flex: 1;
    }
    
    .week-grid {
        grid-template-columns: 1fr;
    }
    
    .class-summary-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .class-time {
        min-width: auto;
    }
    
    .class-metrics {
        justify-content: center;
    }
    
    .students-table-container {
        padding: 0.75rem;
        margin: 0;
        overflow-x: auto;
    }
    
    .enterprise-table {
        min-width: 700px;
        font-size: 0.875rem;
    }
    
    .enterprise-table th,
    .enterprise-table td {
        padding: 0.5rem 0.25rem;
    }
    
    /* School responsive styles removed - using Tailwind classes */
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .dashboard-title {
        font-size: 1.5rem;
    }
    
    .card-enterprise {
        border-radius: 8px;
    }
    
    .enterprise-table th,
    .enterprise-table td {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
}

/* Additional Enterprise Dashboard Styles */
.no-classes {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-style: italic;
    background: #f9fafb;
    border-radius: 8px;
    border: 2px dashed #d1d5db;
}

.no-classes-day {
    text-align: center;
    padding: 1rem 0.5rem;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

.class-instructor {
    font-size: 0.75rem;
    color: #059669;
    margin: 0;
    font-weight: 500;
}

/* Loading states */
.loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Enhanced hover effects removed - using Tailwind classes */

/* Removed - using unified hover style below */

/* Status indicators */
.dashboard-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.dashboard-status.online {
    background: #10b981;
}

.dashboard-status.offline {
    background: #ef4444;
}

.dashboard-status.pending {
    background: #f59e0b;
}

/* Improved alert styling */
.alert-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

/* Better calendar day styling */
.calendar-day.has-classes {
    border-color: #3b82f6 !important;
    background: #f0f9ff !important;
}

.calendar-day.has-classes:hover {
    background: #dbeafe !important;
}

/* Professional table row selection */
.enterprise-table tr.selected {
    background: #eff6ff !important;
    border-left: 4px solid #3b82f6;
}

/* Improved search input styling */
.search-input:not(:placeholder-shown) {
    background: #f0f9ff;
    border-color: #3b82f6;
}

/* Enhanced button hover states */
.btn-enterprise:active {
    transform: translateY(0) !important;
}

.btn-mini:active {
    transform: translateY(0) !important;
}

/* Progress indicators */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

/* School Overview Page Styles */
.school-overview-container {
    background: #f8fafc;
    min-height: 100vh;
    padding: 2rem 0;
}

.school-overview-header {
    background: white;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.school-overview-header .header-content {
    padding: 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #3b82f6;
}

.breadcrumb-separator {
    color: #d1d5db;
}

.breadcrumb-current {
    color: #111827;
    font-weight: 500;
}

.school-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.school-address {
    color: #6b7280;
    font-size: 1rem;
    margin: 0 0 1rem 0;
}

.payment-type-indicator {
    margin-top: 0.5rem;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-badge.parent-paid {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0078d4;
    border: 1px solid #bfdbfe;
}

.payment-badge.school-paid {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #059669;
    border: 1px solid #bbf7d0;
}

/* .school-stats-summary removed - using Tailwind classes */

.stat-summary {
    text-align: center;
}

.stat-summary .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
}

.overview-section {
    margin-bottom: 2rem;
}

/* Classes Grid */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.class-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.class-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.class-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.class-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}

.class-actions {
    display: flex;
    gap: 0.5rem;
}

.class-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.class-grade,
.class-schedule,
.class-instructor {
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.class-grade {
    color: #059669;
    font-weight: 600;
}

.class-schedule {
    color: #6b7280;
}

.class-instructor {
    color: #3b82f6;
    font-weight: 500;
}

.class-stats {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.stat-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: #dcfce7;
    color: #059669;
}

.status-badge.inactive {
    background: #fee2e2;
    color: #dc2626;
}

.status-badge.paid {
    background: #dcfce7;
    color: #059669;
}

.status-badge.unpaid {
    background: #fef3c7;
    color: #d97706;
}

/* Students Table Enhancements */
.students-container {
    padding: 0;
}

.students-table-container {
    overflow-x: auto;
}

.student-info {
    display: flex;
    flex-direction: column;
}

.student-info strong {
    font-weight: 600;
    color: #111827;
}

.student-info small {
    color: #6b7280;
    font-size: 0.8rem;
}

.classes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.class-tag {
    background: #e0f2fe;
    color: #0078d4;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Loading and Empty States */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #6b7280;
}

.loading-state svg {
    margin-bottom: 1rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #6b7280;
    text-align: center;
}

.empty-state .btn-enterprise {
    margin-top: 1rem;
}

.loading-cell,
.empty-cell,
.error-cell {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.error-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #dc2626;
    background: #fef2f2;
    border-radius: 8px;
    margin: 1.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Multi-select styling */
.form-group select[multiple] {
    min-height: 120px;
    padding: 0.5rem;
}

.form-group select[multiple] option {
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 2px;
}

.form-group select[multiple] option:checked {
    background: #3b82f6;
    color: white;
}

/* Form help text */
.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

/* School card structure */
.school-header {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.school-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.school-name {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

/* .school-card-actions removed - using Tailwind classes */

.school-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

/* School actions dropdown menu */
.school-actions-dropdown {
    position: relative;
}

.school-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

.school-menu-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f8fafc;
}

.school-actions-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    min-width: 160px;
    display: none;
    overflow: hidden;
}

.school-actions-menu button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    text-align: left;
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.school-actions-menu button:hover {
    background: #f3f4f6;
}

.school-actions-menu button.danger {
    color: #dc2626;
}

.school-actions-menu button.danger:hover {
    background: #fef2f2;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.empty-state svg {
    margin: 0 auto 1rem;
    color: #9ca3af;
}

.empty-state h4 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
}

.empty-state p {
    margin: 0 0 1.5rem;
    font-size: 0.875rem;
}

.error-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #dc2626;
    background: #fef2f2;
    border-radius: 8px;
    margin: 1rem;
}

.loading-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #6b7280;
}

.loading-state svg {
    margin: 0 auto 1rem;
}

/* Enhanced school card styles */
/* School card styles removed - now using Tailwind classes */

/* Enrollment selection styles */
.student-selection-list,
.class-selection-list {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 1rem;
}

.selection-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.selection-item:hover {
    border-color: #3b82f6;
    background: #f8fafc;
    transform: translateX(4px);
}

.selection-content {
    flex: 1;
}

.selection-content h5 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.selection-content p {
    margin: 0 0 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.selection-content small {
    font-size: 0.75rem;
    color: #9ca3af;
}

.selection-action {
    color: #6b7280;
    transition: color 0.2s ease;
}

.selection-item:hover .selection-action {
    color: #3b82f6;
}

.no-options {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-style: italic;
}

.enrollment-summary {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3b82f6;
}

.enrollment-summary p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
}

/* Enrollment tabs */
.enrollment-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.tab-button:hover {
    color: #3b82f6;
    background: #f8fafc;
}

.tab-button.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: #f8fafc;
}

.tab-content {
    margin-top: 1rem;
}

/* Enhanced form styling for inline enrollment */
#newStudentView .form-group {
    margin-bottom: 1rem;
}

#newStudentView label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

#newStudentView input,
#newStudentView select {
    padding: 0.6rem;
    font-size: 0.875rem;
}

/* Unified Dashboard Cards - School Quick Access Style */
.class-summary-card {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.class-summary-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
    background: white;
}

.class-summary-card:hover .class-time {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.class-time {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 48px;
    background: #f3f4f6;
    color: #3b82f6;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
    flex-shrink: 0;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.class-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.class-details h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.class-school,
.class-teacher,
.class-ages {
    margin: 0 0 0.25rem 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.class-metrics {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.metric {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all 0.2s ease;
    width: fit-content;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    white-space: nowrap;
}

.metric.enrolled {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.metric.duration {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Payment alert items */
.payment-alert-item {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid #ef4444;
}

.payment-alert-item:hover {
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.15);
    background: white;
}

.alert-icon {
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.alert-details {
    flex: 1;
}

.alert-details .student-name {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: #111827;
}

.alert-details .class-info,
.alert-details .parent-contact {
    margin: 0 0 0.125rem 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.alert-actions {
    margin-left: 0.75rem;
}

/* Student directory styling */
.class-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 4px;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.no-classes-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 4px;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-badge.paid {
    background: #d1fae5;
    color: #047857;
}

.status-badge.unpaid {
    background: #fecaca;
    color: #dc2626;
}

.status-badge.partial {
    background: #fef3c7;
    color: #d97706;
}

.status-badge.no {
    background: #f3f4f6;
    color: #6b7280;
}

.student-name {
    font-weight: 600;
    color: #111827;
}

.student-grade {
    font-size: 0.875rem;
    color: #6b7280;
}

.table-actions {
    display: flex;
    gap: 0.25rem;
}

/* Loading and empty states */
.no-classes,
.no-alerts {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-style: italic;
}

/* Button Enhancements */
.btn-table-action.danger {
    color: #dc2626;
}

.btn-table-action.danger:hover {
    background: #fef2f2;
    color: #991b1b;
}

/* Search Controls in Header */
.header-right .search-controls {
    margin-right: 1rem;
}

.header-right .search-controls .search-input-container {
    min-width: 250px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .school-overview-header .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
    }
    
    /* .school-stats-summary media query removed - using Tailwind classes */
    
    .classes-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .class-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .class-actions {
        justify-content: flex-end;
    }
    
    .header-right {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-right .search-controls .search-input-container {
        min-width: auto;
        width: 100%;
    }
    
    .modal-content {
        margin: 1rem;
        max-width: none;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
    transition: width 0.3s ease;
}

/* Notification badges */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.125rem 0.25rem;
    border-radius: 6px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Improved mobile responsiveness */
@media (max-width: 640px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-enterprise {
        margin: 0 -0.5rem;
        border-radius: 8px;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    .btn-enterprise {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .dashboard-title {
        font-size: 1.25rem;
    }
    
    .school-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .item-main {
        width: 100%;
    }
    
    .item-meta {
        align-items: flex-start;
        flex-direction: row;
        gap: 1rem;
        min-width: auto;
        width: 100%;
    }
}

/* ===================================
   PARENT REGISTRATION SYSTEM
   =================================== */

/* Registration Container */
.registration-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Intro Message */
.intro-message {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.intro-message h2 {
    color: #1f2937;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.intro-message p {
    margin: 0 0 1rem 0;
}

.intro-message p:last-child {
    margin-bottom: 0;
}

.intro-message span {
    font-weight: 600;
    color: #3b82f6;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

/* Photo Consent Options - New Simple Implementation */
.photo-consent-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.consent-option {
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.consent-option:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.consent-option input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    margin-top: 0.125rem;
    flex-shrink: 0;
    cursor: pointer;
}

.consent-option input[type="radio"]:checked {
    accent-color: #3b82f6;
}

.consent-option:has(input[type="radio"]:checked) {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.consent-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.consent-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

.consent-description {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
    font-weight: 400;
}

/* Legacy Radio Group for Payment Options */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
}

.radio-option:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    margin-top: 0.125rem;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked {
    border-color: #3b82f6;
    background: white;
}

.radio-option input[type="radio"]:checked::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-option input[type="radio"]:hover {
    border-color: #3b82f6;
}

.radio-option input[type="radio"]:checked ~ * {
    color: #1f2937;
}

.radio-option:has(input[type="radio"]:checked),
.radio-option.selected {
    border-color: #3b82f6 !important;
    background: #eff6ff !important;
}

.radio-option .radio-text {
    flex: 1;
}

.radio-option strong {
    font-weight: 600;
    margin-right: 0.25rem;
}

/* School Paid Notice */
.school-paid-notice {
    background: #f0f9ff;
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.school-paid-notice .notice-content h5 {
    color: #0c4a6e;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.school-paid-notice .notice-content p {
    color: #0369a1;
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.school-paid-notice .notice-content p:last-child {
    margin-bottom: 0;
}

/* Registration Management Tabs */
.registration-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 0;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.tab-button:hover {
    color: #374151;
    background: #f9fafb;
}

.tab-button.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: #eff6ff;
}

.tab-button svg {
    flex-shrink: 0;
}

.tab-content {
    display: none;
    min-height: 300px;
}

.tab-content.active {
    display: block;
}

/* Registration Queue */
.registration-queue {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.registration-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    background: white;
    transition: all 0.2s ease;
}

.registration-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.registration-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.registration-info {
    flex: 1;
}

.student-info h4 {
    margin: 0 0 0.25rem 0;
    color: #1f2937;
    font-size: 1.125rem;
    font-weight: 600;
}

.student-meta {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.registration-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.status-badge.approved {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.status-badge.rejected {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.registration-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.detail-value {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.registration-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: flex-end;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn.approve {
    background: #10b981;
    color: white;
}

.action-btn.approve:hover {
    background: #059669;
}

.action-btn.reject {
    background: #ef4444;
    color: white;
}

.action-btn.reject:hover {
    background: #dc2626;
}

.action-btn.view {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

.action-btn.view:hover {
    background: #e5e7eb;
}

/* Document Management */
.document-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    background: white;
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.document-title {
    font-weight: 600;
    color: #1f2937;
}

.document-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
}

/* Payment Tracking */
.payment-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-stat {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: .875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.payment-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
}

.payment-info {
    flex: 1;
}

.payment-student {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.payment-details {
    font-size: 0.875rem;
    color: #6b7280;
}

.payment-amount {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ef4444;
}

/* Manual Payment Entry */
.payment-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Payment Options */
.payment-options {
    margin: 1.5rem 0;
}

.payment-options h5 {
    margin: 0 0 1rem 0;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
}

.option-help {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Pricing Info */
.pricing-info {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    font-weight: 500;
    color: #374151;
}

.price-amount {
    font-weight: 600;
    color: #1f2937;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    background: #f8fafc;
    padding: 2rem 1rem;
    justify-content: space-between;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.step.active:not(:last-child)::after,
.step.completed:not(:last-child)::after {
    background: #3b82f6;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #3b82f6;
    color: white;
}

.step.completed .step-number {
    background: #10b981;
    color: white;
}

.step-title {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
}

.step.active .step-title {
    color: #3b82f6;
    font-weight: 600;
}

.step.completed .step-title {
    color: #10b981;
    font-weight: 600;
}

/* Form Steps */
.registration-form {
    padding: 0;
}

.form-step {
    display: none;
    padding: 2rem;
    min-height: 500px;
}

.form-step.active {
    display: block;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    color: #111827;
    font-size: 1.5rem;
    font-weight: 600;
}

.step-content > p {
    margin: 0 0 2rem 0;
    color: #6b7280;
    font-size: 1rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
}

.form-section h4 {
    margin: 0 0 1rem 0;
    color: #374151;
    font-size: 1.125rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.registration-form .form-group {
    margin-bottom: 1.5rem;
}

.registration-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.registration-form .form-group input,
.registration-form .form-group select,
.registration-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: .8rem;
    transition: border-color 0.2s ease;
    background: white;
}

.registration-form .form-group input:focus,
.registration-form .form-group select:focus,
.registration-form .form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.registration-form .form-help {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

/* Class Details Card */
.class-details-card {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.class-info h4 {
    margin: 0 0 1rem 0;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
}

.class-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.meta-item span:last-child {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.pricing-info {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    transition: all 0.2s ease;
}

.pricing-info:hover {
    background: #f1f5f9;
    border-color: #d1d5db;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.price-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
}

.price-label {
    color: #6b7280;
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: normal;
}

.price-amount {
    color: #374151;
    font-weight: 500;
    font-size: 1rem;
}

.school-paid-text {
    color: #6b7280;
    font-weight: 400;
    font-size: 0.875rem;
    font-style: italic;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    border: 1px solid transparent;
}

.price-badge.parent-paid {
    background: #fef9f3;
    color: #b45309;
    border-color: #fed7aa;
}

.price-badge.school-paid {
    background: #f0f9ff;
    color: #0369a1;
    border-color: #bae6fd;
}

.price-badge svg {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

/* School paid notice styling */
.school-paid-notice {
    color: #6b7280;
    font-style: italic;
}

/* Payment type badges using dashboard metric style */
.metric.payment-type {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #f59e0b;
}

.metric.school-badge {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border: 1px solid #3b82f6;
}

/* Registration Summary */
.registration-summary {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.registration-summary h4 {
    margin: 0 0 1rem 0;
    color: #111827;
    font-size: 1.125rem;
    font-weight: 600;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.summary-value {
    font-size: 0.875rem;
    color: #111827;
    font-weight: 600;
}

/* Waiver Section */
.waiver-section {
    margin-bottom: 2rem;
}

.waiver-section h4 {
    margin: 0 0 1rem 0;
    color: #111827;
    font-size: 1.125rem;
    font-weight: 600;
}

.waiver-content {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #374151;
}

.waiver-content h2,
.waiver-content h3 {
    color: #111827;
    margin: 1rem 0 0.5rem 0;
}

.waiver-content h2 {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 1rem;
}

.waiver-content h3 {
    font-size: 1rem;
    font-weight: 600;
}

.waiver-content p {
    margin-bottom: 1rem;
}

.signature-section {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.signature-section .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.signature-section input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    gap: 1rem;
}

.form-navigation .btn {
    min-width: 120px;
}

/* Success Modal */
.registration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.registration-modal .modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.registration-modal .modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.registration-modal .modal-header h3 {
    margin: 0;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
}

.registration-modal .modal-body {
    padding: 1.5rem 2rem;
}

.registration-modal .modal-footer {
    padding: 1rem 2rem 2rem 2rem;
    text-align: center;
}

.success-message {
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message h4 {
    margin: 0 0 1rem 0;
    color: #10b981;
    font-size: 1.25rem;
    font-weight: 600;
}

.success-message p {
    margin-bottom: 1.5rem;
    color: #6b7280;
    line-height: 1.6;
}

.next-steps {
    text-align: left;
    background: #f0fdf4;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #d1fae5;
}

.next-steps h5 {
    margin: 0 0 1rem 0;
    color: #065f46;
    font-size: 1rem;
    font-weight: 600;
}

.next-steps ol {
    margin: 0;
    padding-left: 1.25rem;
    color: #047857;
    line-height: 1.6;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

/* Responsive Design for Registration */
@media (max-width: 768px) {
    .registration-container {
        margin: 1rem;
        border-radius: 8px;
    }
    
    .step-indicator {
        padding: 1rem 0.5rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .step {
        flex-basis: calc(50% - 0.5rem);
    }
    
    .step:nth-child(2)::after,
    .step:nth-child(4)::after {
        display: none;
    }
    
    .step-title {
        font-size: 0.75rem;
    }
    
    .form-step {
        padding: 1.5rem 1rem;
        min-height: 400px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .class-meta {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        padding: 1rem;
        flex-direction: column-reverse;
        gap: 1rem;
    }
    
    .form-navigation .btn {
        width: 100%;
    }
    
    .registration-modal .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
}

@media (max-width: 480px) {
    .step-indicator {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step {
        flex-direction: row;
        flex-basis: auto;
        gap: 1rem;
    }
    
    .step::after {
        display: none;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .step-title {
        text-align: left;
        font-size: 0.875rem;
    }
}

/* Stripe Payment Element Styling */
.stripe-payment-container {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-top: 1.5rem;
}

.payment-header {
    background: #f8fafc;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.payment-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 0.25rem 0;
}

.payment-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.payment-content {
    padding: 2rem;
}

.billing-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.payment-element-wrapper {
    margin: 1.5rem 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.stripe-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    transition: all 0.2s;
}

.stripe-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.stripe-input::placeholder {
    color: #9ca3af;
}

/* Payment Element Styling */
#payment-element {
    margin: 1rem 0;
}

/* Payment Element Error Styling Override */
#payment-errors {
    margin-top: 1rem;
}

/* Error and Processing States */
.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

#payment-processing.processing-indicator {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.processing-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.processing-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.75rem;
}

.processing-text {
    font-size: 0.875rem;
    color: #1e40af;
    font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 640px) {
    .payment-content {
        padding: 1.5rem;
    }
    
    .payment-header {
        padding: 1rem 1.5rem;
    }
    
    .card-info-section {
        padding: 1rem;
    }
    
    .card-icons {
        right: 0.5rem;
    }
    
    .accepted-cards {
        flex-wrap: wrap;
    }
}

/* Mobile Responsive Styles for Employee Pages */
@media (max-width: 768px) {
    /* Employee Dashboard Mobile Styles */
    
    /* Hide Coach and Students text in Today's Classes section, keep only icons */
    .mobile-hide-coach-students {
        display: none !important;
    }
    
    /* Reduce Take Attendance button to icon only */
    .mobile-attendance-icon-only .mobile-hide-text {
        display: none !important;
    }
    
    .mobile-attendance-icon-only {
        padding: 0.375rem 0.5rem !important;
        min-width: auto !important;
    }
    
    /* School Overview Mobile Styles */
    
    /* Hide class/student stats under Classes Management title */
    .mobile-hide-class-stats {
        display: none !important;
    }
    
    /* Resize Add Class button to icon style */
    .mobile-add-class-icon {
        padding: 0.5rem !important;
        font-size: 0 !important;
        width: 2.25rem !important;
        height: 2.25rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 2.25rem !important;
    }
    
    .mobile-add-class-icon .mobile-hide-text {
        display: none !important;
    }
    
    .mobile-add-class-icon svg {
        margin: 0 !important;
        width: 1rem !important;
        height: 1rem !important;
    }
    
    /* Force cards view as default on mobile - hide table view button */
    .mobile-force-cards .mobile-list-view {
        display: none !important;
    }
    
    /* Hide table view toggle on mobile */
    .mobile-hide-table-toggle {
        display: none !important;
    }
    
    /* Series Detail Mobile Styles */
    
    /* Simplify session schedule table - hide Location and Coach columns */
    .mobile-hide-session-columns {
        display: none !important;
    }
    
    /* Registration Management Mobile Styles */
    
    /* Hide Pending Approval stats at top on mobile */
    .mobile-hide-pending-stats {
        display: none !important;
    }
    
    /* Stack search and filters vertically */
    .mobile-stack-filters {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .mobile-stack-filters .flex-1 {
        flex: none !important;
        width: 100% !important;
    }
    
    .mobile-stack-filters select {
        width: 100% !important;
    }
    
    /* Mobile table responsiveness - enable horizontal scrolling */
    .registration-table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Compact table cells on mobile */
    .registration-table-container table td,
    .registration-table-container table th {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Make action buttons stack vertically on small screens */
    .registration-table-container .flex.space-x-2 {
        flex-direction: column !important;
        gap: 0.25rem !important;
        align-items: stretch !important;
    }
    
    .registration-table-container .flex.space-x-2 button {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.5rem !important;
        justify-content: center !important;
    }
}