﻿:root {
    --primary: #1e2a3b;
    --primary-light: #2a3a50;
    --secondary: orangered;
    --secondary-light: #ff7b47;
    --accent: #34a853;
    --light: #ffffff;
    --dark: #0f1721;
    --gray: #8a94a6;
    --gray-light: #e2e8f0;
    --border: #2d3e50;
    --color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--primary);
    color: var(--color);
    overflow-x: hidden;
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--color);
    padding: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(15, 23, 33, 0.3);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 8px;
    color: var(--secondary);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--light);
    cursor:pointer;
}

/* Internet Status - Fixed CSS */
#internetStatusPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.internet-status-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 350px;
    margin: 20px;
    border: 2px solid #ff4400;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.status-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

    .status-icon.status-offline {
        color: #ff4400;
    }

    .status-icon.status-online {
        color: #34a853;
    }

.internet-status-content h2 {
    color: #1e2a3b;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
}

.internet-status-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
    font-size: 14px;
}

.retry-btn {
    background: #ff4400;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

    .retry-btn:hover {
        background: #e63e00;
    }

#connectionIndicator {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 10000;
}

    #connectionIndicator.connection-online {
        background: #34a853;
        box-shadow: 0 0 10px #34a853;
    }

    #connectionIndicator.connection-offline {
        background: #ff4400;
        box-shadow: 0 0 10px #ff4400;
        animation: blink 1s infinite;
    }

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}



/* Welcome Section */
.welcome-section {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
}

.welcome-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color:transparent;
}

.welcome-subtitle {
    color: var(--gray);
    font-size: 16px;
}

/* Search Bar */
.search-container {
    margin: 16px 0;
    position: relative;
    display: flex;
}

.search-bar {
    width: 100%;
    padding: 14px 45px 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background-color: var(--primary-light);
    color: var(--color);
    font-size: 16px;
}

    .search-bar::placeholder {
        color: var(--gray);
    }

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

/* Categories with Horizontal Scroll */
.categories-container {
    position: relative;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
}
.dimmer {
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-light) 100%);
    background-size: 200% 100%;
    animation: dimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes dimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}
.categories-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    flex: 1;
}

    .categories-scroll::-webkit-scrollbar {
        display: none;
    }

.category {
    flex: 0 0 auto;
    padding: 8px 16px;
    background-color: var(--primary-light);
    border-radius: 20px;
    white-space: nowrap;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

    .category.active {
        background-color: var(--secondary);
        color: var(--light);
        font-weight: 600;
        border-color: var(--secondary);
    }

.category-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--light);
    animation: spin 1s linear infinite;
    margin-right: 6px;
    display: none;
}

.category.loading .category-spinner {
    display: block;
}

.category.loading .category-text {
    opacity: 0.7;
}

/* Scroll indicators */
.scroll-indicator {
    width: 30px;
    height: 30px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
    z-index: 5;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .scroll-indicator:hover {
        opacity: 1;
        background-color: var(--secondary);
    }

.scroll-left {
    margin-right: 8px;
}

.scroll-right {
    margin-left: 8px;
}

.scroll-indicator.hidden {
    display: none;
}

/* Course Cards - Flex Layout */
.section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-all {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 600;
}

.courses-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-card {
    background-color: var(--primary-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    height: 120px;
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
}

    .course-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.course-image {
    width: 100px;
    min-width: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color);
    font-size: 24px;
    border-right: 1px solid var(--border);
}

.course-level {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--accent);
    color: var(--light);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

.course-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.course-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--color);
    min-height: 0;
    flex-shrink: 0;
}

.course-instructor {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.instructor-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--secondary);
    margin-right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: var(--light);
}
.highlight {
    background-color: #ffeb3b;
    color: #000;
    font-weight: bold;
    border-radius: 3px;
    padding: 0 2px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-duration, .course-rating {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--gray);
}

.course-rating {
    color: var(--secondary);
}

.course-price {
    font-weight: 700;
    font-size: 16px;
    color: var(--accent);
}
#loadingIndicator {
    text-align: center;
    padding: 20px;
    color: orangered;
    font-weight: bold;
    display: none; /* Start hidden */
    background: #fff;
    margin: 10px 0;
    border-radius: 5px;
    border: 2px solid red;
}
.spinner-icon {
    display: none;
}
dev-user-btn-signup.spinners .spinner-icon {
    display: inline-block;
}
.dev-user-btn-signup.spinners::after {
    animation: spins 1s linear infinite;
}

