/* CSS Variables & Reset */
:root {
    --primary-color: #009c3b;
    /* Brighter Brazil Green */
    --primary-dark: #00702a;
    --secondary-color: #002776;
    /* Deep Brazil Blue */
    --accent-color: #ffdf00;
    /* Vivid Yellow */
    --text-color: #2c3e50;
    /* Softer dark blue-gray */
    --light-text: #5f6c7b;
    --bg-light: #f4f7f6;
    /* Very subtle cool gray */
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Softer, larger shadow */
    --radius: 12px;
    /* More rounded */
    --font-main: 'Inter', sans-serif;
}

/* Auth Loading State - Prevents FOUC */
body.auth-loading {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 28px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 156, 59, 0.3);
}

.btn-outline {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    padding: 10px 24px;
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Compact button for nav */
.main-nav .btn-outline {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    font-size: 1.1rem;
    padding: 16px 32px;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #001a4d 0%, #004d40 100%);
    /* Premium Gradient */
    color: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    color: var(--white);
    /* White for better contrast on gradient */
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    /* Back to Light Translucent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary-color);
    /* Revert to Blue */
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--primary-color);
    /* Revert to Green */
    font-size: 2rem;
    background: rgba(0, 156, 59, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.highlight {
    color: var(--primary-color);
    /* Revert to Green */
}

.main-nav>ul {
    display: flex;
    gap: 15px;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
    /* Revert to dark text */
}

.main-nav a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Dropdown Menu Styles */
.main-nav li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    padding: 10px 0;
    min-width: 180px;
    z-index: 1000;
    flex-direction: column;
    gap: 0 !important;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    width: 100%;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 400;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
    /* Slight movement on hover */
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #001a4d 0%, #004d40 100%);
    /* Premium Deep Navy to Deep Green */
    color: var(--white);
    padding: 100px 0 120px;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
    /* Artistic dots */
    opacity: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* More space for text */
    gap: 80px;
    position: relative;
    z-index: 1;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    /* Larger title */
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    max-width: 90%;
}

.hero-benefits {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-benefits li {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    /* Pill tags */
    backdrop-filter: blur(5px);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-benefits i {
    color: var(--secondary-color);
    background: var(--accent-color);
    padding: 4px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    color: var(--text-color);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: perspective(1000px) rotateY(-2deg);
    /* Subtle 3D effect */
    transition: transform 0.5s ease;
}

.hero-form-card:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.detran-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 12px;
    background: #f0f0f0;
    /* Loader bg */
}

.hero-form-card h2 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
}

.hero-form-card>p {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Service Section */
.services {
    padding: 120px 0 100px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Slightly wider cards */
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Very soft shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    border-bottom: none;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 30px;
    transition: 0.3s;
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotate(5deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.35rem;
    font-weight: 700;
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.7;
}

.learn-more {
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Why Us Section */
.why-us {
    background-color: var(--white);
    padding: 100px 0;
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-text h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.features-list {
    margin-top: 40px;
}

.feature {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    background: var(--bg-light);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature p {
    color: var(--light-text);
    font-size: 0.95rem;
}

.why-image {
    position: relative;
}

.image-placeholder {
    background-color: #eee;
    height: 400px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #bbb;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #001a4d 0%, #004d40 100%);
    /* Premium Deep Navy to Deep Green */
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    gap: 15px;
    align-items: start;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-benefits {
        display: inline-block;
        text-align: left;
    }

    .why-us-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* Calculator Section */
.calculator-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.calculator-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.calculator-wrapper {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-group label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.calc-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-color);
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.calc-select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 156, 59, 0.1);
}

.calc-result-box {
    background: linear-gradient(135deg, #001a4d 0%, #004d40 100%);
    /* Premium Gradient */
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    color: var(--white);
    margin-top: 30px;
}

.calc-result-box h3 {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.calc-total {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 10px 0;
}

.calc-note {
    font-size: 0.85rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }

    .calculator-wrapper {
        padding: 30px 20px;
    }
}

/* FIPE Lookup Styles */
.fipe-search-box {
    text-align: center;
    margin-bottom: 30px;
}

.fipe-search-box label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.plate-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.plate-input {
    width: 100%;
    padding: 15px;
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 800;
    border: 3px solid #ccc;
    border-radius: 12px;
    background: #f8f9fa;
    color: #333;
}

.plate-input:focus {
    border-color: var(--secondary-color);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 26, 77, 0.1);
}

.fipe-result-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    animation: fadeIn 0.5s ease;
}

.vehicle-info-header {
    background: linear-gradient(135deg, #001a4d 0%, #004d40 100%);
    padding: 25px;
    text-align: center;
    color: var(--white);
}

.vehicle-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.vehicle-info-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.badge-year {
    display: inline-block;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 10px;
}

.fipe-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 25px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-item .label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.detail-item .value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.detail-item .value.price {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.4rem;
}

.detail-item .value.location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-item .value.location::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
}

.fipe-disclaimer {
    background: #f8f9fa;
    padding: 15px 25px;
    font-size: 0.75rem;
    color: #888;
    text-align: center;
    border-top: 1px solid #eee;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FIPE Tabs */
.fipe-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.fipe-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.fipe-tab.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 26, 77, 0.2);
}

.fipe-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.fipe-tab-content.active {
    display: block;
}

/* Sticky Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
}

.fab-btn:hover {
    transform: scale(1.1);
}

.fab-whatsapp {
    background-color: #25D366;
}

.fab-print {
    background-color: #0056b3;
    font-size: 24px;
}

/* Tooltip for FABs */
.fab-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.fab-btn:hover::before {
    opacity: 1;
}

@media print {

    .main-header,
    .fab-container {
        display: none !important;
    }
}

/* --- Auth & Utility Classes --- */
.hidden {
    display: none !important;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.auth-form .input-group {
    margin-bottom: 15px;
}

.auth-form label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.auth-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
}

.auth-error {
    color: #dc3545;
    background: #ffe6e6;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 0.9em;
    display: none;
}

.auth-footer {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9em;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Nav Link overrides for auth buttons */
.nav-btn-link {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color) !important;
}

.nav-btn-link:hover {
    color: var(--secondary-color) !important;
}