* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
    gap: 20px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo img {
    width: 180px;
    height: auto;
    margin-right: 25px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1) rotate(5deg);
}

.title {
    text-align: center;
    flex: 2;
    padding: 0 20px;
}

.title h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    white-space: nowrap;
}

.title h2 {
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 80px 40px;
    text-align: center;
    margin: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: #555;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 150px;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 40px;
}

.feature-item span:last-child {
    font-weight: 500;
    color: #333;
}

/* Experiments Section */
.experiments-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 30px;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 300;
    margin-top: 25px;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.exp-btn {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.exp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.exp-btn:hover::before {
    left: 100%;
}

.exp-btn:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    font-size: 36px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    color: white;
}

.btn-text strong {
    font-size: 22px;
    font-weight: 600;
    display: block;
}

.btn-text small {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

.btn-arrow {
    font-size: 28px;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
    flex-shrink: 0;
}

.exp-btn:hover .btn-arrow {
    transform: translateX(5px);
    opacity: 1;
}

/* Individual Button Colors */
.brake {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.swinburne {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.oc {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.sc {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.hopkinson {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

/* About Section */
.about-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 30px;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1.2s ease-out;
}

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

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 25px;
    text-align: center;
}

.about-content>p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.benefit-icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    margin-top: 50px;
    padding: 50px 40px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 10px;
}

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

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 20px;
    }

    .logo img {
        width: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }

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

    .title h2 {
        font-size: 16px;
    }

    .hero-section {
        padding: 40px 20px;
        margin: 20px;
    }

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

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

    .hero-features {
        gap: 20px;
    }

    .experiments-section,
    .about-section {
        margin: 20px;
        padding: 30px 20px;
    }

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

    .exp-btn {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .btn-text {
        text-align: center;
    }

    .btn-arrow {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

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

    .btn-text strong {
        font-size: 18px;
    }

    .btn-text small {
        font-size: 12px;
    }
}

/* Experiment Page Styles */
.experiment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 30px 20px;
    background: rgba(255, 255, 255, 0.95);
    min-height: calc(100vh - 200px);
    margin-top: 20px;
}

.experiment-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid #667eea;
}

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

.experiment-subtitle {
    font-size: 20px;
    color: #666;
    font-weight: 300;
}

.experiment-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    margin-top: 30px;
    flex-wrap: wrap;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
    padding: 12px 25px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #667eea;
}

.nav-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.experiment-section {
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out;
    scroll-margin-top: 150px;
    padding-top: 30px;
}

.experiment-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.section-icon {
    font-size: 36px;
}

.content-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    margin-top: 10px;
}

.content-box h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e3c72;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-box h3:first-child {
    margin-top: 0;
}

.content-box p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.content-box ul,
.content-box ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.content-box ul li,
.content-box ol li {
    margin-bottom: 10px;
    color: #555;
    font-size: 16px;
}

.objectives {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid #667eea;
}

.objectives h3 {
    margin-top: 0;
    color: #667eea;
}

.formula-box {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #e74c3c;
}

.formula {
    font-size: 20px;
    font-weight: 600;
    color: #c0392b;
    text-align: center;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    background: white;
    padding: 15px;
    border-radius: 8px;
    display: block;
}

.formula-box p {
    margin-bottom: 8px;
}

.calculation-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #2ecc71;
}

.calculation-box p {
    margin-bottom: 10px;
    color: #2d5016;
}

.calculation-box strong {
    color: #1e7e34;
    font-size: 18px;
}

