/* style.css - Merged CSS for all pages */

/* ===== Base Styles & Variables ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #02A04B;
    --primary-light: #eef2ff;
    --secondary-color: #056130;
    --accent-color: #4cc9f0;
    --accent-light: #e0f7ff;
    --success-color: #4ade80;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8f9fa;
    --dark-color: #1e293b;
    --gray-color: #64748b;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(67, 97, 238, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Common Elements ===== */

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    animation: float 25s infinite linear;
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 30%;
    right: -50px;
    animation-delay: -5s;
    animation-direction: reverse;
}

.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, 50px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.4);
}

/* Back Button */
.back-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 100;
}

.back-btn a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.back-btn a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.3);
}

.back-btn i {
    font-size: 1.1rem;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    z-index: 1002;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    color:white;
}

.logo-text p {
    font-size: 0.85rem;
    color: white;
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 16px 20px 16px 55px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    color: var(--dark-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control.error {
    border-color: var(--danger-color);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    font-size: 1.1rem;
}

.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.required::after {
    content: ' *';
    color: var(--danger-color);
}

/* Form Layout */
.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

/* Student Type Selection */
.student-type-selection {
    margin-bottom: 30px;
}

.student-type-selection h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 600;
}

.type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.type-option {
    position: relative;
}

.type-option input[type="radio"] {
    display: none;
}

.type-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: var(--light-color);
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    gap: 10px;
}

.type-option label i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.type-option label span {
    font-weight: 600;
    color: var(--dark-color);
}

.type-option label small {
    font-size: 0.85rem;
    color: var(--gray-color);
    line-height: 1.4;
}

.type-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.1);
}

/* Department Selection */
.department-selection {
    margin-bottom: 25px;
    display: none;
}

.department-selection.show {
    display: block;
}

.department-selection h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 600;
}

.select-wrapper {
    position: relative;
}

.select-wrapper i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    pointer-events: none;
}

select.form-control {
    appearance: none;
    padding-right: 50px;
    cursor: pointer;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 20px center;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 20px;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    z-index: 2;
    transition: width 0.3s ease;
}

.step {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 60px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    color: var(--gray-color);
    transition: var(--transition);
}