.spinners {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid orangered;
    border-radius: 50%;
    animation: spins 1s linear infinite;
    margin-right: 15px;
    vertical-align: middle;
}

@keyframes spins {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#noMoreItems {
    text-align: center;
    padding: 15px;
    color: #666;
    background: #f0f0f0;
    margin: 10px 0;
    border-radius: 5px;
    display: none; /* Start hidden */
}

/* Loading Spinner for Cards */
.card-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 42, 59, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .card-loading.active {
        opacity: 1;
    }

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Shimmer Effect */
.shimmer {
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-light) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Shimmer elements */
.shimmer-logo {
    height: 24px;
    width: 120px;
    border-radius: 4px;
}

.shimmer-avatar {
    height: 36px;
    width: 36px;
    border-radius: 50%;
}

.shimmer-header {
    height: 24px;
    width: 70%;
    margin-bottom: 8px;
}

.shimmer-subheader {
    height: 16px;
    width: 90%;
}

.shimmer-search {
    height: 48px;
    border-radius: 12px;
}

.shimmer-category {
    height: 32px;
    width: 80px;
    border-radius: 20px;
}

.shimmer-title {
    height: 20px;
    width: 60%;
    margin-bottom: 12px;
}

.shimmer-view-all {
    height: 16px;
    width: 50px;
}

.shimmer-card {
    height: 130px;
    border-radius: 12px;
}

.shimmer-progress-header {
    height: 20px;
    width: 70%;
    margin-bottom: 8px;
}

.shimmer-progress-percent {
    height: 20px;
    width: 40px;
}

.shimmer-progress-bar {
    height: 6px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.shimmer-progress-text {
    height: 12px;
    width: 50%;
}

/* Bottom Navigation - Flex Layout */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-light);
    display: flex;
    padding: 10px 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-top: 1px solid var(--border);
    height: 70px;
}

.nav-button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.explore-btn {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--light);
    margin-right: 8px;
}

.signin-btn {
    background-color: var(--primary-light);
    color: var(--secondary);
    border: 2px solid var(--secondary);
    margin-left: 8px;
}


/* Course Details Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 33, 0.9);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--primary-light);
    margin: 20px;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.modal-header {
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--secondary);
    color: var(--light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    cursor: pointer;
}

.modal-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color);
    font-size: 48px;
    border-bottom: 1px solid var(--border);
}

.modal-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color);
}

.modal-instructor {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.modal-instructor-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--secondary);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--light);
}

.modal-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.modal-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-meta-value {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--color);
}

.modal-meta-label {
    font-size: 11px;
    color: var(--gray);
}

.modal-description {
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 14px;
    color: var(--color);
}

.modal-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color);
}

.modal-curriculum {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.curriculum-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--color);
}

    .curriculum-item:last-child {
        border-bottom: none;
    }
.tUrl{
    display:block;
}

.curriculum-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--secondary);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--light);
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.modal-button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enroll-btn {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--light);
}

.wishlist-btn {
    background-color: var(--primary-light);
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

/* Button Loading State */
.modal-button.loading {
    pointer-events: none;
}

    .modal-button.loading .button-text {
        opacity: 0;
    }

.button-spinner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-radius: 50%;
    border-top-color: var(--light);
    animation: spin 1s linear infinite;
    display: none;
}

.modal-button.loading .button-spinner {
    display: block;
}

.wishlist-btn.loading .button-spinner {
    border-top-color: var(--secondary);
}

.signin-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
}

/* CONTENT AREA */
.signin-content {
    background-color: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 18px;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* TEXTS */
.signin-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
    color: var(--color);
}

.signin-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 14px;
}

/* INPUTS */
.form-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color);
}

.form-input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    color: var(--color);
    background-color: var(--primary);
}

    .form-input::placeholder {
        color: var(--gray);
    }

/* REMEMBER & FORGOT */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    flex-wrap:wrap;
    
}

.remember-me {
    display: flex;
    align-items: center;
    color: var(--color);
}
#chkshowhide {
    margin-left: 50px;
    color: var(--secondary);
    font-weight: 600;    
}

