/* Lingmersion Landing Page Styles */
/* Modern, responsive design with orange accent colors and clean typography */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Orange Theme */
    --primary: #f85d41;
    --primary-foreground: #ffffff;
    --primary-hover: #e54d2e;
    --secondary: #f1f5f9;
    --background: #ffffff;
    --foreground: #0f172a;
    --muted: #64748b;
    --muted-foreground: #94a3b8;
    --border: #e2e8f0;
    --card: #f8fafc;
    --card-foreground: #0f172a;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Base Styles */
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--spacing-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-8);
    }
}

/* Header */
.header {
    position: sticky;   /* was: fixed */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    height: 80px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-4) 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    text-decoration: none;
    color: var(--foreground);
}

.logo-link .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    font-size: var(--font-size-2xl);
}

.logo-img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

/* Logo text - Match auth-manager style */
.dashboard-header .logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f85d41;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
}

.nav-link {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.nav-item--mega {
    position: relative;
}

.mega-toggle {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    color: var(--foreground);
    padding: var(--spacing-2) var(--spacing-4);
}

.mega-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.mega-caret {
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.nav-item--mega.is-open .mega-caret {
    transform: rotate(-135deg);
}

.mega-menu {
    position: absolute;
    top: calc(100% + var(--spacing-2));
    left: 50%;
    transform: translateX(-50%);
    width: min(980px, 94vw);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-6);
    display: none;
    z-index: 999;
}

.nav-item--mega.is-open .mega-menu {
    display: block;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--spacing-4);
}

.mega-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-4);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
    min-height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mega-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mega-card-media {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mega-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.mega-card img.mega-card-image--passport {
    width: 192px;
    height: 192px;
    margin: 0 auto;
    transform: translateX(22px);
}

.mega-card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
}

.mega-card-body {
    min-height: 140px;
}

.mega-card-subtitle {
    font-size: var(--font-size-sm);
    color: var(--muted);
    margin: 0;
}

.mega-card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
    align-items: stretch;
}

.mega-menu .btn {
    padding: var(--spacing-2) var(--spacing-3);
    font-size: var(--font-size-sm);
    min-height: 40px;
    width: 100%;
    text-align: center;
}

.btn-disabled {
    background-color: var(--secondary);
    color: var(--muted);
    border: 1px solid var(--border);
    cursor: not-allowed;
    text-align: center;
}

.nav-cta {
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-weight: 600;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.language-select {
    padding: var(--spacing-2) var(--spacing-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--background);
    color: var(--foreground);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-select:hover {
    border-color: var(--primary);
    background-color: var(--secondary);
}

.language-select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: calc(var(--spacing-32) + 240px) 0 var(--spacing-24);
    margin-top: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(248, 93, 65, 0.05) 0%, var(--background) 50%, rgba(241, 245, 249, 0.1) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(241, 245, 249, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: calc(2rem + 80px);
}

.travel-icons-container {
    position: absolute;
    top: 60%;
    right: -120px;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .travel-icons-container {
        right: -50px;
    }
}

@media (max-width: 768px) {
    .travel-icons-container {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin-top: var(--spacing-8);
        display: flex;
        justify-content: center;
    }
}

/* Documents Page Styles */
.page-header {
    margin-bottom: var(--spacing-8);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-4);
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.documents-section {
    margin-bottom: var(--spacing-12);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-8);
}

.document-category {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-category:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.category-header {
    background: linear-gradient(135deg, var(--primary), #e55a4a);
    color: white;
    padding: var(--spacing-6);
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.category-icon {
    font-size: 1.5rem;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    flex: 1;
}

.document-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.document-list {
    padding: var(--spacing-6);
}

.document-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: var(--spacing-4);
    transition: all 0.3s ease;
}

.document-item:last-child {
    margin-bottom: 0;
}

.document-item:hover {
    border-color: var(--primary);
    background: #fff7ed;
}

.document-icon {
    font-size: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 8px;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
    min-width: 0;
}

.document-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.document-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.document-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.document-actions {
    display: flex;
    gap: var(--spacing-2);
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn-outline:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* Responsive Design for Documents */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-3);
    }
    
    .document-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .category-header {
        padding: var(--spacing-4);
    }
    
    .document-list {
        padding: var(--spacing-4);
    }
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: var(--spacing-8);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--font-size-6xl);
    }
}

