/* ============================================================================
   Student Demo - Specific Overrides
   
   This file contains styles specific only to the Student demo.
   Keep this file minimal - most styles should be in design-system.css
   ============================================================================ */

/* Browse Classes CTA Button in Header */
[data-demo="student"] .browse-classes-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.25);
    margin-right: 3rem; /* Add spacing between button and notification bell */
}

[data-demo="student"] .browse-classes-cta:hover {
    background: linear-gradient(135deg, #FF7A00 0%, #FF5500 100%);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.35);
    transform: translateY(-1px);
}

[data-demo="student"] .browse-classes-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 140, 0, 0.3);
}

[data-demo="student"] .browse-classes-cta svg {
    stroke-width: 2.5;
}

/* Mobile: Make button more compact */
@media (max-width: 768px) {
    [data-demo="student"] .browse-classes-cta {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        margin-right: 1rem; /* Reduce margin on mobile */
    }
    
    [data-demo="student"] .browse-classes-cta span {
        display: none;
    }
    
    [data-demo="student"] .browse-classes-cta svg {
        margin: 0;
    }
    
    /* Keep notification bell visible on mobile for student */
    [data-demo="student"] .header-nav {
        display: flex !important;
        gap: 1rem !important; /* Reduce gap on mobile */
    }
}

/* Header User Indicator */
[data-demo="student"] .header-nav {
    display: flex;
    align-items: center;
    gap: 3rem; /* Increased spacing between browse button and notification bell */
}

[data-demo="student"] .notification-bell {
    position: relative;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

[data-demo="student"] .notification-bell:hover {
    background: #F5F5F5;
    border-color: #FF8C00;
}

[data-demo="student"] .notification-bell svg {
    color: #666;
}

[data-demo="student"] .notification-bell:hover svg {
    color: #FF8C00;
}

[data-demo="student"] .notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #DC2626;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Notification Dropdown */
[data-demo="student"] .notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    width: 360px;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

[data-demo="student"] .notification-header {
    padding: 1rem;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-demo="student"] .notification-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

[data-demo="student"] .notification-item {
    padding: 1rem;
    border-bottom: 1px solid #F5F5F5;
    cursor: pointer;
    transition: background 0.2s;
}

[data-demo="student"] .notification-item:hover {
    background: #F9F9F9;
}

[data-demo="student"] .notification-item.unread {
    background: #FFF8F0;
}

[data-demo="student"] .notification-item-header {
    display: flex;
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 0.5rem;
}

[data-demo="student"] .notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-demo="student"] .notification-icon.warning {
    background: #FEF2F2;
    color: #DC2626;
}

[data-demo="student"] .notification-icon.info {
    background: #EFF6FF;
    color: #3B82F6;
}

[data-demo="student"] .notification-icon.success {
    background: #F0FDF4;
    color: #10B981;
}

[data-demo="student"] .notification-content {
    flex: 1;
}

[data-demo="student"] .notification-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #2C2C2C;
    margin-bottom: 0.25rem;
}

[data-demo="student"] .notification-text {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.4;
}

[data-demo="student"] .notification-time {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.25rem;
}

[data-demo="student"] .user-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

[data-demo="student"] .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F5E6D3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2C2C2C;
    font-weight: 700;
    font-size: 0.875rem;
    overflow: hidden;
    border: 2px solid #FF8C00;
}

[data-demo="student"] .user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[data-demo="student"] .user-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

[data-demo="student"] .user-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #FFF8F0;
}

[data-demo="student"] .user-role {
    font-size: 0.75rem;
    color: #FFF8F0;
    opacity: 0.9;
}

/* Dashboard Action Items */
[data-demo="student"] .action-items-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

[data-demo="student"] .action-item {
    background: #FFF8F0;
    border-left: 4px solid #FF8C00;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

[data-demo="student"] .action-item.warning {
    background: #FEF2F2;
    border-left-color: #DC2626;
}

[data-demo="student"] .action-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF8C00;
}

[data-demo="student"] .action-item.warning .action-item-icon {
    background: rgba(220, 38, 38, 0.1);
    color: #DC2626;
}

[data-demo="student"] .action-item-content {
    flex: 1;
}

[data-demo="student"] .action-item-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #2C2C2C;
    margin-bottom: 0.25rem;
}