.remember-me input {
    margin-right: 6px;
}
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.show-password-checkbox {
    display: none; /* Hide original checkbox */
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: orangered;
    font-weight: 500;
    user-select: none;
    transition: color 0.3s ease;
}

    .checkbox-label:hover {
        color: orangered;
    }

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

    .custom-checkbox::after {
        content: '';
        position: absolute;
        width: 12px;
        height: 12px;
        background: orangered;
        border-radius: 3px;
        transform: scale(0);
        transition: transform 0.2s ease;
    }

.show-password-checkbox:checked + .checkbox-label .custom-checkbox {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

    .show-password-checkbox:checked + .checkbox-label .custom-checkbox::after {
        transform: scale(1);
    }

/* Eye icon animation */
.checkbox-label::before {
   
    font-size: 18px;
    transition: transform 0.3s ease;
}

.show-password-checkbox:checked + .checkbox-label::before {
    
    transform: scale(1.1);
}
.forgot-password {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
   
}

/* BUTTON */
.signin-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--light);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 14px;
}

/* SIGNUP LINK */
.signup-link {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
}

    .signup-link a {
        color: var(--secondary);
        font-weight: 600;
        text-decoration: none;
    }

/* ------------------------------------
   📱 MOBILE + TABLET RESPONSIVENESS
------------------------------------ */

@media (max-width: 768px) {
    .signin-content {
        max-width: 92%;
        padding: 18px 14px;
    }

    .signin-title {
        font-size: 18px;
    }

    .form-input {
        font-size: 15px;
        padding: 12px;
    }

    .signin-submit {
        font-size: 15px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .signin-content {
        border-radius: 12px;
        padding: 16px 12px;
        box-shadow: none;
        max-width: 100%;
    }

    .signin-title {
        font-size: 17px;
    }

    .signin-subtitle {
        font-size: 13px;
    }
}
/* Progress Section */
.progress-section {
    background-color: var(--primary-light);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-title {
    font-size: 16px;
    font-weight: 700;
}

.progress-bar {
    height: 6px;
    background-color: var(--primary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 3px;
    width: 10%;
}

.progress-text {
    font-size: 12px;
    color: var(--gray);
}

/*SU*/
.dev-user-signup-container {
    width: 100%;
    max-width: 480px;
    margin: 50px auto;
    background: var(--primary);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(30, 42, 59, 0.15);
    overflow: hidden;
    border: 1px solid var(--border);
}

.dev-user-signup-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--light);
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
}

    .dev-user-signup-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--secondary);
    }

.dev-user-signup-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--light);
}

.dev-user-signup-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--light);
}

.dev-user-signup-header p {
    opacity: 0.9;
    font-size: 1rem;
    color: var(--light);
}

.dev-user-signup-form {
    padding: 40px;
    background: var(--primary);
}

.dev-user-form-group {
    margin-bottom: 25px;
    position: relative;
}

.dev-user-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--light);
    font-size: 0.95rem;
}

.dev-user-form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light);
    color: var(--dark);
    box-sizing: border-box;
    display: block;
}

    .dev-user-form-control:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
    }

.dev-user-form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--gray);
}

.dev-user-password-toggle {
    position: absolute;
    right: 15px;
    top: 42px;
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    z-index: 2;
}

.dev-user-form-row {
    display: flex;
    gap: 15px;
}

    .dev-user-form-row .dev-user-form-group {
        flex: 1;
        min-width: 0;
    }

.dev-user-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
    width: 100%;
    padding: 10px 0;
}

.dev-user-checkbox-control {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--secondary);
    flex-shrink: 0;
    cursor: pointer;
}

.dev-user-checkbox-label {
    font-size: 0.9rem;
    color: var(--light);
    line-height: 1.5;
    flex: 1;
    cursor: pointer;
    margin: 0;
}

    .dev-user-checkbox-label a {
        color: var(--secondary);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .dev-user-checkbox-label a:hover {
            text-decoration: underline;
            color: var(--secondary-light);
        }

.dev-user-btn-signup {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--light);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    display: block;
    position: relative;
    overflow: hidden;
}

    .dev-user-btn-signup:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
    }

    .dev-user-btn-signup:focus {
        outline: 3px solid rgba(255, 69, 0, 0.3);
        outline-offset: 2px;
    }

    .dev-user-btn-signup:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    /* Button loading spinner */
    .dev-user-btn-signup.loading {
        color: transparent;
    }

        .dev-user-btn-signup.loading::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 2px solid transparent;
            border-top-color: var(--light);
            border-radius: 50%;
            animation: dev-button-spin 1s ease infinite;
        }

