/* 
 * PORTAL DAS OBRAS
 * Theme: Blue & Grey Elegance
 * Font: Inter (Google Fonts)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --color-primary: #0F2C59;
    /* Azul Moderno */
    --color-secondary: #005CFF;
    /* Azul Tech Profissional */
    --color-bg-premium: #E3E6E8;
    /* Fundo Premium */
    --color-bg-dark: #0A0F1C;
    /* Navy Dark Mode/Footer */
    --color-neutral: #FFFFFF;
    /* Branco Puro */
    --color-interface: #6F7A87;
    /* Cinza Titanium */
    --color-accent: #00C2FF;
    /* Cyan Highlight */
    /* Neon Green */

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(15, 44, 89, 0.1), 0 4px 6px -2px rgba(15, 44, 89, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(15, 44, 89, 0.15), 0 10px 10px -5px rgba(15, 44, 89, 0.1);
    --shadow-neon: 0 0 15px rgba(0, 255, 163, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-primary);
    background-color: #FFFFFF;
    /* Changed to White as requested */
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-padding {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-neutral);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-neutral);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-primary);
    /* Dark text for contrast on neon */
    font-weight: 800;
}

.btn-accent:hover {
    background-color: #00DB8B;
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline:hover {
    background: var(--color-secondary);
    color: var(--color-neutral);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(111, 122, 135, 0.1);
    transition: var(--transition-smooth);
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 8px;
    /* Soft square */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-text .highlight {
    color: var(--color-secondary);
    /* Blue Highlight */
}

.logo .icon-box {
    width: 40px;
    height: 40px;
    background: var(--color-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    font-weight: 500;
    color: var(--color-interface);
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--color-secondary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('assets/hero-bg.png') no-repeat center center/cover;
    margin-bottom: 20px;
}

.hero .container {
    max-width: 1600px;
    /* Allow hero to be wider than standard pages */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10, 15, 28, 0.95) 0%, rgba(10, 15, 28, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-neutral);
    max-width: 1400px;
    /* Significantly wider to prevent wrapping */
    width: 100%;
    text-align: center;
    /* Ensure centering */
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    /* Adjusted for better fit */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero h1 span {
    color: #00C2FF;
    /* Azul Mais Claro (Light Blue) Highlight */
}

.hero p {
    font-size: 1.35rem;
    /* Larger subtitle */
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 45px;
    max-width: 1000px;
    /* Wider paragraph */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    /* Center buttons */
}

/* Features Grid */
.features {
    background: var(--color-neutral);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-interface);
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    /* Reduced vertical padding slightly */
    border-radius: var(--radius-md);
    border: 1px solid rgba(111, 122, 135, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.feature-card i {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.feature-card p {
    color: var(--color-interface);
    font-size: 0.95rem;
}

/* Profession List */
.profession-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.tag {
    background: rgba(0, 92, 255, 0.1);
    color: var(--color-secondary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Advantage Section */
.advantages {
    background: #F5F7FA;
    /* Explicit Light Gray for contrast against white body */
    position: relative;
    z-index: 1;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.advantage-card {
    background: #FFFFFF;
    padding: 35px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(111, 122, 135, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally */
    text-align: center;
    /* Center text */
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.advantage-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 92, 255, 0.08);
    /* Light secondary color */
    color: var(--color-secondary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.advantage-card:hover .icon-wrapper {
    background: var(--color-secondary);
    color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 10px 20px -5px rgba(0, 92, 255, 0.4);
}

.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.advantage-card p {
    color: var(--color-interface);
    font-size: 0.95rem;
    line-height: 1.7;
    /* Constrain text width slightly for better readability on wide cards */
    max-width: 80%;
}

/* Catalog Section */
.catalog {
    background: #FFFFFF;
    color: var(--color-primary);
    padding: 20px 0 60px;
}

.catalog .section-header h2 {
    color: var(--color-primary);
}

.catalog .section-header p {
    color: var(--color-interface);
    opacity: 1;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.catalog-item {
    background: #FFFFFF;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    /* Cyan Border on Hover */
    box-shadow: 0 10px 25px rgba(0, 194, 255, 0.15);
    /* Soft Cyan Glow */
}

.catalog-item i {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.catalog-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Call to Action Bar */
.cta-bar {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-bar h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-bar p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #05080F;
    /* Slightly darker than bg-dark for contrast */
    color: #8A94A6;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    max-width: 300px;
    margin-bottom: 24px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #8A94A6;
}

.footer-col ul li a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-neutral);
    max-width: 650px;
    animation: fadeInUp 1s ease-out;
}

/* Enhanced Hover Effects */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(15, 44, 89, 0.15), 0 10px 10px -5px rgba(15, 44, 89, 0.1);
    border-color: var(--color-secondary);
}

.catalog-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 163, 0.2);
    /* Neon glow */
    border-color: var(--color-accent);
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .advantage-row {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        /* Simplification for this demo */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

/* Profile Page Styles */
.profile-hero {
    padding-top: 120px;
    /* Header height + space */
    padding-bottom: 40px;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-header-card {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: #F0F4F8;
    border-radius: 50%;
    /* Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-interface);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-name {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.profile-location {
    color: var(--color-interface);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.profile-actions {
    margin-left: auto;
}

/* Responsive Action Button */
@media (max-width: 768px) {
    .profile-actions {
        margin-left: 0;
        width: 100%;
    }

    .profile-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Restored Profile Page Styles */
.content-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.content-card h3,
.content-card h4 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.content-card p {
    color: var(--color-interface);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Service List */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: 500;
}

.service-list li i {
    color: var(--color-accent);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 4/3;
    background: #E3E6E8;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Sidebar */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--color-interface);
}

.contact-item i {
    width: 20px;
    color: var(--color-secondary);
    text-align: center;
}

.sticky-card {
    position: sticky;
    top: 100px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .header-actions .btn {
        display: none;
        /* Hide header buttons on mobile */
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.8rem;
        color: var(--color-primary);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

/* Mobile Menu Overlay Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 300px;
    /* Drawer style */
    height: 100vh;
    background: white;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.close-menu-btn {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-primary);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: auto;
}

.mobile-nav-links a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Catalog Page Styles */
.catalog-hero {
    background: var(--color-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.catalog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.catalog-hero p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    outline: none;
}

.search-box .search-icon {
    position: absolute;
    left: 20px;
    color: #999;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border-radius: 40px;
    padding: 0 25px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        display: none;
        /* Hide sidebar on mobile for now */
    }
}

.filter-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.filter-select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Responsive Layout Fixes (Index) */
.connect-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.eleve-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    align-items: center;
}

.eleve-text {
    text-align: left;
}

.stats-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .connect-layout {
        flex-direction: column;
        text-align: center;
    }

    .connect-layout .hero-image {
        order: -1;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .connect-layout .hero-content p {
        text-align: center !important;
    }

    .connect-layout .hero-buttons {
        justify-content: center;
    }

    .eleve-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    /* Center benefit items on mobile */
    .eleve-layout>div>div {
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .eleve-text {
        text-align: center;
    }

    .eleve-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .stats-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stats-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--color-interface);
}

.vendor-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.vendor-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vendor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.vendor-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.vendor-logo {
    width: 50px;
    height: 50px;
    background: #F0F4F8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-interface);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.vendor-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.vendor-location {
    font-size: 0.85rem;
    color: #888;
}

.vendor-rating {
    margin-left: auto;
    font-weight: 600;
    font-size: 0.9rem;
    color: #FFA000;
}

.vendor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vendor-desc {
    font-size: 0.9rem;
    color: var(--color-interface);
    line-height: 1.5;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.vendor-footer {
    margin-top: 10px;
}

/* ============================================
   AUTHENTICATION PAGES (LOGIN & SIGNUP)
   ============================================ */

.auth-page {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #F5F7FA 0%, #E3E6E8 100%);
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 900px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-info-card {
        order: -1;
    }
}

/* Single Column Layout (Centered Form) */
.auth-wrapper-single {
    max-width: 600px;
    margin: 0 auto;
}

.auth-wrapper-single .auth-card {
    width: 100%;
}

/* Auth Card (Form Container) */
.auth-card {
    background: white;
    padding: 50px 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
    .auth-card {
        padding: 35px 25px;
    }
}

.auth-header {
    margin-bottom: 35px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-interface);
    font-size: 0.9rem;
    margin-bottom: 25px;
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--color-secondary);
}

.auth-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.auth-header p {
    color: var(--color-interface);
    font-size: 1.05rem;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.required {
    color: #E53E3E;
    font-weight: 700;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--color-interface);
    font-size: 1rem;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-fast);
    background: #FAFAFA;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 92, 255, 0.1);
}

.input-wrapper input::placeholder {
    color: #9CA3AF;
}

/* Password Toggle */
.toggle-password {
    position: absolute;
    right: 16px;
    color: var(--color-interface);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.toggle-password:hover {
    color: var(--color-secondary);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--color-interface);
    margin-top: -4px;
}

/* Submit Button */
.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    margin-top: 10px;
}

/* Auth Note (Info Box) */
.auth-note {
    background: linear-gradient(135deg, rgba(15, 44, 89, 0.05) 0%, rgba(0, 92, 255, 0.05) 100%);
    border-left: 4px solid var(--color-secondary);
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 20px;
}

.auth-note i {
    color: var(--color-secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.auth-note p {
    color: var(--color-primary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.auth-note strong {
    color: var(--color-secondary);
    font-weight: 600;
}

.auth-note code {
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Forgot Password */
.forgot-password-wrapper {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 8px;
}

.forgot-password {
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
}

.forgot-password:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #E5E7EB;
}

.auth-footer p {
    color: var(--color-interface);
    font-size: 0.95rem;
}

.link-primary {
    color: var(--color-secondary);
    font-weight: 600;
    transition: var(--transition-fast);
}

.link-primary:hover {
    color: var(--color-primary);
}

/* Auth Info Card */
.auth-info-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 40px 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.auth-info-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.auth-info-card p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 30px;
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.benefit-item i {
    margin-top: 2px;
    font-size: 1rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.benefit-item i.fa-star {
    color: #FFD700;
}

/* Form Validation States */
.input-wrapper input:invalid:not(:placeholder-shown) {
    border-color: #F87171;
}

.input-wrapper input:valid:not(:placeholder-shown) {
    border-color: #34D399;
}

/* Loading State */
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .auth-header h1 {
        font-size: 1.8rem;
    }

    .auth-info-card {
        position: static;
        padding: 30px 25px;
    }

    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .auth-info-card h3 {
        font-size: 1.5rem;
    }
}