[data-demo="student"] .action-item-text {
    font-size: 0.875rem;
    color: #666;
}

[data-demo="student"] .action-item-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #2C2C2C;
    cursor: pointer;
    transition: all 0.2s;
}

[data-demo="student"] .action-item-btn:hover {
    background: #F5F5F5;
    border-color: #D0D0D0;
}

/* Upcoming Classes List */
[data-demo="student"] .upcoming-classes-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

[data-demo="student"] .upcoming-class-item {
    padding: 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.2s;
}

[data-demo="student"] .upcoming-class-item:hover {
    border-color: #FF8C00;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.1);
}

[data-demo="student"] .upcoming-class-photo {
    width: 100px;
    height: 75px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

[data-demo="student"] .upcoming-class-date {
    flex-shrink: 0;
    text-align: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #FF8C00 0%, #D2691E 100%);
    border-radius: 8px;
    color: white;
}

[data-demo="student"] .upcoming-class-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

[data-demo="student"] .upcoming-class-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

[data-demo="student"] .upcoming-class-info {
    flex: 1;
}

[data-demo="student"] .upcoming-class-name {
    font-weight: 600;
    font-size: 1rem;
    color: #2C2C2C;
    margin-bottom: 0.25rem;
}

[data-demo="student"] .upcoming-class-details {
    font-size: 0.875rem;
    color: #666;
}

[data-demo="student"] .upcoming-class-instructor {
    color: #FF8C00;
    font-weight: 500;
}

/* Suggested Classes Grid */
[data-demo="student"] .suggested-classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

[data-demo="student"] .suggested-class-card {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

[data-demo="student"] .suggested-class-card:hover {
    border-color: #FF8C00;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.15);
    transform: translateY(-2px);
}

[data-demo="student"] .suggested-class-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

[data-demo="student"] .suggested-class-content {
    padding: 1rem;
}

[data-demo="student"] .suggested-class-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #2C2C2C;
    margin-bottom: 0.5rem;
}

[data-demo="student"] .suggested-class-meta {
    font-size: 0.875rem;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

[data-demo="student"] .text-link {
    color: #FF8C00;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}

[data-demo="student"] .text-link:hover {
    text-decoration: underline;
}

/* My Classes Photo Styling */
[data-demo="student"] .class-list-photo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

[data-demo="student"] .class-detail-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Class list items with status colors - use vibrant colors when active */
#classesList .student-list-item.active {
    border-width: 3px !important;
    border-style: solid !important;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.25);
    transform: translateY(-3px);
}

/* Active class with green status (confirmed/active) */
#classesList .student-list-item.active[style*="#BBF7D0"],
#classesList .student-list-item.active[style*="#bbf7d0"] {
    border-color: #22C55E !important;
    background: #F0FDF4 !important;
}

/* Active class with orange status (pending/soft-hold) */
#classesList .student-list-item.active[style*="#FDCFA6"],
#classesList .student-list-item.active[style*="#fdcfa6"] {
    border-color: #F97316 !important;
    background: #FFF8F0 !important;
}

/* Active class with blue status (competing) */
#classesList .student-list-item.active[style*="#BFDBFE"],
#classesList .student-list-item.active[style*="#bfdbfe"] {
    border-color: #3B82F6 !important;
    background: #F0F9FF !important;
}

/* Active class with gray status (default) */
#classesList .student-list-item.active[style*="#E0E0E0"],
#classesList .student-list-item.active[style*="#e0e0e0"] {
    border-color: #71717A !important;
    background: #FAFAFA !important;
}

/* Status badge overrides */
[data-demo="student"] .status-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

[data-demo="student"] .status-badge.active {
    background-color: #E8F5E9;
    color: #2E7D32;
}

[data-demo="student"] .status-badge.waiver-required {
    background-color: #FFEBEE;
    color: #C62828;
}

/* ============================================================================
   Browse Classes Section
   ============================================================================ */

[data-demo="student"] .browse-classes-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Browse Header */
[data-demo="student"] .browse-header {
    margin-bottom: 2rem;
}

[data-demo="student"] .browse-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
}

/* Search Bar */
[data-demo="student"] .browse-search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

[data-demo="student"] .search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