.dev-user-signup-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
    color: var(--gray);
    font-size: 0.9rem;
}

    .dev-user-signup-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--border);
    }

    .dev-user-signup-divider span {
        background: var(--primary);
        padding: 0 20px;
        position: relative;
    }

.dev-user-social-signup {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.dev-user-btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

    .dev-user-btn-social:hover {
        border-color: var(--secondary);
        transform: translateY(-1px);
    }

    .dev-user-btn-social:focus {
        outline: 3px solid rgba(255, 69, 0, 0.3);
        outline-offset: 2px;
    }

.dev-user-signup-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.95rem;
}

    .dev-user-signup-footer a {
        color: var(--secondary);
        text-decoration: none;
        font-weight: 600;
        margin-left: 5px;
        transition: color 0.3s ease;
    }

        .dev-user-signup-footer a:hover {
            text-decoration: underline;
            color: var(--secondary-light);
        }

.dev-user-password-strength {
    margin-top: 8px;
    height: 4px;
    background: var(--gray-light);
    border-radius: 2px;
    overflow: hidden;
}

.dev-user-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

    .dev-user-strength-bar.weak {
        width: 33.33%;
        background: #e74c3c;
    }

    .dev-user-strength-bar.medium {
        width: 66.66%;
        background: #f39c12;
    }

    .dev-user-strength-bar.strong {
        width: 100%;
        background: var(--accent);
    }

/* Improved focus styles for better tab navigation */
.dev-user-form-control:focus,
.dev-user-checkbox-control:focus,
.dev-user-btn-signup:focus,
.dev-user-btn-social:focus,
.dev-user-signup-footer a:focus {
    outline: 3px solid rgba(255, 69, 0, 0.3);
    outline-offset: 2px;
}

/* Validation Styles */
.dev-validation-summary {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #721c24;
}

    .dev-validation-summary ul {
        margin: 0;
        padding-left: 20px;
    }

    .dev-validation-summary li {
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

.dev-validation-error {
    color: #dc3545;
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
    font-weight: 500;
}

/* Password Strength Container */
.dev-user-password-strength-container {
    margin-top: 10px;
}

.dev-user-strength-text {
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
    transition: color 0.3s ease;
    color: var(--gray);
}

    .dev-user-strength-text.weak {
        color: #dc3545;
    }

    .dev-user-strength-text.medium {
        color: #ffc107;
    }

    .dev-user-strength-text.strong {
        color: var(--accent);
    }

/* Improved focus for validation */
.dev-user-form-control.error {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.dev-user-form-control.valid {
    border-color: var(--accent);
}

/* Success Popup Styles */
.dev-success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: dev-fadeIn 0.3s ease;
}

.dev-success-popup-container {
    background: var(--primary);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: dev-slideUp 0.5s ease;
    border: 3px solid var(--accent);
    position: relative;
}

.dev-success-popup-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 20px;
    animation: dev-bounce 1s ease;
}

.dev-success-popup-content h3 {
    color: var(--light);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.dev-success-popup-content p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dev-success-popup-timer {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    color: var(--light);
    padding: 12px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    font-weight: 600;
    animation: dev-pulse 2s infinite;
}

.dev-success-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.dev-success-popup-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--light);
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dev-success-popup-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(30, 42, 59, 0.3);
    }

.dev-success-popup-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

    .dev-success-popup-link:hover {
        color: var(--secondary-light);
        text-decoration: underline;
    }

/* Animations */
@keyframes dev-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes dev-slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dev-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes dev-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 69, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
    }
}

/* Button Spinner Animation */
@keyframes dev-button-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Custom Button Styles */
.dev-btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 2px solid transparent;
    padding: 12px 24px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

    .dev-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.3);
    }

    .dev-btn:active {
        transform: translateY(1px);
    }

