:root {
    --primary-color: #3d5a80;
    --primary-dark: #334b6b;
    --accent-color: #e66613;
    --accent-dark: #d15a0d;
    --text-color: #2b3f59;
    --text-light: #6b7c93;
    --background-color: #f5f6fa;
    --header-height: 70px;
    --nav-bg: #ffffff;
    --nav-shadow: 0 2px 10px rgba(61, 90, 128, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar {
    background: var(--nav-bg);
    box-shadow: var(--nav-shadow);
    height: 100%;
}

.nav-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.login-btn i {
    font-size: 1.1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-right {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        padding: 1rem;
        box-shadow: var(--nav-shadow);
        border-top: 2px solid var(--accent-color);
    }

    .nav-right.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .nav-actions {
        width: 100%;
    }

    .login-btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-link:hover {
        background-color: rgba(61, 90, 128, 0.05);
    }
}

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

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 32px;
    }
}

#hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c0392b;
}

#features {
    padding: 5rem 10%;
    background-color: var(--background-color);
}

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

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1001;
    animation: modalFadeIn 0.3s ease-out;
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-content h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
}

.close:hover {
    color: var(--text-color);
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
        scale: 0.9;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
        scale: 1;
    }
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
    color: var(--text-color);
}

.form-group input:focus {
    border-color: var(--primary-color);
    background-color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover:not(:focus) {
    border-color: #c1c9d2;
    background-color: white;
}

.form-group input::placeholder {
    color: var(--text-light);
    transition: opacity 0.3s ease;
}

.form-group input:focus::placeholder {
    opacity: 0.7;
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 10% 1rem;
    margin-top: 2rem;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 5% 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

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

.driver-btn {
    background-color: var(--accent-color);
}

.feature-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.feature-card ul li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-card ul li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

#how-it-works {
    padding: 5rem 10%;
    background-color: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

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

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }

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

/* Services Section */
.services-section {
    padding: 6rem 2rem;
    background: var(--background-color);
}

.service-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.service-card ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.coming-soon {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.coming-soon h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background: white;
}

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

.about-content {
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    background: var(--background-color);
    border-radius: 15px;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.stat .number {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat .label {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: var(--background-color);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #357abd;
}

/* Responsive Design */
@media (max-width: 992px) {
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        padding-right: 0;
        padding-bottom: 2rem;
        border-bottom: 1px solid #ddd;
    }
}

@media (max-width: 768px) {
    .services-section,
    .about-section,
    .contact-section {
        padding: 4rem 1rem;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 1.5rem;
    }

    .stat .number {
        font-size: 2.2rem;
    }

    .contact-container {
        padding: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* App Download Modal Additional Styles */
.app-download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.app-store-button,
.play-store-button {
    /* max-width: 180px; */
    /* width: 100%; */
    display: block;
}

.app-store-button img,
.play-store-button img {
    width: 100%;
    height: auto;
    display: block;
}

.app-download-buttons a {
    transition: transform 0.3s ease;
}

.app-download-buttons a:hover {
    transform: scale(1.05);
}

.app-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.app-features .feature {
    text-align: center;
}

.app-features .feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.app-features .feature span {
    display: block;
    color: var(--text-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .app-download-buttons {
        flex-direction: column;
    }

    .app-store-button,
    .play-store-button {
        max-width: 160px;
    }

    .app-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Enhanced Login Form Styles */
#loginForm {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
}

#loginForm.loading {
    opacity: 0.8;
    pointer-events: none;
}

#loginForm .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

#loginForm button[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.25rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

#loginForm button[type="submit"]:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 90, 128, 0.3);
}

#loginForm button[type="submit"]:active:not(:disabled) {
    transform: translateY(0);
}

#loginForm button[type="submit"]:disabled {
    background: linear-gradient(135deg, #bbb 0%, #999 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#loginForm button[type="submit"].loading {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
}

#loginForm button[type="submit"].loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#loginForm button[type="submit"].success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

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

/* Enhanced Error Message Styles */
.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    animation: errorSlideIn 0.3s ease-out;
}

.error-message.validation-error {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #856404;
}

.error-message.network-error {
    background-color: rgba(23, 162, 184, 0.1);
    border-color: rgba(23, 162, 184, 0.3);
    color: #0c5460;
}

.error-message.server-error {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #721c24;
}

.error-message.auth-error {
    background-color: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.4);
    color: #721c24;
    font-weight: 500;
}

.error-message.shake {
    animation: shake 0.5s ease-in-out;
}

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

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

/* Accessibility and Focus Improvements */
.modal:focus-within {
    outline: none;
}

.close:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

#loginForm input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

#loginForm input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

/* Loading overlay for better UX */
#loginForm.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    z-index: 1;
}

/* Improved button focus states */
#loginForm button[type="submit"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .modal-content {
        border: 2px solid var(--text-color);
    }

    .form-group input {
        border-width: 2px;
    }

    .error-message {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .modal-content,
    .error-message,
    #loginForm button[type="submit"],
    .form-group input {
        animation: none;
        transition: none;
    }

    .close:hover {
        transform: none;
    }

    #loginForm button[type="submit"]:hover:not(:disabled) {
        transform: none;
    }
}

/* Responsive Modal Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: none;
        margin: 0 auto;
        padding: 2rem 1.5rem;
        border-radius: 12px;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    #loginForm {
        gap: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group input {
        padding: 0.9rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    #loginForm button[type="submit"] {
        padding: 1.1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        padding: 1.75rem 1.25rem;
        border-radius: 8px;
    }

    .modal-content h2 {
        font-size: 1.2rem;
    }

    .close {
        right: 1rem;
        top: 1rem;
        width: 28px;
        height: 28px;
        font-size: 1.3rem;
    }
}

@media (max-height: 600px) {
    .modal-content {
        top: 20px;
        transform: translate(-50%, 0);
        position: fixed;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }
}

/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-menu-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.user-menu-btn i {
    font-size: 1.2rem;
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.user-menu:hover .user-menu-dropdown {
    display: block;
}

.user-menu-dropdown a,
.user-menu-dropdown button {
    display: block;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: var(--secondary-color);
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
}

.user-menu-dropdown a:hover,
.user-menu-dropdown button:hover {
    background-color: #f8f9fa;
}

.user-menu-dropdown button {
    color: #dc3545;
}

/* Active state for nav links */
.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    background-color: var(--accent-color);
    width: 100%;
}