/* Material Tab Styles */
.material-section {
    margin-bottom: 32px;
}

.material-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.materials-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.material-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.material-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.material-icon.audio {
    background-color: #e3f2fd;
    color: #1976d2;
}

.material-icon.file {
    background-color: #fff3e0;
    color: #f57c00;
}

.material-content {
    flex: 1;
    min-width: 0;
}

.material-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.material-duration,
.material-size {
    font-size: 14px;
    color: var(--text-light);
}

.material-audio-player {
    width: 300px;
    height: 40px;
    flex-shrink: 0;
}

.material-download-btn,
.material-lock-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.material-download-btn:hover {
    background-color: #4a1fb8;
    transform: translateY(-2px);
}

.material-lock-btn {
    background-color: var(--bg-light);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.material-lock-btn:hover {
    background-color: #e9ecef;
    color: var(--text-color);
}

.material-lock-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    margin-bottom: 24px;
    color: #856404;
}

.material-lock-notice svg {
    flex-shrink: 0;
}

.material-lock-notice p {
    margin: 0;
    font-weight: 500;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5624d0;
    --secondary-color: #1e1f29;
    --text-color: #1c1d1f;
    --text-light: #6a6f73;
    --border-color: #d1d7dc;
    --bg-light: #f7f9fa;
    --white: #ffffff;
    --success: #0f5132;
    --warning: #f3ca8c;
    --danger: #b32d00;
    --shadow: 0 2px 4px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.08);
    --shadow-hover: 0 2px 8px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--white);
}

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Promotions Bar */
.promotions-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.promotions-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.promotions-bar-close {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.promotions-bar-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.promotions-bar.hidden {
    display: none;
}

/* Header Styles */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header.has-promotions {
    top: 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-btn {
    position: absolute;
    left: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(86, 36, 208, 0.1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--bg-light);
}

.cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--secondary-color);
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--bg-light);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #3e3f49;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.language-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-left: 12px;
    color: var(--text-color);
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 600;
}

.language-btn svg {
    width: 18px;
    height: 18px;
}

.language-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--bg-light);
}

/* Mobile Header Icons - Hidden on Desktop */
.mobile-header-icons {
    display: none;
    align-items: center;
    gap: 8px;
}

.account-icon-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    color: var(--text-color);
    transition: all 0.2s;
}

.account-icon-btn svg {
    width: 20px;
    height: 20px;
}

.account-icon-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-nav-close {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    padding: 8px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
}

.mobile-nav-close svg {
    width: 18px;
    height: 18px;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900;
    cursor: pointer;
}

body.mobile-nav-open {
    overflow: hidden;
}

body.mobile-nav-open .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #6e1ecc, #5624d0);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 8px;
}

.hero-search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}

.hero-search-btn {
    padding: 16px 32px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.hero-search-btn:hover {
    background-color: #3e3f49;
}

/* Section Styles */
section {
    padding: 32px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Categories Section */
/* Categories Slider */
.categories-slider-wrapper {
    position: relative;
    margin: 16px 0;
}

.categories-slider {
    overflow: hidden;
    margin: 0 48px;
}

.categories-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease;
}

.category-slide {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text-color);
    min-width: 180px;
    flex-shrink: 0;
}

.category-slide:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* Course Slider Section */
.course-slider-section {
    margin: 32px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: #4a1fb8;
    text-decoration: underline;
}

.course-slider-wrapper {
    position: relative;
}

.course-slider {
    overflow: hidden;
    margin: 0 48px;
}

.course-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease;
}

.course-slider-track .course-card {
    flex-shrink: 0;
    width: calc((100% - 72px) / 4);
}

@media (max-width: 1024px) {
    .course-slider-track .course-card {
        width: calc((100% - 48px) / 3);
    }
}