/* Primary Button */
.dev-btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--light);
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

    .dev-btn-primary:hover:not(:disabled) {
        background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
        border-color: var(--secondary-light);
    }

    .dev-btn-primary:active {
        transform: translateY(0);
        box-shadow: 0 2px 10px rgba(255, 69, 0, 0.3);
    }

    .dev-btn-primary.loading {
        color: transparent;
    }

        .dev-btn-primary.loading::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 2px solid transparent;
            border-top-color: var(--light);
            border-radius: 50%;
            animation: dev-button-spin 1s ease infinite;
        }

/* Other button styles remain the same with your color variables */
.dev-btn-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--light);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(30, 42, 59, 0.3);
}

.dev-btn-success {
    background: linear-gradient(135deg, var(--accent) 0%, #4caf50 100%);
    color: var(--light);
    border-color: var(--accent);
}

/* Mobile View */
@media (max-width: 768px) {
    .dev-user-signup-container {
        margin: 0;
        border-radius: 0;
        max-width: 100%;
        height: auto;
        min-height: 100vh;
        box-shadow: none;
        border: none;
    }

    .dev-user-signup-form {
        padding: 30px 20px;
    }

    .dev-user-form-row {
        flex-direction: column;
        gap: 0;
    }

    .dev-user-social-signup {
        flex-direction: column;
    }

    .dev-user-checkbox-group {
        padding: 15px 0;
    }

    .dev-user-checkbox-label {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .dev-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .dev-btn-lg {
        padding: 14px 28px;
    }

    .dev-btn-sm {
        padding: 6px 12px;
    }

    .dev-success-popup-container {
        padding: 30px 25px;
        margin: 20px;
    }

    .dev-success-popup-icon {
        font-size: 3rem;
    }

    .dev-success-popup-content h3 {
        font-size: 1.5rem;
    }

    .dev-success-popup-content p {
        font-size: 1rem;
    }
}
/* Terms Checkbox Specific Styles */
.dev-user-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--secondary);
    flex-shrink: 0;
    cursor: pointer;
}

/* ASP.NET CheckBox ko target karna */
.dev-user-checkbox-group .dev-user-checkbox-control {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--secondary);
    flex-shrink: 0;
    cursor: pointer;
    transform: scale(1.2); /* Checkbox size increase */
    margin-right: 8px;
}

/* Checkbox ke wrapper ko bhi style karein */
.dev-user-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
    width: 100%;
    padding: 10px 0;
    background: var(--primary-light);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--border);
}

.dev-user-checkbox-label {
    font-size: 0.9rem;
    color: var(--light);
    line-height: 1.5;
    flex: 1;
    cursor: pointer;
    margin: 0;
    font-weight: 500;
}

    .dev-user-checkbox-label a {
        color: var(--secondary);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .dev-user-checkbox-label a:hover {
            text-decoration: underline;
            color: var(--secondary-light);
        }

/* Custom checkbox styling agar browser support kare */
.dev-user-checkbox-group input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: var(--primary);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

    .dev-user-checkbox-group input[type="checkbox"]:checked {
        background: var(--secondary);
        border-color: var(--secondary);
    }

        .dev-user-checkbox-group input[type="checkbox"]:checked::before {
            content: '✓';
            position: absolute;
            color: var(--light);
            font-size: 14px;
            font-weight: bold;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

    .dev-user-checkbox-group input[type="checkbox"]:hover {
        border-color: var(--secondary);
    }
/* Terms Checkbox Group with Proper Validator Positioning */
.dev-user-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 5px; /* Reduce margin */
    width: 100%;
    padding: 10px 0;
    background: var(--primary-light);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--border);
    position: relative;
}

    /* Validator message ko checkbox ke neeche position karein */
    .dev-user-checkbox-group + .dev-validation-error {
        display: block;
        margin-top: 5px;
        margin-bottom: 15px;
        padding: 8px 12px;
        background: rgba(220, 53, 69, 0.1);
        border: 1px solid #dc3545;
        border-radius: 4px;
        color: #dc3545;
        font-size: 0.8rem;
    }