[data-demo="student"] .search-icon {
    position: absolute;
    left: 1rem;
    color: #999;
    pointer-events: none;
}

[data-demo="student"] .browse-search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    background: white;
}

[data-demo="student"] .browse-search-input:focus {
    outline: none;
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

[data-demo="student"] .filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}

[data-demo="student"] .filter-toggle-btn:hover {
    border-color: #FF8C00;
    background: #FFF8F0;
}

[data-demo="student"] .filter-count {
    background: #FF8C00;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.25rem;
}

/* Filter Panel */
[data-demo="student"] .browse-filters-panel {
    background: #F8F9FA;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-demo="student"] .filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

[data-demo="student"] .filter-group {
    display: flex;
    flex-direction: column;
}

[data-demo="student"] .filter-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 0.5rem;
}

[data-demo="student"] .filter-select {
    padding: 0.625rem;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    font-size: 0.9375rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

[data-demo="student"] .filter-select:focus {
    outline: none;
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

[data-demo="student"] .filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Quick Filters */
[data-demo="student"] .quick-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

[data-demo="student"] .quick-filter-tag {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

[data-demo="student"] .quick-filter-tag:hover {
    border-color: #FF8C00;
    background: #FFF8F0;
}

[data-demo="student"] .quick-filter-tag.active {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    color: white;
    border-color: #FF8C00;
}

[data-demo="student"] .quick-filter-tag.active svg {
    stroke: white;
}

/* Results Summary */
[data-demo="student"] .browse-results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #E0E0E0;
}

[data-demo="student"] .results-count {
    font-size: 0.9375rem;
    color: #666;
    margin: 0;
}

[data-demo="student"] .results-count strong {
    color: #333;
    font-weight: 700;
}

[data-demo="student"] .sort-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

[data-demo="student"] .sort-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
}

[data-demo="student"] .sort-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    appearance: none;
}

[data-demo="student"] .sort-select:focus {
    outline: none;
    border-color: #FF8C00;
}

/* Browse Classes Grid */
[data-demo="student"] .browse-classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Class Card */
[data-demo="student"] .browse-class-card {
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

[data-demo="student"] .browse-class-card:hover {
    border-color: #FF8C00;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

[data-demo="student"] .class-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

[data-demo="student"] .class-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

[data-demo="student"] .class-card-badge.popular {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
}

[data-demo="student"] .class-card-badge.new {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

[data-demo="student"] .class-card-badge.spots-filling {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    color: white;
}

[data-demo="student"] .class-card-content {
    padding: 1.25rem;
}

[data-demo="student"] .class-card-header {
    margin-bottom: 0.75rem;
}

[data-demo="student"] .class-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 0.375rem 0;
    line-height: 1.3;
}

[data-demo="student"] .class-card-instructor {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

[data-demo="student"] .class-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E0E0E0;
}

[data-demo="student"] .class-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

[data-demo="student"] .class-card-meta-item svg {
    color: #999;
    flex-shrink: 0;
}

[data-demo="student"] .class-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-demo="student"] .class-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2C2C2C;
}

[data-demo="student"] .class-card-price-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: #999;
    display: block;
}

[data-demo="student"] .class-card-actions {
    display: flex;
    gap: 0.5rem;
}

[data-demo="student"] .class-card-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #E0E0E0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

[data-demo="student"] .class-card-action-btn:hover {
    border-color: #FF8C00;
    background: #FFF8F0;
}

[data-demo="student"] .class-card-action-btn.saved {
    background: #FF8C00;
    border-color: #FF8C00;
}

[data-demo="student"] .class-card-action-btn.saved svg {
    fill: white;
    stroke: white;
}