.step.active .step-circle {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-circle {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.step.completed .step-circle i {
    font-size: 1.2rem;
}

.step-label {
    font-size: 0.85rem;
    color: var(--gray-color);
    font-weight: 600;
}

.step.active .step-label {
    color: var(--primary-color);
}

/* Form Sections */
.form-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Terms and Conditions */
.terms {
    margin-bottom: 25px;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 3px;
}

.terms-checkbox input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.terms-checkbox label {
    font-size: 0.9rem;
    color: var(--gray-color);
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

.terms-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.nav-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-prev {
    background: var(--light-color);
    color: var(--gray-color);
    border: 2px solid #e2e8f0;
}

.btn-prev:hover:not(:disabled) {
    background: #e2e8f0;
    color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-next {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-next:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.btn-submit {
    background: linear-gradient(135deg, var(--success-color), #22c55e);
    color: white;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

/* Password Strength */
.password-strength {
    margin-top: 10px;
}

.strength-meter {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-bottom: 5px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: var(--danger-color);
    border-radius: 3px;
    transition: width 0.3s ease, background 0.3s ease;
}

.strength-text {
    font-size: 0.85rem;
    color: var(--gray-color);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.remember-me input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.remember-me label {
    font-size: 0.9rem;
    color: var(--gray-color);
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Login/Signup Links */
.login-link,
.signup-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.login-link p,
.signup-link p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.login-link a,
.signup-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.login-link a:hover,
.signup-link a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Social Login */
.social-login {
    margin-top: 25px;
    text-align: center;
}

.social-login p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #e2e8f0;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-google {
    background: linear-gradient(135deg, #DB4437, #ea4335);
}

.social-microsoft {
    background: linear-gradient(135deg, #00a4ef, #0078d7);
}

.social-github {
    background: linear-gradient(135deg, #333, #24292e);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

/* ===== Home Page Styles ===== */
body.home {
    background-color: #f8fafc;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--secondary-color);
}

/* Auth Buttons - Desktop */
.auth-buttons {
    display: flex;
    gap: 15px;
    z-index: 1001;
}

/* Auth Buttons - Mobile Dropdown */
.auth-buttons-mobile {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    z-index: 1001;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.auth-buttons-mobile.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.auth-buttons-mobile .btn {
    width: 100%;
    border-radius: 0;
    padding: 15px 20px;
    justify-content: flex-start;
    border: none;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.auth-buttons-mobile .btn:last-child {
    border-bottom: none;
}

.auth-buttons-mobile .btn:hover {
    background-color: var(--primary-light);
}

/* Hero Section */
.hero {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(to right, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content .nacos-fullname {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.hero-content .nacos-acronym {
    font-size: 2.2rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gray-color);
    max-width: 90%;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    min-width: 200px;
}

.hero-visual {
    position: relative;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
    z-index: 2;
    animation: float-card 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: -30px;
    right: 80px;
    width: 160px;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    bottom: 40px;
    right: 0;
    width: 180px;
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    bottom: -20px;
    left: 40px;
    width: 150px;
    animation-delay: -4s;
}

.floating-card i {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.floating-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.floating-card p {
    font-size: 0.8rem;
    color: var(--gray-color);
    line-height: 1.4;
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin: 80px 0 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.3rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title h2 .nacos-highlight {
    color: var(--primary-color);
    font-weight: 900;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.section-title .nacos-tag {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Event Cards */
.events-section {
    margin-bottom: 80px;
}

.events-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--light-color);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.event-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 55px;
    height: 65px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.event-date .day {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
}

.event-image {
    height: 180px;
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    position: relative;
    overflow: hidden;
}

.event-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.event-content {
    padding: 25px;
}

.event-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.event-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.3;
}

.event-description {
    color: var(--gray-color);
    margin-bottom: 18px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.event-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}

.event-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-color);
    font-size: 0.85rem;
}

.event-info-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.event-cta {
    padding: 8px 20px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.9rem;
}

.event-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* Forum Preview */
.forum-preview {
    margin-bottom: 80px;
}

.forum-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.forum-card {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.forum-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.forum-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.forum-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.forum-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark-color);
    line-height: 1.3;
}

.forum-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.forum-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-color);
    font-size: 0.85rem;
}

.stat-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Mentors & Patrons Section */
.mentors-section {
    margin-bottom: 80px;
}

.mentors-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
}

.mentor-tab {
    background: none;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.mentor-tab.active {
    color: var(--primary-color);
}

.mentor-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.mentor-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 25px;
    position: relative;
}

.mentor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.mentor-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
    border: 5px solid white;
}

.mentor-name {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark-color);
    line-height: 1.3;
}

.mentor-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    font-size: 0.95rem;
}

.mentor-details {
    color: var(--gray-color);
    margin-bottom: 18px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.mentor-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
}

.expertise-tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mentor-connect {
    padding: 8px 20px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.9rem;
}

.mentor-connect:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* Bios Section */
.bios-section {
    margin-bottom: 80px;
}

.bios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.bio-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.bio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.bio-header {
    padding: 25px 25px 15px;
    text-align: center;
    background: linear-gradient(to right, var(--primary-light), var(--accent-light));
    position: relative;
}

.bio-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bio-name {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--dark-color);
    line-height: 1.3;
}

.bio-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.bio-year {
    color: var(--gray-color);
    font-size: 0.85rem;
}

.bio-content {
    padding: 20px;
}

.bio-details {
    color: var(--gray-color);
    margin-bottom: 18px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.bio-achievements {
    list-style: none;
    margin-bottom: 20px;
}

.bio-achievements li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bio-achievements i {
    color: var(--success-color);
    margin-top: 2px;
    font-size: 0.9rem;
}

/* Contributors Section */
.contributors-section {
    margin-bottom: 80px;
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 25px;
}

.contributor-card {
    background: white;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contributor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.contributor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.contributor-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.contributor-name {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-color);
    line-height: 1.3;
}

.contributor-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    font-size: 0.9rem;
}

.contribution-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 15px;
}

.contributor-description {
    color: var(--gray-color);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 25px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content .nacos-highlight {
    font-weight: 800;
    color: #4cc9f0;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    justify-content: center;
}

.cta-btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

.cta-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 20px 30px;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.8rem;
    width: 18px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ===== Registration & Login Page Styles ===== */
body.auth-page {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    color: var(--dark-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Registration Container */
.register-container,
.login-container {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.login-container {
    max-width: 450px;
}

.register-header,
.login-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.register-header::before,
.login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.register-header::before {
    background: url('https://nacosudusok.net.ng/assets/img/logo.jpeg');
}

.login-header::before {
    background: url('https://nacosudusok.net.ng/assets/img/logo.jpeg');
}

.logo-register,
.logo-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-register .logo-icon,
.logo-login .logo-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.logo-register .logo-text h1,
.logo-login .logo-text h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.logo-register .logo-text p,
.logo-login .logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.register-header h2,
.login-header h2 {
    font-size: 1.8rem;
    margin: 15px 0 10px;
    font-weight: 700;
}

.register-header p,
.login-header p {
    font-size: 1rem;
    opacity: 1;
}

.register-form,
.login-form {
    padding: 40px 30px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content .nacos-fullname {
        font-size: 1.6rem;
    }
    
    .hero-content .nacos-acronym {
        font-size: 2rem;
    }
    
    .hero-content p {
        max-width: 100%;
    }
    
    .floating-card {
        display: none;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
        padding: 0 15px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 2;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .auth-buttons-mobile {
        display: flex;
    }
    
    .hero {
        padding: 70px 15px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content .nacos-fullname {
        font-size: 1.4rem;
    }
    
    .hero-content .nacos-acronym {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
    }
    
    .section-title {
        margin: 60px 0 40px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .events-grid, .forum-cards, .mentors-grid, .bios-grid, .contributors-grid {
        grid-template-columns: 1fr;
    }
    
    .events-filter {
        gap: 8px;
        margin-bottom: 25px;
    }
    
    .filter-btn {
        padding: 7px 16px;
        font-size: 0.85rem;
    }
    
    .event-card, .forum-card, .mentor-card, .bio-card, .contributor-card {
        padding: 20px;
    }
    
    .cta-section {
        padding: 60px 15px;
        margin-bottom: 60px;
        border-radius: 20px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
    }
    
    /* Auth Pages Responsive */
    body.auth-page {
        padding: 15px;
        align-items: flex-start;
    }

    .back-btn {
        top: 20px;
        left: 20px;
    }

    .back-btn a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .register-container,
    .login-container {
        margin-top: 60px;
        max-width: 100%;
    }

    .register-header,
    .login-header {
        padding: 30px 20px;
    }

    .logo-register .logo-text h1,
    .logo-login .logo-text h1 {
        font-size: 1.8rem;
    }

    .register-header h2,
    .login-header h2 {
        font-size: 1.5rem;
    }

    .register-form,
    .login-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .type-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .type-option label {
        padding: 15px;
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }

    .type-option label i {
        margin-bottom: 0;
        font-size: 1.5rem;
    }

    .progress-steps {
        margin-bottom: 30px;
    }

    .step {
        width: 50px;
    }

    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.8rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.4rem;
    }
    
    .header-container {
        height: 65px;
        padding: 0 12px;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 50px 12px;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content .nacos-fullname {
        font-size: 1.2rem;
    }
    
    .hero-content .nacos-acronym {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .event-title, .forum-card h3, .mentor-name, .bio-name, .contributor-name {
        font-size: 1.2rem;
    }
    
    .event-content, .forum-card, .mentor-card, .bio-content, .contributor-card {
        padding: 18px;
    }
    
    .event-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .event-cta, .mentor-connect {
        width: 100%;
        text-align: center;
    }
    
    .cta-section {
        padding: 50px 12px;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    footer {
        padding: 50px 12px 25px;
    }
    
    /* Auth Pages Responsive */
    .back-btn {
        top: 15px;
        left: 15px;
    }

    .back-btn a {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .register-header,
    .login-header {
        padding: 25px 15px;
    }

    .logo-register,
    .logo-login {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo-register .logo-icon,
    .logo-login .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .logo-register .logo-text h1,
    .logo-login .logo-text h1 {
        font-size: 1.5rem;
    }

    .register-form,
    .login-form {
        padding: 25px 15px;
    }

    .form-control {
        padding: 14px 15px 14px 45px;
        font-size: 0.95rem;
    }

    .input-with-icon i {
        left: 15px;
    }

    .nav-btn,
    .submit-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-content .nacos-acronym {
        font-size: 1.3rem;
    }
    
    .section-title h2 {
        font-size: 1.3rem;
    }
    
    .events-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        margin-left: -5px;
        margin-right: -5px;
        padding-left: 5px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
    
    .auth-buttons-mobile {
        right: 12px;
        min-width: 180px;
    }
    
    /* Auth Pages Responsive */
    .social-buttons {
        flex-wrap: wrap;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Auth Page Center Alignment */
.auth-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
}

.register-container,
.login-container {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    position: relative;
    z-index: 10;
    /* Remove old margin-top if it exists */
    margin: 0 auto;
}

.login-container {
    max-width: 450px;
}

/* Remove the old auth-page body styles and replace with: */
body.auth-page {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    color: var(--dark-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    /* Remove display: flex from here */
}

/* Update responsive styles for auth pages */
@media (max-width: 768px) {
    body.auth-page {
        align-items: flex-start;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    .auth-page-wrapper {
        min-height: calc(100vh - 80px); /* Account for back button */
        padding: 15px;
    }
    
    .register-container,
    .login-container {
        margin-top: 0; /* Remove old margin-top */
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .auth-page-wrapper {
        padding: 12px;
        min-height: calc(100vh - 70px);
    }
}
/* Pure CSS Solution for Centering */

body.auth-page {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    color: var(--dark-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-page-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    position: relative;
}

.register-container,
.login-container {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    position: relative;
    z-index: 10;
    margin: 0 auto;
    /* Add animation for smooth appearance */
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    max-width: 450px;
}

/* Make back button position relative for better layout */
body.auth-page .back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .auth-page-wrapper {
        padding: 15px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    body.auth-page {
        min-height: 100vh;
    }
    
    .register-container,
    .login-container {
        margin-top: 60px; /* Make space for back button */
    }
}

@media (max-width: 480px) {
    .auth-page-wrapper {
        padding: 12px;
    }
    
    body.auth-page .back-btn {
        top: 15px;
        left: 15px;
    }
    
    body.auth-page .back-btn a {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .register-container,
    .login-container {
        margin-top: 55px;
    }
}


/* Fix for toggle password position */
.input-with-icon {
    position: relative;
}

.input-with-icon .toggle-password {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray-color);
    font-size: 18px;
    z-index: 2;
    background: none;
    border: none;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-with-icon .toggle-password:hover {
    color: var(--primary-color);
}

/* Ensure the input has enough padding on the right */
.input-with-icon input[type="password"],
.input-with-icon input[type="text"] {
    padding-right: 50px !important;
}
/* Add to styles.css - Mobile responsive review section */
@media (max-width: 768px) {
    #reviewInfo {
        padding: 15px !important;
        margin: 15px 0 !important;
    }
    
    #reviewInfo > div {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    #reviewInfo > div > div {
        padding: 12px 15px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        background: white !important;
        margin-bottom: 8px !important;
    }
    
    .form-section#step3 h3 {
        font-size: 1.3rem !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 480px) {
    #reviewInfo {
        padding: 10px !important;
    }
    
    #reviewInfo > div > div {
        padding: 10px 12px !important;
    }
}
/* Add to styles.css */
.review-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-field {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 12px 15px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: var(--transition);
}

.review-field:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(2, 160, 75, 0.1);
}

.review-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 140px;
    margin-right: 15px;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.review-value {
    flex: 1;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .review-field {
        flex-direction: column;
        gap: 5px;
        padding: 10px;
    }
    
    .review-label {
        min-width: auto;
        margin-right: 0;
        font-size: 0.9rem;
    }
    
    .review-value {
        font-size: 0.95rem;
    }
}