/* Email Exists Popup Styles - Mobile Fixed */
#emailExistsPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: dev-fadeIn 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

    #emailExistsPopup .popup-container {
        background: var(--primary);
        border-radius: 20px;
        padding: 40px;
        text-align: center;
        max-width: 450px;
        width: 100%;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        animation: dev-slideUp 0.5s ease;
        border: 3px solid #ffc107;
        position: relative;
        margin: auto;
    }

    #emailExistsPopup .popup-icon {
        font-size: 4rem;
        color: #ffc107;
        margin-bottom: 20px;
        animation: dev-bounce 1s ease;
    }

    #emailExistsPopup .popup-content h3 {
        color: var(--light);
        font-size: 1.8rem;
        margin-bottom: 15px;
        font-weight: 700;
    }

    #emailExistsPopup .popup-content p {
        color: var(--gray);
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    #emailExistsPopup .email-text {
        color: var(--secondary);
        font-weight: 600;
        background: rgba(255, 69, 0, 0.1);
        padding: 2px 8px;
        border-radius: 4px;
    }

    #emailExistsPopup .popup-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }

    #emailExistsPopup .popup-btn {
        background: linear-gradient(135deg, #ffc107, #ffb300);
        color: var(--dark);
        border: none;
        padding: 15px 30px;
        border-radius: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        #emailExistsPopup .popup-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
        }

    #emailExistsPopup .popup-link {
        color: var(--secondary);
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

        #emailExistsPopup .popup-link:hover {
            color: var(--secondary-light);
            text-decoration: underline;
        }

/* Mobile aur Tablet ke liye Responsive Design */
@media (max-width: 768px) {
    #emailExistsPopup {
        padding: 15px;
        align-items: center; /* Center maintain karega */
        justify-content: center;
    }

        #emailExistsPopup .popup-container {
            padding: 30px 25px;
            border-radius: 15px;
            max-width: 90%;
            width: 90%;
            margin: 0 auto;
        }

        #emailExistsPopup .popup-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }

        #emailExistsPopup .popup-content h3 {
            font-size: 1.5rem;
            margin-bottom: 12px;
        }

        #emailExistsPopup .popup-content p {
            font-size: 1rem;
            line-height: 1.5;
            margin-bottom: 15px;
        }

        #emailExistsPopup .popup-actions {
            flex-direction: column;
            gap: 12px;
            margin-top: 20px;
        }

        #emailExistsPopup .popup-btn {
            padding: 12px 20px;
            font-size: 1rem;
        }
}

@media (max-width: 480px) {
    #emailExistsPopup {
        padding: 10px;
        align-items: center;
        justify-content: center;
    }

        #emailExistsPopup .popup-container {
            padding: 25px 20px;
            border-radius: 12px;
            max-width: 95%;
            width: 95%;
        }

        #emailExistsPopup .popup-icon {
            font-size: 2.5rem;
            margin-bottom: 12px;
        }

        #emailExistsPopup .popup-content h3 {
            font-size: 1.3rem;
        }

        #emailExistsPopup .popup-content p {
            font-size: 0.9rem;
        }

        #emailExistsPopup .popup-btn {
            padding: 10px 16px;
            font-size: 0.9rem;
        }

        #emailExistsPopup .popup-link {
            font-size: 0.9rem;
        }
}

/* Touch devices ke liye better experience */
@media (hover: none) and (pointer: coarse) {
    #emailExistsPopup .popup-btn:hover {
        transform: none;
        box-shadow: none;
    }

    #emailExistsPopup .popup-link:hover {
        color: var(--secondary);
    }
}
.faq-container {
    max-width: 800px;
    margin: 40px auto;
    background-color: var(--light);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-header {
    background-color: var(--primary);
    color: var(--light);
    padding: 30px;
    text-align: center;
}

    .faq-header h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .faq-header p {
        color: var(--gray-light);
        font-size: 1.1rem;
    }

.faq-content {
    padding: 30px;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 15px;
    padding-bottom: 15px;
}

    .faq-item:last-child {
        border-bottom: none;
    }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

    .faq-question:hover {
        color: var(--secondary);
    }

    .faq-question::after {
        content: '+';
        font-size: 1.5rem;
        color: var(--gray);
        transition: transform 0.3s ease, color 0.3s ease;
    }

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--primary);
    padding-left: 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ul {
    margin-left: 20px;
    margin-bottom: 15px;
    list-style: none; /* Remove default bullets */
}

.faq-answer li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px; /* Add space for custom bullet */
}

    .faq-answer li::before {
        content: "•";
        color: var(--secondary);
        font-weight: bold;
        font-size: 1.2rem;
        position: absolute;
        left: 0;
    }