@media (max-width: 768px) {
    .course-slider-track .course-card {
        width: 100%;
    }
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(86, 36, 208, 0.3);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.category-name {
    font-size: 16px;
    font-weight: 600;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.course-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.course-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.add-to-cart-card-btn {
    margin: 12px;
    padding: 10px 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: auto;
}

.add-to-cart-card-btn:hover {
    background-color: #4a1fb8;
    transform: translateY(-1px);
}

.add-to-cart-card-btn svg {
    width: 18px;
    height: 18px;
}

.book-wishlist-btn {
    margin: 12px;
    margin-left: 0;
    padding: 10px;
    background-color: var(--white);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    min-width: 48px;
    width: 48px;
    height: 44px;
}

.book-wishlist-btn:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.book-wishlist-btn svg {
    width: 20px;
    height: 20px;
    transition: all 0.2s;
}

.book-wishlist-btn.active {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #dc3545;
}

.book-wishlist-btn.active svg {
    fill: #dc3545;
    stroke: #dc3545;
}

.course-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
}

.course-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-instructor {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.rating-stars {
    color: var(--warning);
    font-size: 14px;
}

.rating-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
}

.rating-count {
    font-size: 12px;
    color: var(--text-light);
}

.course-price {
    margin-top: auto;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.course-price.free {
    color: var(--success);
}

/* Coupon */
.coupon-section {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    background-color: var(--white);
}

.coupon-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.coupon-input-group {
    display: flex;
    gap: 8px;
}

.coupon-input-group input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.btn-apply {
    padding: 10px 16px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-apply:hover {
    background-color: #3e3f49;
}

.coupon-message {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.coupon-message.success {
    color: var(--success);
}

.coupon-message.error {
    color: var(--danger);
}

.coupon-message.info {
    color: var(--text-light);
}

.coupon-row {
    display: none;
}

/* Instructors Grid */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.instructor-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.instructor-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
}

.instructor-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.instructor-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.instructor-stats {
    font-size: 12px;
    color: var(--text-light);
}

/* Courses Page */
.courses-page {
    padding: 32px 0;
    min-height: calc(100vh - 200px);
}

.courses-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.filters-sidebar {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* Mobile Filter Button */
.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.2s;
}

.mobile-filter-btn:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

.mobile-filter-btn svg {
    width: 20px;
    height: 20px;
}

/* Mobile Filter Popup */
.mobile-filter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.mobile-filter-popup.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    padding-top: 60px;
}

.mobile-filter-content {
    background-color: var(--white);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: var(--white);
    border-radius: 12px 12px 0 0;
    z-index: 10;
}

.mobile-filter-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.mobile-filter-close {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-filter-close:hover {
    background-color: var(--bg-light);
}

.mobile-filter-close svg {
    width: 24px;
    height: 24px;
}

.mobile-filter-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.mobile-filter-body .filter-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-filter-body .filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Hide sidebar on mobile, show filter button */
@media (max-width: 768px) {
    .filters-sidebar {
        display: none;
    }
    
    .courses-layout {
        grid-template-columns: 1fr;
    }
    
    .mobile-filter-btn {
        display: flex;
    }
}

.filters-sidebar h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.filter-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.courses-content {
    flex: 1;
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.courses-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.sort-select {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    background-color: var(--white);
}

/* Course Detail Page */
.course-detail-page {
    padding: 32px 0;
}

.course-detail-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.course-detail-main {
    background-color: var(--white);
}

.course-detail-header {
    margin-bottom: 32px;
}

.course-detail-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.course-detail-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.course-detail-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.course-detail-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.clickable-rating {
    cursor: pointer;
    transition: opacity 0.2s;
}

.clickable-rating:hover {
    opacity: 0.8;
}

.course-detail-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 72px;
    font-weight: 700;
    object-fit: cover;
}

/* Course Tabs */
.course-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.course-tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.course-tab-btn:hover {
    color: var(--text-color);
}

.course-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.course-tab-content {
    min-height: 400px;
}

.course-content-list {
    list-style: none;
    padding: 0;
}

.course-content-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
}

.course-content-list li:last-child {
    border-bottom: none;
}

/* Accordion Styles */
.accordion-container {
    margin-top: 24px;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(86, 36, 208, 0.1);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background-color: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    transition: background-color 0.2s;
}

.accordion-header:hover {
    background-color: var(--bg-light);
}

.accordion-title {
    flex: 1;
    text-align: left;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    background-color: var(--bg-light);
}

.accordion-body {
    padding: 20px 0;
    line-height: 1.6;
    color: var(--text-color);
}

.accordion-body ul {
    margin-top: 12px;
    padding-left: 20px;
}

.accordion-body li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Lessons Container */
.lessons-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: var(--white);
}

.lesson-item:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.lesson-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.lesson-icon.video {
    background-color: #e3f2fd;
    color: #1976d2;
}

.lesson-icon.file {
    background-color: #fff3e0;
    color: #f57c00;
}

.lesson-icon.quiz {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.lesson-icon svg {
    width: 18px;
    height: 18px;
}

.lesson-content {
    flex: 1;
    min-width: 0;
}

.lesson-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 4px;
}

.lesson-duration {
    font-size: 12px;
    color: var(--text-light);
}

/* Instructor Profile */
.instructor-profile {
    text-align: center;
    padding: 32px 0;
}

.instructor-avatar-large {
    margin: 0 auto 24px;
}

.instructor-profile h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.instructor-profile .instructor-title {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.instructor-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

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

.stat-item strong {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item span {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Reviews */
.reviews-summary {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.reviews-summary h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.rating-breakdown {
    display: flex;
    align-items: center;
    gap: 24px;
}

.overall-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.rating-value-large {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.rating-stars-large {
    font-size: 24px;
    color: var(--warning);
}

.rating-count-large {
    font-size: 14px;
    color: var(--text-light);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-item {
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.reviewer-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.review-rating {
    color: var(--warning);
    font-size: 14px;
    margin-bottom: 4px;
}

.review-date {
    font-size: 12px;
    color: var(--text-light);
}

.review-comment {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.course-detail-content {
    margin-bottom: 32px;
}

.course-detail-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.course-detail-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 16px;
}

.course-detail-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.course-detail-content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.course-detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.course-purchase-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.course-price-large {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.course-price-large.free {
    color: var(--success);
}

.purchase-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 16px;
    transition: background-color 0.2s;
}

.purchase-btn:hover {
    background-color: #4a1fb8;
}

.add-to-cart-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 24px;
    transition: all 0.2s;
}

.add-to-cart-btn:hover {
    background-color: var(--bg-light);
}

.add-to-cart-btn.wishlist-remove {
    border-color: var(--danger);
    color: var(--danger);
}

.add-to-cart-btn.wishlist-remove:hover {
    background-color: rgba(179, 45, 0, 0.08);
}

.course-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 48px 0 24px;
    margin-top: 64px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-icon-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    position: relative;
}

.footer-icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-icon-btn svg {
    width: 18px;
    height: 18px;
}

/* Header Icons */
.header-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    width: 40px;
    height: 40px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    padding: 0;
}

.header-icon-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.header-icon-btn svg {
    width: 20px;
    height: 20px;
}

.notification-badge,
.wishlist-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #f44336;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

.wishlist-count {
    background-color: var(--primary-color);
}

.notification-badge:empty,
.wishlist-count:empty {
    display: none;
}

@media (max-width: 768px) {
    .header-icon-btn {
        width: 36px;
        height: 36px;
    }
    
    .header-icon-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Mobile Search Popup */
.mobile-search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.mobile-search-popup.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    padding-top: 60px;
}

.mobile-search-content {
    background-color: var(--white);
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease;
}

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

.mobile-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-search-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

.mobile-search-close {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.mobile-search-close:hover {
    background-color: var(--bg-light);
}

.mobile-search-input-wrapper {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.mobile-search-input:focus {
    border-color: var(--primary-color);
}

.mobile-search-submit {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: var(--primary-color);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-search-submit:hover {
    background-color: #8b2cd4;
}

.mobile-search-results {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-search-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

@media (max-width: 768px) {
    .search-input {
        display: none;
    }
    
    .mobile-search-btn {
        display: block;
    }
    
    .search-icon-btn {
        display: none;
    }
}

.footer-bottom .logo {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s, visibility 0.3s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.skeleton-image {
    width: 100%;
    height: 200px;
}

.skeleton-content {
    padding: 16px;
}

.skeleton-title {
    height: 20px;
    width: 80%;
    margin-bottom: 12px;
}

.skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-button {
    height: 40px;
    width: 120px;
    margin-top: 16px;
}

/* Promotions Bar */
.promotions-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.promotions-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.promotions-bar-close {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.promotions-bar-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.promotions-bar.hidden {
    display: none;
}

/* Banners Section */
.banners-section {
    margin: 32px 0;
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.banner-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    color: white;
    transition: background 0.3s ease;
}

.banner-item:hover .banner-image {
    transform: scale(1.1);
}

.banner-item:hover .banner-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
}

.banner-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .courses-layout {
        grid-template-columns: 240px 1fr;
    }

    .course-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .course-detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background-color: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        box-shadow: var(--shadow-hover);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.mobile-open {
        left: 0;
    }

    .nav-links .nav-link,
    .nav-links .btn-primary,
    .nav-links .btn-secondary {
        width: 100%;
        margin: 8px 0;
        padding: 12px;
        text-align: center;
        justify-content: center;
    }
    
    /* Hide cart and icons from nav-links on mobile */
    .nav-links .cart-btn,
    .nav-links .header-icon-btn {
        display: none;
    }
    
    /* Mobile Header Icons - beside menu button */
    
    .mobile-account-btn,
    .mobile-cart-btn,
    .mobile-header-icon-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        width: 36px;
        height: 36px;
        color: var(--text-color);
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
        padding: 0;
    }
    
    .mobile-account-btn:hover,
    .mobile-cart-btn:hover,
    .mobile-header-icon-btn:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
        background-color: var(--bg-light);
    }
    
    .mobile-account-btn svg,
    .mobile-cart-btn svg,
    .mobile-header-icon-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .mobile-cart-btn .cart-count,
    .mobile-header-icon-btn .notification-badge,
    .mobile-header-icon-btn .wishlist-count {
        position: absolute;
        top: -4px;
        right: -4px;
        background-color: #f44336;
        color: white;
        border-radius: 10px;
        padding: 2px 6px;
        font-size: 10px;
        font-weight: 700;
        min-width: 18px;
        text-align: center;
        line-height: 1.2;
    }
    
    .mobile-header-icon-btn .wishlist-count {
        background-color: var(--primary-color);
    }
    
    .mobile-cart-btn .cart-count:empty,
    .mobile-header-icon-btn .notification-badge:empty,
    .mobile-header-icon-btn .wishlist-count:empty {
        display: none;
    }

    .language-btn {
        display: inline-flex;
    }
    
    .account-icon-btn {
        display: inline-flex;
    }

    .mobile-nav-close {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 16px;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    /* Hide desktop icons on mobile */
    .nav-links .header-icon-btn {
        display: none;
    }
    
    /* Show mobile header icons */
    .mobile-header-icons {
        display: flex;
    }

    .search-bar {
        max-width: 200px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-search {
        flex-direction: column;
    }

    .courses-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
        margin-bottom: 24px;
    }

    .courses-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .categories-grid,
    .courses-grid,
    .instructors-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .categories-slider,
    .course-slider {
        margin: 0 40px;
    }
    
    .slider-btn {
        width: 36px;
        height: 36px;
    }

    .course-detail-title {
        font-size: 24px;
    }

    .course-detail-image {
        height: 250px;
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .categories-grid,
    .courses-grid,
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-slider,
    .course-slider {
        margin: 0 32px;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
    }
    
    .slider-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .category-slide {
        min-width: 150px;
        padding: 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-wrapper {
    flex-direction: row-reverse;
}

[dir="rtl"] .search-bar {
    direction: ltr;
}

[dir="rtl"] .search-input {
    text-align: right;
}

/* Auth Pages */
.auth-page {
    min-height: calc(100vh - 200px);
    padding: 64px 0 0 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding-bottom: 64px;
}

.auth-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 48px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-hover);
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: all 0.2s;
    background-color: var(--white);
}

.form-group select {
    cursor: pointer;
}

.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(86, 36, 208, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(86, 36, 208, 0.1);
}

.form-hint {
    font-size: 12px;
    color: var(--text-light);
}

/* Phone Input */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.phone-prefix {
    padding: 12px 16px;
    background-color: var(--bg-light);
    border-right: 1px solid var(--border-color);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

.phone-input-wrapper input {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 12px 16px;
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(86, 36, 208, 0.1);
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background-color: var(--bg-light);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
    border-radius: 2px;
}

.strength-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.password-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.password-requirements li {
    font-size: 12px;
    color: #666;
    transition: color 0.2s;
}

.password-requirements li::before {
    content: '○';
    margin-right: 8px;
    font-size: 10px;
}

.password-requirements li[style*="color: rgb(46, 125, 50)"]::before,
.password-requirements li[style*="#2e7d32"]::before {
    content: '✓';
    color: #2e7d32;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-btn {
    padding: 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.auth-btn:hover {
    background-color: #4a1fb8;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: var(--border-color);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background-color: var(--white);
    padding: 0 16px;
    color: var(--text-light);
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Cart Page */
.cart-page {
    padding: 32px 0;
    min-height: calc(100vh - 200px);
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.cart-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    gap: 24px;
}

.cart-item-image {
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    flex-shrink: 0;
    object-fit: cover;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-item-instructor {
    font-size: 14px;
    color: var(--text-light);
}

.cart-item-price {
    font-size: 20px;
    font-weight: 700;
    margin-top: auto;
}

.cart-item-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.remove-btn {
    padding: 8px 16px;
    background-color: var(--danger);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.remove-btn:hover {
    background-color: #8a2300;
}

.cart-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.summary-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid var(--border-color);
    margin-top: 12px;
    padding-top: 16px;
    font-size: 20px;
    font-weight: 700;
}

.discount {
    color: var(--success);
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 24px;
    transition: background-color 0.2s;
}

.checkout-btn:hover {
    background-color: #4a1fb8;
}

.checkout-btn-secondary {
    background-color: #6c757d;
    color: var(--white);
}

.checkout-btn-secondary:hover {
    background-color: #5a6268;
}

.money-back {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
}

.empty-cart,
.empty-state {
    text-align: center;
    padding: 64px 24px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.empty-cart h2,
.empty-state h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-cart p,
.empty-state p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* My Learning Page */
.my-learning-page {
    padding: 32px 0;
    min-height: calc(100vh - 200px);
}

.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 16px;
    color: var(--text-light);
}

.learning-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--text-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

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

.learning-course-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    position: relative;
}

.learning-course-card:hover {
    box-shadow: var(--shadow-hover);
}

.learning-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.wishlist-remove-btn {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    padding: 10px 16px;
    border: 1px solid var(--danger);
    background: transparent;
    color: var(--danger);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.wishlist-remove-btn:hover {
    background-color: rgba(179, 45, 0, 0.08);
}

.learning-course-progress {
    height: 4px;
    background-color: var(--border-color);
    position: relative;
}

.learning-course-progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

/* Checkout Page */
.checkout-page {
    padding: 32px 0;
    min-height: calc(100vh - 200px);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.checkout-step {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
}

.checkout-step h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-method {
    cursor: pointer;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.payment-method-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 3px;
    border: 1px solid #ef6823;
    background-color: var(--white);
    padding: 4px;
}

.payment-method input[type="radio"]:checked + .payment-method-card {
    border-color: var(--primary-color);
    background-color: rgba(86, 36, 208, 0.05);
}

.payment-icon {
    font-size: 32px;
}

.payment-icon svg {
    width: 48px;
    height: 48px;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--primary-color);
}

.payment-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.payment-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.payment-info small {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.payment-instructions {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

.payment-instructions h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.payment-instructions p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.form-actions .btn-secondary {
    flex: 1;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.form-actions .btn-secondary:hover {
    background-color: rgba(86, 36, 208, 0.08);
    color: var(--primary-color);
}

.form-actions .checkout-btn {
    flex: 1;
    margin-top: 0;
}

.form-actions .checkout-btn-secondary {
    flex: 1;
    margin-top: 0;
}

@media (max-width: 600px) {
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn-secondary,
    .form-actions .checkout-btn,
    .form-actions .checkout-btn-secondary {
        width: 100%;
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .form-actions .checkout-btn:last-child {
        margin-bottom: 0;
    }
}

/* Notifications Page Styles */
.notifications-page {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notifications-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.notifications-actions {
    display: flex;
    gap: 12px;
}

.notifications-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notification-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.notification-tab:hover {
    color: var(--text-color);
    background: rgba(102, 126, 234, 0.1);
}

.notification-tab.active {
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border: none;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.notification-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.notification-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: none;
}

.notification-item:hover::before {
    opacity: 1;
}

.notification-item.read {
    opacity: 0.75;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.notification-item.read::before {
    opacity: 0.3;
}

.notification-item.read .notification-title {
    font-weight: 500;
}

.notification-item.read .notification-icon {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #6c757d;
}

.notification-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s;
}

.notification-item:hover .notification-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.notification-message {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.notification-time {
    font-size: 13px;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    font-weight: 500;
}

.notification-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: flex-start;
}

.notification-mark-read,
.notification-delete {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.notification-mark-read:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.notification-delete:hover {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #d32f2f;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.no-notifications {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    text-align: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.no-notifications svg {
    color: var(--text-light);
    margin-bottom: 24px;
    opacity: 0.5;
    width: 80px;
    height: 80px;
}

.no-notifications h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-notifications p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 400px;
}

@media (max-width: 768px) {
    .notifications-page {
        padding: 20px 0;
    }
    
    .notifications-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .notifications-header h1 {
        font-size: 24px;
    }
    
    .notifications-actions {
        width: 100%;
    }
    
    .notifications-actions .btn-secondary {
        flex: 1;
    }
    
    .notifications-tabs {
        padding: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .notification-tab {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .notification-item {
        padding: 16px;
        gap: 12px;
    }
    
    .notification-icon {
        width: 48px;
        height: 48px;
    }
    
    .notification-title {
        font-size: 16px;
    }
    
    .notification-message {
        font-size: 14px;
    }
    
    .notification-actions {
        flex-direction: column;
        gap: 6px;
    }
    
    .notification-mark-read,
    .notification-delete {
        width: 36px;
        height: 36px;
    }
}

.order-summary-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow);
}

.order-summary-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.order-items {
    margin-bottom: 24px;
    max-height: 400px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.order-item-image {
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    object-fit: cover;
    overflow: hidden;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.order-item-info {
    flex: 1;
}

.order-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-item-price {
    font-size: 14px;
    color: var(--text-light);
}

.order-totals {
    border-top: 2px solid var(--border-color);
    padding-top: 16px;
}

.cart-count {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
}

/* Responsive for new pages */
@media (max-width: 1024px) {
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-summary,
    .order-summary-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .auth-card {
        padding: 32px 24px;
    }
}

/* Verify Email Specific Styles */
.verify-email-card {
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
}

.verify-email-icon {
    margin-bottom: 24px;
}

.email-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
    }
}

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

.verify-email-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.verify-email-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.verify-email-subtitle strong {
    color: var(--text-color);
    font-weight: 600;
}

.verify-email-form {
    margin-top: 32px;
}

.verification-code-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 8px;
}

.code-input {
    width: 56px;
    height: 64px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--white);
    color: var(--text-color);
    transition: all 0.3s ease;
    outline: none;
}

.code-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.code-input.filled {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.code-input.error {
    border-color: #ef4444;
    background-color: #fef2f2;
    animation: shake 0.5s;
}

.code-input.success {
    border-color: #10b981;
    background-color: #f0fdf4;
    animation: successPulse 0.6s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.verify-email-input {
    text-align: center;
    font-weight: 500;
}

.verify-email-btn {
    margin-top: 8px;
    position: relative;
    min-height: 48px;
}

.verify-email-btn .btn-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.verify-email-footer {
    margin-top: 32px;
}

.resend-code-text {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.resend-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.resend-link:hover {
    color: #4a1fb8;
    text-decoration: underline;
}

.resend-timer {
    color: var(--text-light);
    font-weight: 400;
}

.back-link {
    margin-top: 8px;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.back-link a:hover {
    color: var(--primary-color);
}

.back-link a svg {
    transition: transform 0.2s;
}

.back-link a:hover svg {
    transform: translateX(-4px);
}

/* Responsive for Verify Email */
@media (max-width: 768px) {
    .verification-code-container {
        gap: 8px;
    }
    
    .code-input {
        width: 48px;
        height: 56px;
        font-size: 20px;
    }
    
    .email-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .email-icon-wrapper svg {
        width: 48px;
        height: 48px;
    }
    
    .verify-email-title {
        font-size: 24px;
    }
    
    .verify-email-subtitle {
        font-size: 14px;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .payment-method-card {
        flex-direction: column;
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* About Us & Contact Us Pages */
.about-page,
.contact-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.about-hero,
.contact-hero {
    text-align: center;
    margin-bottom: 60px;
}

.about-hero h1,
.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.page-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 16px;
}

.about-subtitle,
.contact-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 60px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    border-radius: 16px;
    margin: 60px 0;
}

.stats-section h2 {
    text-align: center;
    color: white;
    font-size: 32px;
    margin-bottom: 40px;
}

.stats-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form-section,
.contact-info-section {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.contact-info {
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.contact-details p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
    line-height: 1.6;
}

.social-links h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .about-hero h1,
    .contact-hero h1 {
        font-size: 32px;
    }
    
    .about-subtitle,
    .contact-subtitle {
        font-size: 16px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .values-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-about {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* Language Popup Modal */
.language-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.language-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.language-popup {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.language-popup-overlay.active .language-popup {
    transform: scale(1);
}

.language-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.language-popup-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.language-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.language-popup-close:hover {
    background: var(--border-color);
    color: var(--text-color);
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white);
}

.language-option:hover {
    border-color: var(--primary-color);
    background: rgba(94, 53, 177, 0.05);
}

.language-option.active {
    border-color: var(--primary-color);
    background: rgba(94, 53, 177, 0.1);
}

.language-option-flag {
    font-size: 24px;
    width: 32px;
    text-align: center;
}

.language-option-name {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.language-option-check {
    color: var(--primary-color);
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.2s;
}

.language-option.active .language-option-check {
    opacity: 1;
}