.hero-title-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
    padding-bottom: 4px;
}

.hero-title-secondary {
    color: var(--foreground);
    display: block;
    margin-top: 6px;
    line-height: 1.4;
    padding-top: 2px;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--muted);
    margin-bottom: var(--spacing-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: var(--font-size-2xl);
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
    align-items: center;
    position: relative;
}

.plane-icon-left {
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.plane-icon {
    width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

.plane-icon:hover {
    transform: translateY(-3px) rotate(5deg);
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .plane-icon-left {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: var(--spacing-4);
    }
    
    .hero-actions {
        flex-direction: column;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-xl);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: var(--font-size-lg);
    min-height: 56px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background-color: transparent;
    color: var(--foreground);
    border-color: rgba(249, 115, 22, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(249, 115, 22, 0.05);
    border-color: rgba(249, 115, 22, 0.4);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--font-size-5xl);
    }
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--spacing-20) 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--secondary) 100%);
}

.features-grid {
    display: grid;
    gap: var(--spacing-8);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background-color: rgba(248, 250, 252, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    background-color: rgba(248, 250, 252, 0.8);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-6);
    position: relative;
    z-index: 10;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--foreground);
    position: relative;
    z-index: 10;
}

.feature-description {
    color: var(--muted);
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

/* About Section */
.about {
    padding: var(--spacing-20) 0;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--background) 100%);
}

.about-grid {
    display: grid;
    gap: var(--spacing-8);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.about-card {
    background-color: rgba(248, 250, 252, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    background-color: rgba(248, 250, 252, 0.8);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-6);
}

.about-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--foreground);
}

.about-description {
    color: var(--muted);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: var(--spacing-20) 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--secondary) 100%);
}

.services-grid {
    display: grid;
    gap: var(--spacing-8);
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background-color: rgba(248, 250, 252, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-10);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    background-color: rgba(248, 250, 252, 0.8);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card-featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-6);
}

.service-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--foreground);
}

.service-description {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-8);
}

.service-actions {
    display: flex;
    gap: var(--spacing-4);
}

/* Pricing Section */
.pricing {
    padding: var(--spacing-20) 0;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--background) 100%);
}

.pricing-grid {
    display: grid;
    gap: var(--spacing-8);
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background-color: rgba(248, 250, 252, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    background-color: rgba(248, 250, 252, 0.8);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    display: inline-block;
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-bottom: var(--spacing-4);
    background-color: #dbeafe;
    color: #1e40af;
}

.pricing-badge-featured {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.pricing-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-2);
    color: var(--foreground);
}

.pricing-description {
    font-size: var(--font-size-sm);
    color: var(--muted);
    margin-bottom: var(--spacing-4);
}

.pricing-price {
    margin-bottom: var(--spacing-6);
}

.price {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--primary);
}

.price-period {
    color: var(--muted);
    margin-left: var(--spacing-2);
}

.pricing-level {
    font-size: var(--font-size-xs);
    color: var(--muted);
    margin-bottom: var(--spacing-6);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-8);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    font-size: var(--font-size-sm);
    color: var(--muted);
    margin-bottom: var(--spacing-2);
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    margin-right: var(--spacing-2);
    margin-top: 0.125rem;
}

/* Contact Section */
.contact {
    padding: var(--spacing-20) 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--secondary) 100%);
}

.contact-grid {
    display: grid;
    gap: var(--spacing-8);
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background-color: rgba(248, 250, 252, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    background-color: rgba(248, 250, 252, 0.8);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-card-featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-6);
}

.contact-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--foreground);
}

.contact-description {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
    font-size: var(--font-size-sm);
}

.contact-note {
    font-size: var(--font-size-xs);
    color: var(--muted);
    margin-bottom: var(--spacing-6);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    background: linear-gradient(180deg, var(--background) 0%, var(--secondary) 100%);
    padding: var(--spacing-12) 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
    align-items: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.footer-text {
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: var(--spacing-8);
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-end;
    }
}

.footer-link {
    color: #f85d41;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.footer-bottom p {
    color: var(--text-main);
    margin: 0;
    text-align: center;
}