.data-table {
    margin: 25px 0;
    overflow-x: auto;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.data-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    color: #555;
    font-size: 15px;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.procedure-steps {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.procedure-steps>li {
    counter-increment: step-counter;
    margin-bottom: 30px;
    position: relative;
    background: #f8f9fa;
    padding: 25px 25px 25px 75px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    min-height: 50px;
}

.procedure-steps>li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    z-index: 1;
}

.procedure-steps>li strong {
    color: #1e3c72;
    font-size: 18px;
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.procedure-steps>li ul {
    margin-top: 15px;
    margin-left: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: sub-step;
}

.procedure-steps>li ul li {
    background: white;
    padding: 12px 15px 12px 45px;
    margin-bottom: 10px;
    margin-left: 0;
    border-left: 3px solid #2ecc71;
    border-radius: 5px;
    position: relative;
    list-style: none;
}

.procedure-steps>li ul li::before {
    content: "•";
    position: absolute;
    left: 20px;
    top: 12px;
    color: #2ecc71;
    font-size: 20px;
    font-weight: bold;
}

.procedure-steps>li ul li:last-child {
    margin-bottom: 0;
}

.procedure-steps>li ul ul {
    margin-top: 8px;
    margin-left: 15px;
    padding-left: 0;
}

.procedure-steps>li ul ul li {
    padding-left: 35px;
    background: #f8f9fa;
    border-left-color: #3498db;
}

.procedure-steps>li ul ul li::before {
    content: "○";
    left: 15px;
    color: #3498db;
    font-size: 14px;
}

.precautions {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #f39c12;
    list-style: none;
    padding-left: 20px;
}

.precautions li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: #856404;
    font-weight: 500;
}

.precautions li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.diagram-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    margin: 25px 0;
    color: #6c757d;
    font-style: italic;
}

.simulation-section {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 15px;
    border: 2px dashed #667eea;
}

.btn-simulation {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-simulation:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.simulation-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border: none;
}

.simulation-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
}

.back-button {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.btn-back {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive for Experiment Pages */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 180px;
    }

    .experiment-container {
        padding: 30px 15px 20px 15px;
        margin-top: 15px;
    }

    .experiment-header {
        margin-top: 15px;
        margin-bottom: 30px;
    }

    .experiment-header h1 {
        font-size: 32px;
    }

    .experiment-subtitle {
        font-size: 18px;
    }

    .experiment-nav {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 40px;
        margin-top: 20px;
        padding: 15px;
    }

    .nav-link {
        text-align: center;
    }

    .experiment-section {
        scroll-margin-top: 180px;
        padding-top: 25px;
        margin-bottom: 50px;
    }

    .experiment-section h2 {
        font-size: 26px;
    }

    .content-box {
        padding: 20px;
        margin-top: 15px;
    }

    .procedure-steps>li {
        padding: 20px 15px 20px 65px;
        margin-bottom: 25px;
    }

    .procedure-steps>li::before {
        left: 15px;
        top: 20px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .procedure-steps>li ul li {
        padding: 10px 12px 10px 40px;
    }

    .procedure-steps>li ul li::before {
        left: 15px;
        top: 10px;
    }

    .procedure-steps>li ul ul li {
        padding-left: 30px;
    }

    .data-table {
        font-size: 14px;
    }
}

/* Auth Buttons in Header */
.nav-auth {
    display: flex;
    gap: 15px;
    margin-left: 20px;
    flex-shrink: 0;
}

.auth-btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.login-btn {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.signup-btn {
    background: white;
    color: #1e3c72;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

/* User Profile & Dropdown */
.user-profile {
    display: none;
    position: relative;
    align-items: center;
    cursor: pointer;
    padding: 5px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: white;
    color: #1e3c72;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.user-profile:hover .user-avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-profile.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 18px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.dropdown-header span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 4px;
}

.dropdown-header strong {
    font-size: 14px;
    color: #1e3c72;
    display: block;
    word-break: break-all;
}

.dropdown-item {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f1f3f5;
    color: #1e3c72;
    padding-left: 25px;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
}

/* Login Page Styles */
.login-container {
    max-width: 450px;
    margin: 80px auto;
    padding: 45px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.login-toggle {
    display: flex;
    background: #f1f3f5;
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 35px;
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    border-radius: 9px;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: white;
    color: #1e3c72;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.input-group {
    margin-bottom: 22px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1e3c72;
    font-size: 14px;
}

.password-input-container {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 18px;
    user-select: none;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #1e3c72;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(30, 60, 114, 0.4);
}

.password-requirements {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    line-height: 1.5;
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
    display: none;
    font-weight: 500;
}

.success-message {
    background: #e6fffa;
    color: #2c7a7b;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid #b2f5ea;
    display: none;
}

@media (max-width: 768px) {
    .nav-auth {
        margin-left: 0;
        margin-top: 15px;
    }
}