/* Load More Button */
[data-demo="student"] .browse-load-more {
    text-align: center;
    padding: 2rem 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    [data-demo="student"] .browse-classes-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    [data-demo="student"] .browse-search-bar {
        flex-direction: column;
    }
    
    [data-demo="student"] .filter-toggle-btn {
        width: 100%;
        justify-content: center;
    }
    
    [data-demo="student"] .filters-grid {
        grid-template-columns: 1fr;
    }
    
    [data-demo="student"] .filter-actions {
        flex-direction: column-reverse;
    }
    
    [data-demo="student"] .filter-actions button {
        width: 100%;
    }
    
    [data-demo="student"] .browse-results-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    [data-demo="student"] .sort-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    [data-demo="student"] .sort-select {
        flex: 1;
    }
    
    [data-demo="student"] .browse-classes-grid {
        grid-template-columns: 1fr;
    }
    
    [data-demo="student"] .quick-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    [data-demo="student"] .quick-filter-tag {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    [data-demo="student"] .browse-header {
        margin-bottom: 1.5rem;
    }
    
    [data-demo="student"] .section-title-main {
        font-size: 1.75rem;
    }
    
    [data-demo="student"] .browse-subtitle {
        font-size: 0.9375rem;
    }
    
    [data-demo="student"] .class-card-image {
        height: 180px;
    }
}

/* ============================================================================
   Instructor Browse & Private Lessons
   ============================================================================ */

/* Instructor Detail Modal */
[data-demo="student"] .instructor-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

[data-demo="student"] .instructor-detail-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-demo="student"] .modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

[data-demo="student"] .modal-close-btn:hover {
    background: #F5F5F5;
    border-color: #FF8C00;
}

[data-demo="student"] .instructor-detail-header {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border-bottom: 2px solid #F5F5F5;
}

[data-demo="student"] .instructor-detail-photo {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid #FF8C00;
}

[data-demo="student"] .instructor-detail-info {
    flex: 1;
}

[data-demo="student"] #instructorDetailBody {
    padding: 2rem;
}

/* Private Lesson Wizard Modal */
[data-demo="student"] .private-lesson-wizard-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

[data-demo="student"] .wizard-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-demo="student"] .wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #F5F5F5;
}

[data-demo="student"] .wizard-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C2C2C;
}

/* Wizard Progress Steps */
[data-demo="student"] .wizard-progress {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: #F8F9FA;
    border-bottom: 2px solid #E0E0E0;
}

[data-demo="student"] .wizard-step-indicator {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

[data-demo="student"] .wizard-step-indicator:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: #E0E0E0;
    z-index: 0;
}

[data-demo="student"] .wizard-step-indicator.completed:not(:last-child)::after {
    background: #10B981;
}

[data-demo="student"] .wizard-step-indicator.active:not(:last-child)::after {
    background: linear-gradient(to right, #10B981 0%, #E0E0E0 100%);
}

[data-demo="student"] .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #999;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

[data-demo="student"] .wizard-step-indicator.active .step-number {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    border-color: #FF8C00;
    color: white;
}

[data-demo="student"] .wizard-step-indicator.completed .step-number {
    background: #10B981;
    border-color: #10B981;
    color: white;
}

[data-demo="student"] .step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #999;
    text-align: center;
}

[data-demo="student"] .wizard-step-indicator.active .step-label {
    color: #FF8C00;
}

[data-demo="student"] .wizard-step-indicator.completed .step-label {
    color: #10B981;
}

/* Wizard Body */
[data-demo="student"] .wizard-body {
    flex: 1;
    overflow-y: auto;
    min-height: 400px;
    max-height: calc(90vh - 250px);
}

/* Wizard Footer */
[data-demo="student"] .wizard-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 2px solid #F5F5F5;
}

/* Mobile Responsive for Modals */
@media (max-width: 768px) {
    [data-demo="student"] .instructor-detail-modal,
    [data-demo="student"] .private-lesson-wizard-modal {
        padding: 0;
        align-items: flex-start;
    }
    
    [data-demo="student"] .instructor-detail-content,
    [data-demo="student"] .wizard-modal-content {
        max-height: 100vh;
        border-radius: 0;
    }
    
    [data-demo="student"] .instructor-detail-header {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    [data-demo="student"] .instructor-detail-photo {
        width: 100%;
        height: 250px;
    }
    
    [data-demo="student"] #instructorDetailBody {
        padding: 1.5rem;
    }
    
    [data-demo="student"] .wizard-progress {
        padding: 1rem;
    }
    
    [data-demo="student"] .step-label {
        font-size: 0.75rem;
    }
    
    [data-demo="student"] .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    [data-demo="student"] .wizard-footer {
        flex-direction: column-reverse;
    }
    
    [data-demo="student"] .wizard-footer button {
        width: 100%;
    }
}