.footer-link:hover {
    color: #ff7a5c;
    opacity: 0.9;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
        gap: var(--spacing-4);
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .mega-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        height: auto;
        min-height: 80px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-3) 0;
    }
    
    .nav {
        gap: var(--spacing-3);
        margin-top: var(--spacing-2);
    }
    
    .nav-link {
        padding: var(--spacing-2) var(--spacing-3);
        font-size: var(--font-size-sm);
    }

    .nav-item--mega {
        width: 100%;
    }

    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        margin-top: var(--spacing-3);
        padding: var(--spacing-4);
        box-shadow: none;
    }

    .mega-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: calc(var(--spacing-16) + 100px) 0 var(--spacing-16);
        margin-top: 100px;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-8);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-3);
    }
    
    .nav {
        gap: var(--spacing-2);
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: var(--spacing-1) var(--spacing-2);
        font-size: var(--font-size-sm);
    }
    
    .btn {
        padding: var(--spacing-2) var(--spacing-4);
        font-size: var(--font-size-base);
        min-height: 48px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .feature-card,
    .about-card,
    .pricing-card,
    .contact-card {
        padding: var(--spacing-6);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: calc(var(--spacing-12) + 80px) 0 var(--spacing-12);
        margin-top: 80px;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .feature-card,
    .about-card,
    .pricing-card,
    .contact-card {
        padding: var(--spacing-4);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.language-select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.about-card,
.service-card,
.pricing-card,
.contact-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.feature-card:hover .feature-icon,
.about-card:hover .about-icon,
.service-card:hover .service-icon,
.contact-card:hover .contact-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Login Page Styles */
.login-body {
    background: linear-gradient(135deg, #f85d41 0%, #e54d2e 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.login-container {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.login-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.login-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    color: var(--muted-foreground);
    z-index: 1;
}

.form-input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: var(--background);
    color: var(--foreground);
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-foreground);
    padding: 0.25rem;
}

.error-message {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.btn-full {
    width: 100%;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-links {
    text-align: center;
}

.form-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-link:hover {
    text-decoration: underline;
}

.demo-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.demo-header h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.demo-header p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.demo-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.demo-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.demo-field label {
    font-weight: 500;
    color: var(--foreground);
    min-width: 60px;
}

.demo-value {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #e2e8f0;
    font-family: monospace;
    flex: 1;
}

.copy-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.75rem;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.form-footer p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.language-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.login-footer {
    margin-top: auto;
    text-align: center;
    padding: 1rem 0;
    color: white;
    width: 100%;
    max-width: 400px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a {
    color: #f85d41;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ff7a5c;
    text-decoration: underline;
    opacity: 0.9;
}

/* Dashboard Styles */
.dashboard-body {
    background: #f8fafc;
    min-height: 100vh;
}

/* Dashboard Header - Two-level structure for better organization */
.dashboard-header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Top Level - Brand, User Info, and Actions */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Logo styling to match auth-manager exactly */
.dashboard-header .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #f85d41;
    font-weight: 700;
    font-size: 1.5rem;
}

.dashboard-header .logo-img {
    width: 32px;
    height: 32px;
}

/* Page Title in Header (Auth Manager style) */
.dashboard-header .page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Bottom Level - Main Navigation Menu */
.header-bottom {
    padding: 0.75rem 0;
    background: #f8fafc;
}

.dashboard-nav {
    display: flex;
    gap: 2rem;
}

.dashboard-nav .nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.dashboard-nav .nav-link:hover,
.dashboard-nav .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-name {
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.875rem;
}

.user-role {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.logout-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: var(--secondary);
    color: var(--foreground);
}

.dashboard-main {
    padding: 2rem 0;
}

.welcome-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.welcome-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 0.75rem;
}

.stat-content {
    flex: 1;
}

.stat-title {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
}

.courses-section,
.activity-section,
.actions-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.course-card {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.course-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.course-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.course-level {
    background: var(--secondary);
    color: var(--foreground);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.course-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.course-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background: var(--secondary);
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--secondary);
    border-radius: 0.75rem;
}

.activity-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

.activity-icon.completed {
    background: #dcfce7;
    color: #16a34a;
}

.activity-icon.submitted {
    background: #dbeafe;
    color: #2563eb;
}

.activity-icon.scheduled {
    background: #fef3c7;
    color: #d97706;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 0.875rem;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--foreground);
    transition: all 0.2s ease;
}

.action-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.action-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.action-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Learning Dashboard Styles */
.learning-header {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.learning-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.learning-subtitle {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.learning-tabs {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    background: white;
    color: var(--muted-foreground);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.lesson-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.lesson-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.lesson-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.lesson-icon {
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 0.75rem;
}

.lesson-info {
    flex: 1;
}

.lesson-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.lesson-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.lesson-progress {
    margin-bottom: 1rem;
}

.lesson-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Messages Styles */
.messages-header {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.messages-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.messages-subtitle {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.messages-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    height: calc(100vh - 300px);
}

.conversations-sidebar {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.conversations-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversations-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--border);
}

.conversation-item:hover {
    background: var(--secondary);
}

.conversation-item.active {
    background: rgba(248, 93, 65, 0.1);
    border-right: 3px solid var(--primary);
}

.conversation-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.conversation-content {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.conversation-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.conversation-time {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.conversation-preview {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-badge {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 0.75rem;
    min-width: 1.25rem;
    text-align: center;
}

.chat-area {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.chat-user-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.125rem;
}

.chat-user-status {
    font-size: 0.75rem;
    color: #16a34a;
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
}

.chat-action-btn {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--border);
    background: white;
    border-radius: 0.375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-action-btn:hover {
    background: var(--secondary);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.message.sent {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.message-content {
    max-width: 70%;
}

.message-bubble {
    background: var(--secondary);
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    margin-bottom: 0.25rem;
}

.message.sent .message-bubble {
    background: var(--primary);
    color: white;
}

.message-bubble p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    padding: 0 0.5rem;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.input-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.message-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.message-input:focus {
    border-color: var(--primary);
}

.send-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.send-btn:hover {
    background: var(--primary-hover);
}

/* Profile Styles */
.profile-header {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.profile-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.profile-subtitle {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.profile-header-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-avatar-container {
    position: relative;
}

.profile-avatar {
    position: relative;
    display: inline-block;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    border: 2px solid white;
    border-radius: 50%;
    width: 0.8rem;
    height: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.avatar-edit-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
}

.avatar-edit-btn svg {
    width: 5px;
    height: 5px;
    stroke: white;
}

.profile-info h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.5rem 0;
}

.profile-info p {
    color: var(--muted-foreground);
    font-size: 1rem;
    margin: 0 0 1rem 0;
}

.status-badge {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.profile-picture-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Dashboard Section Headers with Edit Buttons */
.dashboard-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.dashboard-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.edit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.edit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(248, 93, 65, 0.3);
}

.edit-btn:active {
    transform: translateY(0);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Language Card */
.language-info {
    margin-bottom: 1rem;
}

.language-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.language-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(248, 93, 65, 0.1);
}

.language-flag {
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-details h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.25rem 0;
}

.language-details p {
    color: var(--muted);
    margin: 0;
    font-size: 0.875rem;
}

/* Referral Section */
.referral-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.referral-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    color: var(--foreground);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.referral-icon {
    font-size: 2.5rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
}

.referral-details h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.referral-details p {
    margin: 0 0 1rem 0;
    color: var(--muted);
}

.referral-code-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.referral-code {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--foreground);
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 1rem;
    min-width: 200px;
}

.referral-code::placeholder {
    color: var(--muted);
}

.copy-btn {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

/* Referral Input Card Styles */
.referral-input-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.referral-input-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.referral-input-card .referral-icon {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b4a 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(248, 93, 65, 0.3);
}

/* Referrer Display Styles */
.referrer-display {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.referrer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.referrer-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(248, 93, 65, 0.3);
}

.referrer-details {
    flex: 1;
}

.referrer-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.referrer-email {
    font-size: 0.875rem;
    color: var(--muted);
}

.referrer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: bold;
}

/* Rewards Structure Styles */
.rewards-structure-card {
    background: linear-gradient(135deg, #fff9f0 0%, #fff4e6 100%);
    border: 2px solid #ffd89b;
}

.rewards-structure-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.2);
    border-color: #ffc107;
}

.rewards-structure-card .referral-icon {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.rewards-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.reward-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(248, 93, 65, 0.15);
    transform: translateX(5px);
}

.reward-item .reward-icon {
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 50%;
    border: 2px solid #e2e8f0;
}

.reward-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.reward-count {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reward-prize {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
}

.reward-status {
    display: flex;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.status-badge.locked {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.3);
}

.status-badge.unlocked {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    animation: unlockPulse 2s ease infinite;
}

@keyframes unlockPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6);
    }
}

/* Responsive Design for Rewards */
@media (max-width: 768px) {
    .reward-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .reward-item .reward-icon {
        width: 4rem;
        height: 4rem;
        font-size: 2.5rem;
    }
    
    .reward-info {
        align-items: center;
    }
}

.referral-input-container {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    margin-top: 1rem;
}

.referral-input {
    flex: 1;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: var(--foreground);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.referral-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(248, 93, 65, 0.1);
    transform: translateY(-1px);
}

.referral-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.referral-input-container .btn {
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.referral-input-container .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(248, 93, 65, 0.3);
}

.referral-status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.referral-status.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.referral-status.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.referral-status.hidden {
    display: none;
}

/* Enhanced Referral Stats */
.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive Design for Referral Section */
@media (max-width: 768px) {
    .referral-input-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .referral-input-container .btn {
        width: 100%;
    }
    
    .referral-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .referral-card {
        padding: 1.5rem;
    }
    
    .referral-icon {
        width: 3rem;
        height: 3rem;
        font-size: 2rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 500;
}

/* Enhanced Profile Picture */
.profile-picture {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.avatar-large {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.5rem;
    font-weight: 700;
    overflow: hidden;
}

.avatar-large-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
}

.change-picture-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.change-picture-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(248, 93, 65, 0.3);
}

.camera-icon {
    width: 1rem;
    height: 1rem;
}

/* Enhanced Form Inputs */
.form-input:not([readonly]):not([disabled]) {
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-input:not([readonly]):not([disabled]):focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(248, 93, 65, 0.1);
    outline: none;
}

.form-input[readonly] {
    background: #f8fafc;
    color: var(--muted);
    cursor: not-allowed;
}

/* Action Buttons Enhancement */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.avatar-large {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.profile-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.profile-email {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.profile-status {
    background: #dcfce7;
    color: #16a34a;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
}

.setting-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.setting-info p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.5rem;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 1.5rem;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 1.125rem;
    width: 1.125rem;
    left: 0.1875rem;
    bottom: 0.1875rem;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(1.5rem);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-danger {
    background: #dc2626;
    color: white;
    border: 1px solid #dc2626;
}

.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.btn-outline {
    background: white;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--secondary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Schedule Styles */
.schedule-header {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.schedule-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.schedule-subtitle {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.schedule-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.calendar-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
}

.calendar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.current-week {
    font-weight: 500;
    color: var(--foreground);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
}

.calendar-day {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    min-height: 200px;
}

.calendar-day.weekend {
    background: var(--secondary);
}

.day-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.day-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
}

.day-number {
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-item {
    background: var(--secondary);
    border-radius: 0.375rem;
    padding: 0.75rem;
    border-left: 3px solid var(--primary);
}

.event-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.event-details h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.125rem;
}

.event-details p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.event-instructor {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    font-style: italic;
}

.event-status {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
    display: inline-block;
}

.event-status.completed {
    background: #dcfce7;
    color: #16a34a;
}

.event-status.upcoming {
    background: #dbeafe;
    color: #2563eb;
}

.upcoming-events {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.upcoming-events h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.event-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3rem;
}

.event-day {
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--primary);
}

.event-month {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-transform: uppercase;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.125rem;
}

.event-info p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.event-info .event-time {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .dashboard-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .user-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .lessons-grid {
        grid-template-columns: 1fr;
    }
    
    .messages-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .conversations-sidebar {
        height: 300px;
    }
    
    .chat-area {
        height: 500px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-picture-section {
        flex-direction: column;
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .schedule-content {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-day {
        min-height: auto;
    }
}

/* ========================================
   SHOPPING CART STYLES
   ======================================== */

/* Notifications Button in Header */
.notifications-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 2.5rem;
    width: 2.5rem;
    color: var(--muted-foreground);
}

.notifications-btn:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
}

.notification-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* Language Switcher Button in Header */
.language-switcher-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 2.5rem;
    width: 2.5rem;
    color: var(--muted-foreground);
}

.language-switcher-btn:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
}

.globe-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.language-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.notification-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--destructive);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Payment Cart Button in Header */
.payment-cart-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.payment-cart-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.payment-cart-btn .cart-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.payment-cart-btn .cart-text {
    font-weight: 500;
}

.cart-count {
    background: var(--destructive);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    position: absolute;
    top: -8px;
    right: -8px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Shop Section */
.shop-section {
    margin: 2rem 0;
}

.section-subtitle {
    color: var(--muted-foreground);
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.product-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.product-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card.featured .product-badge {
    background: var(--destructive);
}

.product-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    text-align: center;
}

.product-description {
    color: var(--muted-foreground);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.price-period {
    color: var(--muted-foreground);
    font-size: 1rem;
    margin-left: 0.25rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--foreground);
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.add-to-cart-btn:disabled {
    background: var(--muted);
    color: var(--muted-foreground);
    cursor: not-allowed;
}

/* Payment Cart Modal */
.payment-cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-cart-modal.hidden {
    display: none;
}

.payment-cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.payment-cart-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

/* Payment Cart Header */
.payment-cart-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b35 100%);
    color: white;
}

.cart-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-header-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.payment-cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.cart-items-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.close-payment-cart {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-payment-cart:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.close-payment-cart svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Payment Cart Body */
.payment-cart-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.cart-items-section {
    overflow-y: auto;
}

.payment-cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-summary-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-summary-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.order-summary-title {
    margin: 0 0 1.5rem 0;
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--foreground);
}

/* Discount Section */
.discount-section {
    margin-bottom: 1.5rem;
}

.discount-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.discount-input-group {
    display: flex;
    gap: 0.5rem;
}

.discount-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.discount-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.apply-discount-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.apply-discount-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.discount-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 500;
}

.discount-success-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Price Breakdown */
.price-breakdown {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.price-row.discount-row {
    color: #10b981;
}

.price-row.savings-row {
    color: #10b981;
}

.price-row.total-row {
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
}

/* Security Badges */
.security-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.security-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* Payment Button */
.proceed-payment-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.proceed-payment-btn:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.proceed-payment-btn:disabled {
    background: var(--muted);
    color: var(--muted-foreground);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.payment-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* Payment Methods */
.payment-methods {
    text-align: center;
}

.payment-methods-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: 0 0 0.5rem 0;
}

.payment-methods-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.payment-method-icon {
    width: 32px;
    height: 20px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--muted-foreground);
}

/* Guarantee Card */
.guarantee-card {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.guarantee-icon {
    width: 20px;
    height: 20px;
    stroke: #0284c7;
    flex-shrink: 0;
}

.guarantee-card span {
    font-size: 0.875rem;
    color: #0284c7;
    font-weight: 500;
}

/* Payment Cart Items */
.payment-cart-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: all 0.2s ease;
}

.payment-cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-icon {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-name {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
}

.remove-item-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item-btn:hover {
    background: #fef2f2;
    transform: scale(1.1);
}

.remove-item-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.cart-item-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.cart-item-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cart-item-badges .badge {
    background: #f1f5f9;
    color: var(--muted-foreground);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quantity-btn {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.quantity-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.quantity-display {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    min-width: 24px;
    text-align: center;
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.original-price {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.current-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--muted-foreground);
}

.empty-cart-icon {
    width: 64px;
    height: 64px;
    stroke: var(--muted-foreground);
    margin: 0 auto 1rem;
}

.empty-cart h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
}

.empty-cart p {
    margin: 0 0 1.5rem 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Notifications */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1001;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--primary);
    min-width: 300px;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

.notification-success {
    border-left-color: #10b981;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-warning {
    border-left-color: #f59e0b;
}

.notification-info {
    border-left-color: #3b82f6;
}

.notification-content {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-message {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-close:hover {
    background: var(--muted);
    color: var(--foreground);
}

.notification-close svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cart-items {
    margin-bottom: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: var(--muted-foreground);
}

.empty-cart-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-cart h3 {
    margin: 0 0 0.5rem 0;
    color: var(--foreground);
}

.empty-cart p {
    margin: 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.cart-item-type {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: var(--secondary-hover);
}

.quantity {
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
    min-width: 4rem;
    text-align: right;
}

.remove-item-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.remove-item-btn:hover {
    background: var(--destructive);
    color: white;
}

.cart-summary {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.checkout-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-weight: 500;
}

.cart-notification.show {
    transform: translateX(0);
}

/* Mobile Responsiveness for Cart */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .product-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .cart-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .cart-header,
    .cart-body {
        padding: 1rem 1.5rem;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .cart-notification {
        right: 1rem;
        left: 1rem;
        transform: translateY(-100%);
    }
    
    .cart-notification.show {
        transform: translateY(0);
    }
}

/* Travel Illustration Styles */
.travel-illustration {
    width: 400px;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.travel-illustration:hover {
    transform: translateY(-5px) scale(1.02);
}

@media (max-width: 1024px) {
    .travel-illustration {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .travel-illustration {
        width: 300px;
    }
    
    /* Payment Cart Mobile Styles */
    .payment-cart-content {
        width: 98%;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .payment-cart-header {
        padding: 1rem;
    }
    
    .payment-cart-header h2 {
        font-size: 1.25rem;
    }
    
    .payment-cart-body {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        max-height: 75vh;
    }
    
    .order-summary-card {
        padding: 1rem;
    }
    
    .discount-input-group {
        flex-direction: column;
    }
    
    .apply-discount-btn {
        width: 100%;
    }
    
    .security-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .payment-methods-icons {
        flex-wrap: wrap;
    }
    
    .guarantee-card {
        padding: 0.75rem;
    }
    
    .guarantee-card span {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    /* Header responsive adjustments */
    .header-top {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem 0;
    }
    
    .header-top-right {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-bottom {
        padding: 0.5rem 0;
    }
    
    .dashboard-nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .user-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .user-name {
        font-size: 0.875rem;
    }
    
    .user-role {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .payment-cart-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .payment-cart-btn .cart-text {
        display: none;
    }
    
    .payment-cart-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .payment-cart-body {
        padding: 0.75rem;
    }
    
    .order-summary-card {
        padding: 0.75rem;
    }
    
    .proceed-payment-btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Mobile header adjustments */
    .header-top-right {
        gap: 0.5rem;
    }
    
    .notifications-btn,
    .language-switcher-btn,
    .payment-cart-btn,
    .logout-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .dashboard-nav {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

/* ========================================
   COMPREHENSIVE LANDING PAGE RESPONSIVE DESIGN
   ======================================== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 var(--spacing-8);
    }
    
    .hero-section {
        padding: 6rem 0;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.25rem;
    }
}

/* Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .container {
        max-width: 1000px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-6);
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Tablet Portrait (640px - 767px) */
@media (max-width: 767px) and (min-width: 640px) {
    .container {
        padding: 0 var(--spacing-4);
    }
    
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 2.5rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile Landscape (480px - 639px) */
@media (max-width: 639px) and (min-width: 480px) {
    .container {
        padding: 0 var(--spacing-3);
    }
    
    .hero-section {
        padding: 2.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .features-section {
        padding: 2rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-card h3 {
        font-size: 1.125rem;
    }
    
    .feature-card p {
        font-size: 0.875rem;
    }
    
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
    }
}

/* Avatar Modal Styles */
.avatar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-modal.hidden {
    display: none;
}

.avatar-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.avatar-modal-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.avatar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.avatar-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.close-avatar-modal {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.close-avatar-modal:hover {
    background: #f1f5f9;
}

.close-avatar-modal svg {
    width: 20px;
    height: 20px;
    stroke: var(--muted-foreground);
}

.avatar-selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.avatar-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.avatar-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.avatar-option.selected {
    border-color: var(--primary);
    background: #fef7f0;
    box-shadow: 0 4px 12px rgba(248, 93, 65, 0.2);
}

.avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    background: #f85d41;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.avatar-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.avatar-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Mobile Portrait (320px - 479px) */
@media (max-width: 479px) {
    .container {
        padding: 0 var(--spacing-2);
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
    }
    
    .features-section {
        padding: 1.5rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .cta-section {
        padding: 1.5rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-content p {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}