.highlight {
    color: var(--secondary);
    font-weight: 600;
}

.contact-section {
    background-color: var(--gray-light);
    padding: 25px;
    text-align: center;
    border-radius: 0 0 12px 12px;
}

    .contact-section p {
        margin-bottom: 15px;
        color: var(--primary);
    }

.contact-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .contact-btn:hover {
        background-color: var(--secondary-light);
    }

@media (max-width: 768px) {
    .faq-container {
        margin: 20px auto;
    }

    .faq-header, .faq-content {
        padding: 20px;
    }

        .faq-header h1 {
            font-size: 1.8rem;
        }
}
.mda-container {
    width: 100%;
    max-width: 450px;
}

.mda-logo {
    text-align: center;
    margin-bottom: 30px;
}

    .mda-logo h1 {
        font-size: 32px;
        font-weight: 700;
        color: var(--light);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .mda-logo span {
        color: var(--secondary);
    }

.mda-logo-icon {
    background: var(--secondary);
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mda-card {
    background-color: var(--primary-light);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

    .mda-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--secondary), var(--accent));
    }

    .mda-card h2 {
        text-align: center;
        margin-bottom: 10px;
        font-size: 26px;
        font-weight: 600;
    }

    .mda-card p {
        text-align: center;
        color: var(--gray);
        margin-bottom: 30px;
        font-size: 15px;
        line-height: 1.5;
    }

.mda-form-group {
    margin-bottom: 20px;
}

    .mda-form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 500;
        color: var(--gray-light);
    }

.mda-form-control {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--color);
    font-size: 15px;
    transition: all 0.3s;
}

    .mda-form-control:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
    }

.mda-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--light);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .mda-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
    }

    .mda-btn:active {
        transform: translateY(0);
    }

    .mda-btn:disabled {
        background: var(--gray);
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.mda-otp-container {
    margin-top: 20px;
    animation: fadeIn 0.5s ease;
}

.mda-otp-inputs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mda-otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    background-color: var(--dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--color);
    transition: all 0.3s;
}

    .mda-otp-input:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 2px rgba(255, 69, 0, 0.2);
        transform: scale(1.05);
    }

.mda-resend-otp {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray);
}

    .mda-resend-otp a {
        color: var(--secondary);
        text-decoration: none;
        cursor: pointer;
        font-weight: 600;
    }

        .mda-resend-otp a:hover {
            text-decoration: underline;
        }

.mda-timer {
    color: var(--accent);
    font-weight: 600;
}

.mda-success-message {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: rgba(52, 168, 83, 0.1);
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid var(--accent);
    animation: fadeIn 0.5s ease;
}

    .mda-success-message p {
        color: var(--accent);
        margin-bottom: 0;
    }

.mda-back-to-login {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
}

    .mda-back-to-login a {
        color: var(--secondary);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

        .mda-back-to-login a:hover {
            text-decoration: underline;
        }

.mda-steps {
    display: flex;
    justify-content: space-between;
    align-items: center; /* center circles vertically */
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

    /* Progress line behind steps */
    .mda-steps::before {
        content: '';
        position: absolute;
        top: 50%; /* center vertically relative to circle */
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--border);
        z-index: 1;
    }

/* Step circle */
.mda-step {
    width: 36px; /* slightly bigger */
    height: 36px;
    border-radius: 50%;
    background-color: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    position: relative; /* keep above line */
    z-index: 2;
    margin: 0 auto;
}

    /* Active / Completed states */
    .mda-step.active {
        background-color: var(--secondary);
        color: var(--light);
    }

    .mda-step.completed {
        background-color: var(--accent);
        color: var(--light);
    }

/* Step label below each circle */
.mda-step-label {
    margin-top: 8px;
    font-size: 12px;
    color: var(--gray);
    display: block;
    text-align: center;
}

/* Wrap each step + label to prevent overlap */
.mda-step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}



.password-wrapper {
    margin-bottom: 15px;
}

.password-box {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.error-text {
    color: red;
    display: block;
    margin-top: 5px;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .mda-card {
        padding: 30px 20px;
    }

    .mda-otp-input {
        width: 40px;
        height: 40px;
    }
}
   
