:root {
    /* Cores principais - Esquema dourado/azul */
    --primary-color: #213f57;
    --primary-dark: #1a3246;
    --primary-light: #2a4f6d;
    --secondary-color: #b49434;
    --secondary-dark: #9a7d2c;
    --secondary-light: #d4b15f;
    --accent-color: #ffd700;
    --accent-gold: #ffd700;

    /* Cores de texto */
    --text-color: #2d3748;
    --text-light: #718096;
    --text-lighter: #a0aec0;

    /* Cores de fundo */
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --bg-lighter: #edf2f7;

    /* Cores de borda */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Cores de estado */
    --success-color: #48bb78;
    --success-light: #c6f6d5;
    --warning-color: #ed8936;
    --warning-light: #fed7d7;
    --danger-color: #f56565;
    --danger-light: #fed7d7;
    --info-color: #4299e1;
    --info-light: #bee3f8;

    /* Efeitos e transições */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 8px 25px rgba(180, 148, 52, 0.3);

    /* Bordas */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Espaçamentos */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
}

/* Dark mode variables - will override light mode when preferred */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #263f54;
        --secondary-color: #b49434;
        --accent-color: #d4b15f;
        --text-color: #f0f0f0;
        --text-light: #b0b0b0;
        --border-color: #444;
        --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
}

/* Base styles that work for both modes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

/* Automatic background colors based on mode */
@media (prefers-color-scheme: light) {
    body {
        --bg-color: #f9f9f9;
        --light-color: #f8f9fa;
        --dark-color: #343a40;
        --f8f9fa: #dceeff;
        --card-bg: #ffffff;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        --bg-color: #1a1a1a;
        --light-color: #2a2a2a;
        --dark-color: #f8f9fa;
        --f8f9fa: #b6b6b6;
        --card-bg: #2a2a2a;
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== COMPONENTES REUTILIZÁVEIS ===== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 10px rgba(180, 148, 52, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(180, 148, 52, 0.35);
}

.btn-secondary {
    background-color: var(--border-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* ===== HEADER MODERNIZADO 2025 ===== */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 85px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    height: 75px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    width: 100%;
}

.logo {
    position: relative;
    z-index: 1002;
}

.logo img {
    height: 130px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.logo img:hover {
    transform: scale(1.05);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 8px;
    position: relative;
}

.nav__list a {
    text-decoration: none;
    color: var(--f8f9fa);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 18px;
    letter-spacing: 0.5px;
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.95rem;
}

.nav__list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(180, 148, 52, 0.1), rgba(212, 177, 95, 0.15));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 10px;
}

.nav__list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav__list a:hover::before,
.nav__list a.active::before {
    opacity: 1;
}

.nav__list a:hover::after,
.nav__list a.active::after {
    width: 70%;
}

.nav__list a.active {
    color: var(--accent-color);
    font-weight: 600;
}

.nav__list a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.action-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-icon {
    color: var(--f8f9fa);
    font-size: 1.2rem;
    transition: var(--transition);
}

.user-icon:hover {
    color: var(--secondary-color);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    cursor: pointer;
}

.user-dropdown .user-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.user-dropdown .user-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.user-dropdown .user-icon i {
    font-size: 1rem;
}

.user-dropdown .login-status {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
    padding: 10px 0;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.user-info strong {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.user-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dropdown-item i {
    color: var(--secondary-color);
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 5px 0;
}

@media (max-width: 1024px) {
    .action-icons {
        margin-top: 0;
        justify-content: flex-start;
        width: auto;
    }

    .user-dropdown {
        position: static;
    }

    .dropdown-menu {
        position: fixed !important;
        top: 85px !important;
        left: 0 !important;
        width: 100vw !important;
        height: auto !important;
        max-width: none !important;
        border-radius: 0 !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
        border-top: 1px solid #eee !important;
        padding: 0 !important;
        margin: 0 !important;
        background-color: white !important;
        z-index: 9999 !important;
        overflow: visible !important;
    }

    .dropdown-menu.show {
        transform: translateY(0) !important;
        display: block !important;
    }

    .user-info {
        width: 100% !important;
        height: auto !important;
        min-height: 100px !important;
        padding: 25px !important;
        margin: 0 !important;
        border-bottom: 2px solid #ddd !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .user-info strong {
        width: 100% !important;
        height: auto !important;
        font-size: 1.3rem !important;
        color: #213f57 !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        display: block !important;
        font-weight: 700 !important;
        line-height: 1.5 !important;
        text-align: left !important;
        overflow: visible !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .user-info span {
        width: 100% !important;
        height: auto !important;
        font-size: 1.1rem !important;
        color: #6c757d !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        line-height: 1.5 !important;
        text-align: left !important;
        overflow: visible !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .dropdown-item {
        width: 100% !important;
        padding: 20px 25px !important;
        font-size: 1.1rem !important;
        border-bottom: 1px solid #f0f0f0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        box-sizing: border-box !important;
    }

    .dropdown-item:last-child {
        border-bottom: none !important;
    }

    .dropdown-item i {
        font-size: 1.2rem !important;
        width: 25px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 480px) {
    .dropdown-menu {
        top: 75px !important;
    }

    .user-info {
        padding: 20px !important;
        min-height: 90px !important;
    }

    .user-info strong {
        font-size: 1.2rem !important;
    }

    .user-info span {
        font-size: 1rem !important;
    }

    .dropdown-item {
        padding: 18px 20px !important;
        font-size: 1rem !important;
    }
}

/* Força absoluta para os elementos específicos */
#user-display-name {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    z-index: auto !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

#user-email {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    z-index: auto !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

/* Menu Hamburger Moderno */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--f8f9fa);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsividade - Menu Mobile */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(56, 77, 94, 0.98);
        backdrop-filter: blur(15px);
        transition: all 0.4s ease;
        z-index: 999;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
        padding: 100px 25px 40px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .nav.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    .nav__list a {
        padding: 16px 20px;
        font-size: 1.1rem;
        border-radius: 10px;
        margin-bottom: 5px;
        width: 100%;
        display: block;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav__list a:hover {
        background: rgba(180, 148, 52, 0.15);
        transform: translateX(5px);
    }

    .nav__list a::after {
        display: none;
    }

    .action-icons {
        margin-top: 30px;
        justify-content: center;
    }
}

/* Ajuste para telas menores */
@media (max-width: 480px) {
    .header {
        height: 75px;
    }

    .header.scrolled {
        height: 65px;
    }

    .logo img {
        height: 65px;
    }

    .nav {
        width: 85%;
        padding: 90px 20px 30px;
    }
}

/* Pequeno ajuste no conteúdo principal para o novo header */
.main-content {
    padding-top: 95px;
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 85px;
    }
}

.page-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 30px 0 15px;
    text-align: center;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HERO BANNER (INDEX) ===== */
.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 63, 87, 0.8) 0%, rgba(180, 148, 52, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(180, 148, 52, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(180, 148, 52, 0.4);
}

/* ===== CARROSSEL DE SERVIÇOS (INDEX) ===== */
.services-carousel {
    margin-bottom: 70px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 25px;
}

.carousel-slide {
    min-width: calc(25% - 19px);
    flex: 0 0 calc(25% - 19px);
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(180, 148, 52, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(180, 148, 52, 0.1), rgba(212, 177, 95, 0.15));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(180, 148, 52, 0.15), rgba(212, 177, 95, 0.2));
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.service-card .price {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* ===== SEÇÃO DE INFORMAÇÕES (INDEX) ===== */
.oil-info-section {
    margin-bottom: 70px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-card {
    background: var(--card-bg);
    padding: 30px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(180, 148, 52, 0.1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.info-card:hover i {
    transform: scale(1.1);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== OFERTAS ESPECIAIS (INDEX) ===== */
.special-offers {
    margin-bottom: 70px;
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.offer-card {
    background: var(--card-bg);
    padding: 30px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(180, 148, 52, 0.1);
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.offer-card:hover::before {
    opacity: 1;
}

.offer-card.highlight {
    border: 2px solid var(--secondary-color);
    transform: scale(1.02);
}

.offer-card.highlight:hover {
    transform: translateY(-5px) scale(1.02);
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(180, 148, 52, 0.3);
    z-index: 2;
}

.offer-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.offer-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.price-container {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.1rem;
}

.new-price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.discount {
    background: var(--success-color);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== PROGRESS STEPS (SERVIÇOS) ===== */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding: 0 20px;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--border-color);
    z-index: -1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 25%;
}

.progress-step::before {
    content: '';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin-bottom: 12px;
    transition: var(--transition);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--bg-color);
}

.progress-step.active::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.progress-step.completed::before {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 0 2px var(--success-color);
}

.progress-step span {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 500;
}

.progress-step.active span {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== SERVICE STEPS (SERVIÇOS) ===== */
.service-step {
    display: none;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-out;
    border: 1px solid rgba(180, 148, 52, 0.1);
}

.service-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), #2a4f6d);
    color: white;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(33, 63, 87, 0.2);
}

/* ===== FORMULÁRIOS ===== */
/* ===== FORMULÁRIOS ===== */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    flex: 1;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    /* Aumentado para deixar mais redondinho */
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--card-bg);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(180, 148, 52, 0.15);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 8px;
    display: none;
    padding-left: 5px;
}

.form-group.error .error-message {
    display: block;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    z-index: 2;
}

.toggle-password:hover {
    color: var(--secondary-color);
}

/* Estilização para checkboxes e radio buttons */
.form-group.checkbox,
.form-group.radio {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input[type="checkbox"],
.form-group.radio input[type="radio"] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    /* Checkbox levemente arredondado */
    accent-color: var(--secondary-color);
}

.form-group.radio input[type="radio"] {
    border-radius: 50%;
    /* Radio totalmente redondo */
}

/* Estilos para selects com seta personalizada */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 50px;
}

/* Botões de formulário */
.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: flex-end;
}

.form-buttons .btn {
    border-radius: 12px;
    /* Botões mais arredondados */
    padding: 12px 28px;
    font-weight: 600;
}

/* Campos de formulário com ícones */
.form-group.with-icon {
    position: relative;
}

.form-group.with-icon i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 2;
}

.form-group.with-icon input,
.form-group.with-icon select {
    padding-left: 50px;
}

/* Agrupamento de campos relacionados */
.field-group {
    background: rgba(180, 148, 52, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(180, 148, 52, 0.1);
}

.field-group-legend {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Estilo para textareas */
.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* Placeholders estilizados */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

/* Estados de desabilitado */
.form-group select:disabled,
.form-group input:disabled,
.form-group textarea:disabled {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    cursor: not-allowed;
}

/* ===== LOCATION SEARCH (SERVIÇOS) ===== */
.location-search {
    display: flex;
    gap: 15px;
}

.location-search input {
    flex: 1;
    border-radius: 50px;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.location-search input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(180, 148, 52, 0.2);
}

.location-or {
    text-align: center;
    margin: 30px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    position: relative;
}

.location-or::before,
.location-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: var(--border-color);
}

.location-or::before {
    left: 0;
}

.location-or::after {
    right: 0;
}

/* ===== MAP SECTION (SERVIÇOS) ===== */
.map-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

#map {
    height: 350px;
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 2px solid var(--border-color);
}

.map-sidebar {
    margin-top: 25px;
}

.workshop-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.workshop-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid var(--border-color);
}

.workshop-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(180, 148, 52, 0.4);
}

.workshop-item.active {
    border-left: 6px solid var(--secondary-color);
    background-color: rgba(180, 148, 52, 0.1);
    transform: scale(1.02);
}

.workshop-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.workshop-item p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.workshop-item p i {
    color: var(--secondary-color);
    width: 22px;
    font-size: 1rem;
}

/* Estilo para a lista de oficinas */
.workshop-list-container {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.workshop-item {
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
}

.workshop-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.workshop-item h4 {
    margin-top: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.workshop-item .address,
.workshop-item .phone,
.workshop-item .hours {
    margin: 12px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.select-btn {
    background: linear-gradient(135deg, var(--primary-color), #2a4f6d);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 63, 87, 0.3);
}

.select-btn:hover {
    background: linear-gradient(135deg, #2a4f6d, var(--primary-color));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(33, 63, 87, 0.4);
}

/* ===== PRODUCT RECOMMENDATIONS (SERVIÇOS) ===== */
.recommendation-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.product-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.product-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.product-image {
    width: 100%;
    height: 180px;
    background: var(--bg-color);
    margin-bottom: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    border-radius: 12px;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* ===== SCHEDULING (SERVIÇOS) ===== */
.scheduling-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.workshop-summary {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 20px;
    border-left: 6px solid var(--secondary-color);
    box-shadow: var(--card-shadow);
}

.schedule-form {
    width: 100%;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 25px;
}

/* ===== CONFIRMATION (SERVIÇOS) ===== */
/* ===== CONFIRMATION (SERVIÇOS) - ATUALIZADO ===== */
.confirmation-container {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.confirmation-icon {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 15px;
    animation: bounce 0.5s;
}

.confirmation-container h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.confirmation-details {
    background: var(--bg-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    text-align: left;
    border-left: 4px solid var(--secondary-color);
}

.confirmation-details p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.confirmation-details strong {
    color: var(--primary-color);
    display: inline-block;
    min-width: 120px;
}

.confirmation-text {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.confirmation-details .service-item {
    margin-left: 20px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.confirmation-details .service-details {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

.confirmation-details .total-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
}

/* Responsividade para a confirmação */
@media (max-width: 768px) {
    .confirmation-container {
        padding: 15px;
        margin: 0 10px;
    }

    .confirmation-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .confirmation-container h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .confirmation-details {
        padding: 15px;
        margin: 15px 0;
    }

    .confirmation-details p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .confirmation-details strong {
        min-width: 100px;
        display: block;
        margin-bottom: 5px;
    }

    .confirmation-text {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .confirmation-container {
        padding: 12px;
    }

    .confirmation-icon {
        font-size: 2rem;
    }

    .confirmation-container h2 {
        font-size: 1.2rem;
    }

    .confirmation-details {
        padding: 10px;
    }

    .confirmation-details p {
        font-size: 0.8rem;
    }

    .confirmation-details strong {
        min-width: 60px;
        font-size: 0.8rem;
    }
}

/* ===== ABOUT BANNER (SOBRE) ===== */
.about-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/about-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
}

.about-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 63, 87, 0.85) 0%, rgba(180, 148, 52, 0.7) 100%);
    z-index: 0;
}

.about-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-banner p {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== ABOUT CONTAINER (SOBRE) ===== */
.about-container {
    padding: 60px 0;
}

.about-section {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 63, 87, 0.1), rgba(180, 148, 52, 0.1));
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.milestone {
    background: rgba(180, 148, 52, 0.1);
    padding: 25px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(180, 148, 52, 0.1);
}

.milestone:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(180, 148, 52, 0.1);
}

.milestone .number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.milestone .description {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== MISSÃO, VISÃO E VALORES (SOBRE) ===== */
.mv-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 80px;
}

.mv-card {
    background: var(--card-bg);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(180, 148, 52, 0.1);
    position: relative;
    overflow: hidden;
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.mv-card p,
.mv-card ul {
    color: var(--text-light);
    font-size: 0.95rem;
}

.mv-card ul {
    text-align: left;
    list-style-position: inside;
    padding-left: 10px;
}

.mv-card li {
    margin-bottom: 8px;
}

/* ===== DIFERENCIAIS (SOBRE) ===== */
.diferenciais-section {
    margin-bottom: 60px;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.diferencial-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.diferencial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.diferencial-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.diferencial-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.diferencial-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== TESTIMONIALS (SOBRE) ===== */
.testimonials-section {
    margin-bottom: 60px;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
}

.quote {
    position: relative;
    margin-bottom: 25px;
}

.quote i {
    position: absolute;
    top: -10px;
    left: -10px;
    color: rgba(180, 148, 52, 0.2);
    font-size: 3rem;
    z-index: 1;
}

.quote p {
    position: relative;
    z-index: 2;
    font-style: italic;
    color: var(--text-color);
}

.client {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.client-info p {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ===== AGENDA ===== */
.agenda-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-options select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background-color: var(--light-color);
    color: var(--text-color);
}

/* ===== REMINDER CARD (AGENDA) ===== */
.reminder-section {
    margin-bottom: 40px;
}

.reminder-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.reminder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.reminder-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reminder-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(180, 148, 52, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.reminder-details h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.reminder-details p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 5px;
}



.protocol {
    font-size: 0.85rem;
    color: var(--text-light);
}

.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status.completed {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status.pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

.status.canceled {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}



.service-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-info p,
.date-info p,
.location-info p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-info i,
.date-info i,
.location-info i {
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.appointment-footer {
    padding: 15px 20px;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
    position: relative;
    animation: modalFadeIn 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.modal-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    background: none;
    border: none;
}

.close-modal:hover {
    color: var(--text-color);
}

/* ===== LOGIN FORM ===== */
.login-form {
    margin-bottom: 20px;
}

/* ===== DIVISOR ===== */
.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

/* ===== SOCIAL LOGIN ===== */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background: var(--light-color);
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.9rem;
}

.social-btn:hover {
    background: var(--bg-color);
}

.social-btn.google i {
    color: #DB4437;
}

.register-link {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.register-link a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.register-link a:hover {
    text-decoration: underline;
}

/* ===== LOADING & TOAST ===== */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 5px solid var(--border-color);
    border-top: 5px solid var(--secondary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-color);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast.show {
    opacity: 1;
}

.toast.success {
    background-color: var(--success-color);
}

.toast.warning {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

.toast.error {
    background-color: var(--danger-color);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand img {
    height: 110px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links h3,
.footer-contact h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #ffd700;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.8rem;
}

/* ===== RESPONSIVIDADE MELHORADA ===== */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }

    .hero-banner h1 {
        font-size: 2.2rem;
    }

    .about-banner h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .carousel-slide {
        min-width: calc(33.333% - 15px);
        flex: 0 0 calc(33.333% - 15px);
    }

    .about-section {
        flex-direction: column;
        gap: 30px;
    }

    .about-image {
        order: -1;
        margin-bottom: 20px;
    }

    .nav__list {
        gap: 20px;
    }

    .offer-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* ===== MELHORIAS ADICIONAIS PARA MOBILE ===== */
@media (max-width: 768px) {

    /* Ajustes gerais de espaçamento */
    .container {
        padding: 0 15px;
    }

    .main-content {
        padding-top: 90px;
        padding-bottom: 30px;
    }

    /* Melhorias no header */
    .header {
        height: 70px;
    }

    .logo img {
        height: 100px;
    }

    /* Menu hamburger */
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--light-color);
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav__list a {
        color: var(--text-color);
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        display: block;
    }

    .nav__list a:last-child {
        border-bottom: none;
    }

    .nav__list a:hover::after,
    .nav__list a.active::after {
        width: 0;
    }

    .nav__list a:hover,
    .nav__list a.active {
        color: var(--secondary-color);
    }

    /* Ajustes no hero banner */
    .hero-banner {
        padding: 100px 0 60px;
    }

    .hero-banner h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-banner p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Melhorias nos cards */
    .carousel-slide {
        min-width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }

    .service-card,
    .info-card,
    .offer-card {
        padding: 20px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* Ajustes nos formulários */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input,
    .form-group select {
        padding: 10px 12px;
    }

    .location-search {
        flex-direction: column;
        gap: 10px;
    }

    .location-search input,
    .location-search button {
        width: 100%;
    }

    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .step-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .step-buttons .btn {
        width: 100%;
    }

    /* Melhorias específicas para a página de agendamento */
    .progress-step {
        width: calc(50% - 7.5px);
        margin-bottom: 15px;
        font-size: 0.8rem;
    }

    .progress-steps::before {
        display: none;
    }



    .appointment-header,
    .appointment-body,
    .appointment-footer {
        padding: 15px;
    }

    .appointment-footer .btn {
        width: 100%;
        margin-bottom: 5px;
    }

    /* Ajustes para o mapa */
    #map {
        height: 250px;
    }

    /* Melhorias na página sobre */
    .mv-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .testimonial {
        padding: 20px;
    }

    /* Ajustes nos modais */
    .modal-content {
        width: 90%;
        max-width: none;
        padding: 20px;
        margin: 20px;
    }

    /* Melhorias no footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {

    /* Extra Small Mobile */
    .container {
        padding: 0 10px;
    }

    .carousel-slide {
        min-width: 100%;
        flex: 0 0 100%;
    }

    .offer-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-banner {
        padding: 80px 0 50px;
    }

    .hero-banner h1 {
        font-size: 1.8rem;
    }

    .hero-banner p {
        font-size: 0.95rem;
    }

    .about-banner {
        padding: 80px 0 50px;
    }

    .about-banner h1 {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .testimonial {
        padding: 20px 15px;
    }

    .modal-content {
        padding: 20px 15px;
        margin: 15px;
        width: calc(100% - 30px);
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .main-content {
        padding: 30px 0;
    }

    .service-card {
        padding: 15px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .info-card {
        padding: 20px 15px;
    }

    .offer-card {
        padding: 20px 15px;
    }

    .mv-card {
        padding: 25px 20px;
    }

    .diferencial-card {
        padding: 25px 20px;
    }

    .progress-step {
        width: 100%;
        margin-bottom: 10px;
    }

    .appointment-body {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    .appointment-header {
        padding: 12px 15px;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .appointment-footer {
        padding: 12px 15px;
    }

    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .btn-outline {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* ===== MELHORIAS DE PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {

    .header,
    .footer,
    .hamburger,
    .modal,
    .btn,
    .social-login {
        display: none !important;
    }

    .main-content {
        margin-top: 0;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        width: 100%;
        max-width: none;
    }
}

/* Autocomplete styles */
.autocomplete-container {
    position: relative;
    flex: 1;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--card-bg);
    border: 2px solid rgba(180, 148, 52, 0.2);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 15px 30px rgba(180, 148, 52, 0.15);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    backdrop-filter: blur(10px);
    margin-top: 5px;
}

.autocomplete-results.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.autocomplete-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(180, 148, 52, 0.1);
    display: flex;
    flex-direction: column;
}

.autocomplete-item:last-child {
    border-bottom: none;
    border-radius: 0 0 20px 20px;
}

.autocomplete-item:hover {
    background: linear-gradient(135deg, rgba(180, 148, 52, 0.1), rgba(212, 177, 95, 0.15));
    transform: translateX(5px);
}

.autocomplete-item .main-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 4px;
}

.autocomplete-item .secondary-text {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.9;
}

/* Scrollbar personalizada */
.autocomplete-results::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-results::-webkit-scrollbar-track {
    background: rgba(180, 148, 52, 0.1);
    border-radius: 0 0 20px 0;
}

.autocomplete-results::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    border-radius: 3px;
}

.autocomplete-results::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}


/* Responsividade Mobile - Apenas Banner e Cards */
@media (max-width: 768px) {

    /* Hero Banner ajustes */
    .hero-content {
        padding: 1.5rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Ajustes dos Cards de Serviços */
    .services-carousel {
        padding: 0 1rem;
    }

    .services-carousel .carousel-track {
        flex-direction: column;
        gap: 1rem;
    }

    .service-card {
        width: 100%;
        margin: 0 auto 1.5rem;
        padding: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
}

/* Estilos para seleção de produtos */
.product-selection {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed #eee;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #1d3557;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: #fff;
    border: 2px solid #1d3557;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
}

.checkbox-container input[type="checkbox"]:checked+.checkmark {
    background: #1d3557;
    border-color: #1d3557;
}

.checkbox-container input[type="checkbox"]:checked+.checkmark::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-container input[type="checkbox"]:disabled+.checkmark {
    background: #ccc;
    border-color: #999;
    cursor: not-allowed;
}

/* ===== SELECTION SUMMARY - ESTILO ATUALIZADO ===== */
.selection-summary {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1) 0%, rgba(29, 53, 87, 0.1) 100%);
    padding: 20px 25px;
    border-radius: 16px;
    margin: 25px 0;
    border-left: 4px solid #2a9d8f;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(42, 157, 143, 0.2);
}

.selection-summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(42, 157, 143, 0.4);
}

.selection-summary::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1) 0%, rgba(29, 53, 87, 0.1) 100%);
    border-radius: 0 0 0 80px;
    z-index: 0;
}

.selection-summary h4 {
    margin: 0 0 12px 0;
    color: #1d3557;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.selection-summary h4::before {

    font-size: 1.2rem;
}

#selected-items {
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
    color: #2a9d8f;
    position: relative;
    z-index: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(42, 157, 143, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#selected-items::before {
    content: '✓';
    color: #2a9d8f;
    font-weight: bold;
}

/* Estado quando nenhum produto está selecionado */
.selection-summary.empty {
    border-left-color: #e63946;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(29, 53, 87, 0.1) 100%);
}

.selection-summary.empty h4 {
    color: #e63946;
}

.selection-summary.empty #selected-items {
    color: #e63946;
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(230, 57, 70, 0.2);
}

.selection-summary.empty #selected-items::before {
    content: '⚠';
    color: #e63946;
}

/* Adicionando animação de destaque */
@keyframes highlightSummary {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.selection-summary.highlight {
    animation: highlightSummary 0.5s ease;
}

/* Responsividade */
@media (max-width: 768px) {
    .selection-summary {
        padding: 18px 20px;
        margin: 20px 0;
    }

    .selection-summary h4 {
        font-size: 1rem;
    }

    #selected-items {
        font-size: 0.95rem;
        padding: 10px 12px;
    }
}

/* Estado desabilitado */
input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.workshop-item.selected {
    border: 2px solid #2a9d8f;
    background-color: #f8f9fa;
}

/* ===== PÁGINA DE CONTATOS ===== */

/* Banner da página de contatos */
.contact-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/contact-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
}

.contact-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-banner p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de informações de contato */
.contact-info-section {
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(180, 148, 52, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-detail {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Seção do formulário de contato */
.contact-form-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.form-container {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
}

.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    resize: vertical;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(180, 148, 52, 0.2);
}

.contact-extra-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-extra-info .info-card {
    background: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-extra-info .info-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-extra-info .info-card p {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.faq-container {
    margin-top: 30px;
}

.faq-item {
    background: var(--light-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(180, 148, 52, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    padding-bottom: 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Responsividade */
@media (max-width: 992px) {
    .contact-form-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-extra-info {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        padding: 80px 0;
    }

    .contact-banner h1 {
        font-size: 2rem;
    }

    .contact-banner p {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .contact-extra-info {
        flex-direction: column;
    }

    .form-container {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .contact-banner {
        padding: 60px 0;
    }

    .contact-banner h1 {
        font-size: 1.8rem;
    }

    .faq-question {
        padding: 15px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}

/* Animação para a seção About Banner */
.about-banner {
    background: url('../img/banner.jpg') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    position: relative;
    animation: zoomIn 6s ease-in-out infinite alternate;
}

.about-banner .container {
    position: relative;
    z-index: 2;
}

.about-banner h1 {
    font-size: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s ease forwards;
}

.about-banner p {
    font-size: 1.3rem;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s ease forwards 0.5s;
    /* Delay de 0.5s */
}

/* Animação para subir e aparecer */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação leve no fundo */
@keyframes zoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.hero-divider {
    width: 100%;
    height: 40px;
    background: linear-gradient(to right, #f7b900, #E05D00);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
}


/* Adicione ao main.css */
.service-item {
    margin-left: 20px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.service-details {
    font-size: 0.85em;
    color: #666;
    margin-left: 25px;
    margin-top: 4px;
    font-style: italic;
}

.total-amount {
    font-size: 1.1em;
    font-weight: bold;
    color: #2a9d8f;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid #eee;
}

.confirmation-details p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.confirmation-details strong {
    color: #1d3557;
    min-width: 120px;
    display: inline-block;
}

/* ===== INPUT DE DATA E ESTADOS DE HORÁRIOS - ESTILO ATUALIZADO E OTIMIZADO ===== */

/* Estilos Base para Input de Data */
input[type="date"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    outline: none;
}

/* Ícone Personalizado para Input de Data */
input[type="date"] {
    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=\'%23b49434\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-linejoin=\'round\'%3E%3Crect x=\'3\' y=\'4\' width=\'18\' height=\'18\' rx=\'2\' ry=\'2\'%3E%3C/rect%3E%3Cline x1=\'16\' y1=\'2\' x2=\'16\' y2=\'6\'%3E%3C/line%3E%3Cline x1=\'8\' y1=\'2\' x2=\'8\' y2=\'6\'%3E%3C/line%3E%3Cline x1=\'3\' y1=\'10\' x2=\'21\' y2=\'10\'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 20px;
    padding-right: 50px;
}

/* Efeitos de Interação (Hover e Focus) */
input[type="date"]:hover {
    border-color: rgba(180, 148, 52, 0.4);
    box-shadow: 0 4px 12px rgba(180, 148, 52, 0.1);
}

input[type="date"]:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(180, 148, 52, 0.15);
    transform: translateY(-2px);
}

/* Ocultar Ícone Padrão do Calendário */
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    cursor: pointer;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
}

/* Estilização do Calendário Nativo (WebKit) */
input[type="date"]::-webkit-datetime-edit {
    color: var(--text-color);
    font-weight: 500;
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 2px;
}

input[type="date"]::-webkit-datetime-edit-text {
    color: var(--secondary-color);
    padding: 0 4px;
}

/* ===== ESTILOS PARA SELEÇÃO DE HORÁRIOS ===== */

/* Opções Desabilitadas (Horários Indisponíveis) */
select option:disabled {
    color: #a0aec0;
    background-color: #f7fafc;
    font-style: italic;
}

/* Indicador de Carregamento de Horários */
.loading-horarios {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: pulse 1.5s ease-in-out infinite;
    /* Animação aplicada diretamente */
}

.loading-horarios::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Mensagem de Nenhum Horário Disponível */
.no-horarios {
    text-align: center;
    padding: 20px;
    color: #e53e3e;
    font-style: italic;
    background-color: rgba(229, 62, 62, 0.05);
    border-radius: 12px;
    border: 1px dashed rgba(229, 62, 62, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.no-horarios::before {
    content: '⏰';
    font-size: 1.5rem;
    font-style: normal;
}

/* Container do Select de Horários */
.time-select-container {
    position: relative;
    margin-bottom: 20px;
}

.time-select-container select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'20\' height=\'20\' viewBox=\'0 0 24 24\' fill=\'none\' stroke=\'%23b49434\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-linejoin=\'round\'%3E%3Cpath d=\'m6 9 6 6 6-6\'%3E%3C/path\'%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 20px;
    padding-right: 50px;
    cursor: pointer;
}

.time-select-container select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(180, 148, 52, 0.15);
    outline: none;
}

/* Badges de Status de Horário */
.horario-disponivel,
.horario-indisponivel {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 8px;
}

.horario-disponivel {
    background-color: rgba(72, 187, 120, 0.1);
    color: #48bb78;
}

.horario-indisponivel {
    background-color: rgba(229, 62, 62, 0.1);
    color: #e53e3e;
}

/* ===== ANIMAÇÕES ===== */

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* ===== RESPONSIVIDADE ===== */

@media (max-width: 768px) {

    input[type="date"],
    .time-select-container select {
        padding: 14px 16px;
        font-size: 16px;
        background-position: right 16px center;
        padding-right: 45px;
    }

    .loading-horarios,
    .no-horarios {
        padding: 16px;
        font-size: 0.9rem;
    }
}

/* ===== SUPORTE A DARK MODE ===== */

@media (prefers-color-scheme: dark) {
    input[type="date"] {
        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=\'%23d4b15f\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-linejoin=\'round\'%3E%3Crect x=\'3\' y=\'4\' width=\'18\' height=\'18\' rx=\'2\' ry=\'2\'%3E%3C/rect%3E%3Cline x1=\'16\' y1=\'2\' x2=\'16\' y2=\'6\'%3E%3C/line\'%3E%3Cline x1=\'8\' y1=\'2\' x2=\'8\' y2=\'6\'%3E%3C/line\'%3E%3Cline x1=\'3\' y1=\'10\' x2=\'21\' y2=\'10\'%3E%3C/line\'%3E%3C/svg\'%3E");
    }

    select option:disabled {
        color: #718096;
        background-color: #2d3748;
    }

    .no-horarios {
        background-color: rgba(229, 62, 62, 0.1);
        border-color: rgba(229, 62, 62, 0.2);
    }
}






/* Barra de progresso simplificada */
.progress-container {
    margin: 30px 0;
    padding: 0 20px;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-bubble {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.step-label {
    margin-top: 8px;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
}

.progress-step.active .step-bubble {
    background-color: #1d3557;
    border-color: #1d3557;
    color: white;
    box-shadow: 0 0 0 4px rgba(29, 53, 87, 0.2);
}

.progress-step.active .step-label {
    color: #1d3557;
    font-weight: 600;
}

.progress-step.completed .step-bubble {
    background-color: #2a9d8f;
    border-color: #2a9d8f;
    color: white;
}

.progress-line {
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .progress-bar {
        padding: 0 10px;
    }

    .step-bubble {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .step-label {
        font-size: 12px;
        text-align: center;
    }
}

/* Adicione estilos para a distância */
.workshop-item .distance {
    color: #e63946;
    font-weight: bold;
    margin-bottom: 8px;
}

.workshop-popup .fa-route {
    color: #e63946;
    margin-right: 5px;
}

.workshop-item .distance .fa-route {
    color: #e63946;
    margin-right: 5px;
}

/* Estilo para destacar a distância */
.distance-badge {
    background-color: #e63946;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* Barra de rolagem personalizada (Chrome, Edge, Opera, Safari) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* fundo do trilho */
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    /* usa sua cor */
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8a6f26;
    /* tom mais escuro ao passar o mouse */
}

/* Barra de rolagem no Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #1a3246;
}



/* ===== RECOMMENDATION SECTION - ESTILOS MELHORADOS ===== */
.recommendation-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(180, 148, 52, 0.4);
}

.product-card-header {
    background: linear-gradient(135deg, rgba(180, 148, 52, 0.1), rgba(212, 177, 95, 0.15));
    padding: 15px 20px;
    border-bottom: 1px solid rgba(180, 148, 52, 0.1);
}

.product-card-header h3 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-image-container {
    width: 100%;
    height: 160px;
    background: var(--bg-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-specs p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    align-items: flex-start;
    gap: 8px;
}

.product-specs strong {
    color: var(--primary-color);
    min-width: 100px;
    font-weight: 600;
}

.product-price {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.product-selection {
    padding: 15px 20px;
    background: rgba(180, 148, 52, 0.05);
    border-top: 1px solid rgba(180, 148, 52, 0.1);
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 6px;
}

.checkbox-container:hover {
    background: rgba(180, 148, 52, 0.1);
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-container input[type="checkbox"]:checked+.checkmark {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.checkbox-container input[type="checkbox"]:checked+.checkmark::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-container input[type="checkbox"]:disabled+.checkmark {
    background: #ccc;
    border-color: #999;
    cursor: not-allowed;
}

.checkbox-container input[type="checkbox"]:disabled~span {
    color: #999;
    cursor: not-allowed;
}

/* Estado quando não há recomendação */
.no-recommendation {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-light);
}

.no-recommendation i {
    font-size: 2rem;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
}

.no-recommendation p {
    margin: 0;
    font-style: italic;
}

/* Badge de recomendação automática */
.recommendation-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(180, 148, 52, 0.3);
    z-index: 2;
}

/* Responsividade */
@media (max-width: 768px) {
    .recommendation-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card-content {
        padding: 15px;
    }

    .product-image-container {
        height: 140px;
    }

    .product-specs p {
        flex-direction: column;
        gap: 4px;
    }

    .product-specs strong {
        min-width: auto;
    }
}

/* Animações */
@keyframes productHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(180, 148, 52, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(180, 148, 52, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(180, 148, 52, 0);
    }
}

.product-card.highlight {
    animation: productHighlight 1s ease;
}

/* ===== POPUPS DO LEAFLET - ESTILO ATUALIZADO ===== */
.leaflet-popup-content-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #1d3557;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 2px;
    border: 2px solid rgba(180, 148, 52, 0.3);
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 15px 18px;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.leaflet-popup-tip {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(180, 148, 52, 0.2);
}

/* Conteúdo personalizado do popup */
.workshop-popup {
    min-width: 250px;
    padding: 5px;
}

.workshop-popup h4 {
    color: #1d3557;
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(180, 148, 52, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.workshop-popup h4::before {
    content: '🔧';
    font-size: 1rem;
}

.workshop-popup p {
    margin: 8px 0;
    color: #384d5e;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.workshop-popup i {
    color: #b49434;
    width: 16px;
    text-align: center;
}

.workshop-popup .distance {
    color: #e63946;
    font-weight: 600;
}

.workshop-popup .distance i {
    color: #e63946;
}

.select-workshop-btn {
    background: linear-gradient(135deg, #1d3557, #2a4f6d);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    width: 100%;
    margin-top: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.select-workshop-btn:hover {
    background: linear-gradient(135deg, #2a4f6d, #1d3557);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 53, 87, 0.3);
}

.select-workshop-btn::before {
    content: '✓';
    font-weight: bold;
}

/* Popup para localização do usuário */
.user-popup h4 {
    color: #2a9d8f;
    border-bottom-color: rgba(42, 157, 143, 0.3);
}

.user-popup h4::before {
    content: '📍';
}

/* Animações para os popups */
@keyframes popupAppear {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.leaflet-popup {
    animation: popupAppear 0.3s ease;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .leaflet-popup-content-wrapper {
        border-radius: 14px;
        max-width: 280px;
    }

    .leaflet-popup-content {
        margin: 12px 15px;
        font-size: 0.9rem;
    }

    .workshop-popup {
        min-width: 220px;
    }

    .workshop-popup h4 {
        font-size: 1rem;
    }

    .select-workshop-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Efeito de destaque quando o popup é aberto */
.leaflet-popup-content-wrapper:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Estilo para o botão de fechar do popup */
.leaflet-container a.leaflet-popup-close-button {
    color: #1d3557;
    padding: 6px 8px 0 0;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: #e63946;
}

/* Gradiente sutil no fundo do popup */
.leaflet-popup-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b49434, #d4b15f);
    opacity: 0.8;
    z-index: 1;
}





/* ===== ESTILOS DO DROPDOWN DO USUÁRIO ===== */
.user-dropdown {
    position: relative;
    cursor: pointer;
}

.user-ico {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--f8f9fa);
}

.user-ico:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.login-status {
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    z-index: 1000;
    display: none;
    animation: fadeIn 0.2s ease;
    margin-top: 10px;
}

.dropdown-menu.show {
    display: block;
}

.user-info {
    padding: 0 15px 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.user-info strong {
    display: block;
    color: #333;
    font-size: 14px;
    margin-bottom: 2px;
}

.user-info span {
    color: #666;
    font-size: 12px;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item i {
    width: 16px;
    color: #666;
}

#logout-btn {
    color: #e74c3c;
}

#logout-btn i {
    color: #e74c3c;
}

#logout-btn:hover {
    background-color: #fee;
}

/* Quando logado */
.user-logged-in .user-ico {
    color: #FF6B00;
}

.user-logged-in .user-ico i {
    color: #FF6B00;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .dropdown-menu.show {
        transform: translateY(0);
    }

    .user-icon .login-status {
        display: inline-block !important;
        font-size: 0.8rem;
        color: white;
    }
}

.alert {
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}


/* ===== MELHORIAS PARA A PÁGINA AGENDA ===== */
.agenda-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.filter-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.filter-group select {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.filter-group select:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.no-appointments {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-appointments i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 20px;
    display: block;
}

.no-appointments h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.price-info {
    background: rgba(180, 148, 52, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.price-info p {
    margin: 0;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}


.appointment-header {
    padding: 20px;
    background: var(--light-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.protocol {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status.completed {
    background: rgba(40, 167, 69, 0.2);
    color: #155724;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status.cancelled {
    background: rgba(220, 53, 69, 0.2);
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.appointment-body {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-info h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-info p,
.date-info p,
.location-info p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.service-info i,
.date-info i,
.location-info i {
    color: var(--secondary-color);
    width: 16px;
}

.appointment-footer {
    padding: 20px;
    background: var(--light-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}



/* Responsividade */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        gap: 15px;
    }

    .filter-group {
        min-width: 100%;
    }

    .appointment-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .appointment-body {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }

    .appointment-footer {
        flex-direction: column;
    }

    .appointment-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================
   FILTROS E CONTROLES - VERSÃO RESPONSIVA
=================================*/
.filter-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e1e5eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.filter-controls:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
    flex: 1;
}

.filter-group label {
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

.filter-select {
    padding: 10px 12px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fdfdfd;
    font-size: 14px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.filter-select:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

/* Botão de ações dos filtros */
.filter-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
}

/* ===============================
   BOTÕES
=================================*/
.btn-small {
    padding: 7px 14px;
    font-size: 13px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5c636a;
    transform: translateY(-1px);
}

.btn-danger {
    background: #dc3545;
    border: 1px solid #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #bb2d3b;
    border-color: #b02a37;
    transform: translateY(-1px);
}

/* ===============================
   STATUS
=================================*/
.status-pending {
    background: #fff8e1;
    color: #8a6d3b;
    border: 1px solid #ffe8a1;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.status-completed {
    background: #e6f7ff;
    color: #055160;
    border: 1px solid #b6effb;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.status-cancelled {
    background: #fde2e4;
    color: #842029;
    border: 1px solid #f5c2c7;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.status-expired {
    background: #f1f3f5;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

/* ===============================
   INFOS
=================================*/
.action-disabled {
    color: #6c757d;
    font-style: italic;
    font-size: 14px;
}

.cancel-info {
    background: #fff5f5;
    padding: 12px 14px;
    border-radius: 6px;
    border-left: 4px solid #dc3545;
    margin-top: 12px;
}

.cancel-info p {
    margin: 0;
    color: #842029;
    font-size: 14px;
}

.price-info {
    background: #ebf5ff;
    padding: 10px 14px;
    border-radius: 6px;
    margin-top: 12px;
}

.price-info p {
    margin: 0;
    font-weight: 600;
    color: #004085;
}

/* ===============================
   VAZIO
=================================*/
.no-appointments {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
}

.no-appointments i {
    font-size: 50px;
    margin-bottom: 12px;
    color: #adb5bd;
}

/* ===============================
   RESPONSIVIDADE MELHORADA
=================================*/

/* Tablets e telas médias (768px - 1024px) */
@media (max-width: 1024px) {
    .filter-controls {
        gap: 15px;
        padding: 12px 16px;
    }

    .filter-group {
        min-width: 140px;
    }
}

/* Tablets pequenos (576px - 768px) */
@media (max-width: 768px) {
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .filter-group {
        width: 100%;
        min-width: unset;
    }

    .filter-select {
        width: 100%;
        padding: 12px 14px;
        font-size: 16px;
        /* Evita zoom no iOS */
    }

    .filter-actions {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .btn-small {
        flex: 1;
        min-width: 120px;
        max-width: 200px;
        text-align: center;
        padding: 10px 16px;
    }
}

/* Smartphones (até 576px) */
@media (max-width: 576px) {
    .filter-controls {
        margin-bottom: 20px;
        padding: 12px;
        border-radius: 8px;
    }

    .filter-group {
        margin-bottom: 4px;
    }

    .filter-group label {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .filter-select {
        padding: 14px 12px;
        font-size: 16px;
        border-radius: 6px;
    }

    .filter-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }

    .btn-small {
        width: 100%;
        max-width: none;
        text-align: center;
        padding: 12px 16px;
        font-size: 14px;
    }

    .status-pending,
    .status-completed,
    .status-cancelled,
    .status-expired {
        display: block;
        text-align: center;
        margin: 4px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .cancel-info,
    .price-info {
        margin-top: 16px;
        padding: 16px 12px;
    }

    .no-appointments {
        padding: 40px 16px;
    }

    .no-appointments i {
        font-size: 40px;
    }
}

/* Smartphones muito pequenos (até 360px) */
@media (max-width: 360px) {
    .filter-controls {
        padding: 10px;
        gap: 10px;
    }

    .filter-select {
        padding: 12px 10px;
        font-size: 16px;
    }

    .btn-small {
        padding: 10px 12px;
        font-size: 13px;
    }

    .filter-group label {
        font-size: 13px;
    }
}

/* ===============================
   MELHORIAS DE ACESSIBILIDADE
=================================*/

/* Foco visível para navegação por teclado */
.filter-select:focus,
.btn-small:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Estados de hover para dispositivos que suportam */
@media (hover: hover) {
    .filter-select:hover {
        border-color: #0d6efd;
    }

    .btn-small:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* Redução de movimento para usuários que preferem */
@media (prefers-reduced-motion: reduce) {

    .filter-controls,
    .filter-select,
    .btn-small {
        transition: none;
    }

    .btn-small:hover {
        transform: none;
    }
}

/* ===============================
   LAYOUT FLEXÍVEL PARA FILTROS
=================================*/

/* Container flexível para múltiplos filtros */
.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.filters-row .filter-group {
    flex: 1;
    min-width: 160px;
}

@media (max-width: 768px) {
    .filters-row {
        flex-direction: column;
        gap: 12px;
    }

    .filters-row .filter-group {
        width: 100%;
        min-width: unset;
    }
}

/* Layout em grid para filtros complexos */
.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    align-items: end;
}

@media (max-width: 768px) {
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .filters-grid {
        gap: 10px;
    }
}

/* ===== MELHORIAS PARA O HEADER DA SEÇÃO DE HISTÓRICO ===== */
.section-header {
    display: block;
    /* Muda de flex para block */
    margin-bottom: 25px;
}

.section-header h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(180, 148, 52, 0.2);
}

.filter-controls {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e1e5eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Responsividade para o novo layout */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.3rem;
        text-align: center;
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .filter-group {
        width: 100%;
        min-width: unset;
    }

    .filter-select {
        width: 100%;
        padding: 12px 14px;
        font-size: 16px;
    }

    .filter-actions {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .btn-small {
        flex: 1;
        min-width: 120px;
        max-width: 200px;
        text-align: center;
        padding: 10px 16px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .filter-controls {
        margin-bottom: 20px;
        padding: 12px;
        border-radius: 8px;
    }
}

/* Estilos para o modal de cancelamento */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-title {
    margin-bottom: 15px;
    color: #333;
}

.modal-text {
    margin-bottom: 15px;
    color: #666;
}

.modal-textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    font-family: inherit;
}

.modal-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.modal-cancel-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
}

.modal-confirm-btn {
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    color: white;
    font-size: 18px;
}

.loading-content {
    text-align: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== MELHORIAS PARA A PÁGINA DE AGENDAMENTOS ===== */

/* Estilos aprimorados para os cards de agendamento */
.appointment-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}



.appointment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}



.appointment-card.completed::before {
    background: var(--success-color);
    opacity: 1;
}

.appointment-card.pending::before {
    background: var(--warning-color);
    opacity: 1;
}



.protocol {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.completed {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status.pending {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning-color);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status.cancelled {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger-color);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.appointment-body {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-info h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-info h3::before {
    content: '🔧';
    font-size: 1.2rem;
}

.service-info p,
.date-info p,
.location-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.service-info i,
.date-info i,
.location-info i {
    color: var(--secondary-color);
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.price-info {
    background: linear-gradient(135deg, rgba(180, 148, 52, 0.08), rgba(212, 177, 95, 0.12));
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 15px;
    border: 1px solid rgba(180, 148, 52, 0.15);
}

.price-info p {
    margin: 0;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cancel-info {
    background: rgba(220, 53, 69, 0.08);
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 15px;
    border-left: 4px solid var(--danger-color);
}

.cancel-info p {
    margin: 0;
    color: var(--danger-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.appointment-footer {
    padding: 20px 25px;
    background: var(--light-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.appointment-footer .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.appointment-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.text-muted {
    color: var(--text-light) !important;
    font-style: italic;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Botão de download de comprovante destacado */
.btn-download {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: white;
    border: none;
}

.btn-download:hover {
    background: linear-gradient(135deg, #20c997, var(--success-color));
}

/* Estilos para o modal de confirmação de download */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.download-modal.show {
    display: flex;
}

.download-modal-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.download-icon {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.download-modal h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.download-modal p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.download-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .appointment-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 20px;
    }

    .appointment-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .appointment-footer {
        flex-direction: column;
        padding: 20px;
    }

    .appointment-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .download-modal-buttons {
        flex-direction: column;
    }
}

/* Estados de loading para os botões */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: button-loading 0.8s linear infinite;
}

@keyframes button-loading {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Estilos para os diferentes estados do lembrete */
.reminder-card.next-appointment {
    background: linear-gradient(135deg, #e7f3ff 0%, #d1e7ff 100%);
    border-left: 4px solid #0066cc;
}

.reminder-card.reminder-urgent {
    background: linear-gradient(135deg, #ffe7e7 0%, #ffd1d1 100%);
    border-left: 4px solid #dc3545;
}

.reminder-icon.urgent {
    background: #dc3545 !important;
    color: white !important;
}

.btn-warning {
    background: #ffc107 !important;
    color: #212529 !important;
    border-color: #ffc107 !important;
}

.btn-warning:hover {
    background: #e0a800 !important;
    border-color: #d39e00 !important;
}

/* Melhorar a visualização dos cards */
.appointment-card {
    transition: all 0.3s ease;
}

.appointment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animações */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 102, 204, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
    }
}

@keyframes highlight {
    0% {
        background-color: rgba(255, 193, 7, 0.3);
    }

    100% {
        background-color: transparent;
    }
}

/* Estilos para o modal de download */
.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.download-modal.show {
    opacity: 1;
    visibility: visible;
}

.download-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.download-modal.show .download-modal-content {
    transform: translateY(0);
}

.download-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 20px;
}

.download-modal h3 {
    color: #213f57;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.download-modal p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.download-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Estilo para botão de loading */
.btn.loading {
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Melhorar aparência dos botões na agenda */
.appointment-footer .btn {
    position: relative;
    transition: all 0.3s ease;
}

.appointment-footer .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Feedback visual para download */
@keyframes downloadPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.btn-download-complete {
    animation: downloadPulse 0.5s ease;
    background-color: #28a745 !important;
}



/* ===== CORREÇÃO DO STATUS DO USUÁRIO NO MODO RESPONSIVO ===== */

/* Garantir que o status do usuário seja visível em mobile */
@media (max-width: 768px) {
    .user-icon .login-status {
        display: inline-block !important;
        font-size: 0.85rem;
        margin-left: 8px;
        color: white;
        white-space: nowrap;
    }

    .user-icon {
        padding: 8px 12px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.1);
        display: flex !important;
        align-items: center;
        gap: 8px;
    }
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
    .user-icon .login-status {
        font-size: 0.8rem;
        margin-left: 6px;
    }

    .user-icon {
        padding: 6px 10px;
        gap: 6px;
    }
}

/* Garantir que o dropdown funcione corretamente no mobile */
@media (max-width: 1024px) {
    .user-dropdown {
        position: static;
    }

    .dropdown-menu {
        position: fixed;
        top: 85px;
        left: 0;
        width: 100%;
        max-width: none;
        border-radius: 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        padding: 15px 0;
    }
}

/* ===== GARANTIR VISIBILIDADE DO STATUS EM TODAS AS TELAS ===== */
@media (max-width: 1024px) {
    .user-dropdown .user-icon .login-status {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: white !important;
        font-size: 0.85rem;
    }

    .user-dropdown .user-icon {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
}

/* Correção específica para o menu mobile */
@media (max-width: 768px) {
    .nav.active~.action-icons .user-dropdown .user-icon .login-status {
        display: inline-block !important;
        color: white !important;
    }

    /* Garantir que o elemento seja sempre visível no header mobile */
    .header .user-dropdown .user-icon .login-status {
        display: inline-block !important;
        color: white !important;
        font-weight: 500;
    }
}


.workshop-item .days {
    color: #666;
    font-size: 14px;
    margin: 2px 0;
}

.workshop-item .days i {
    color: #e63946;
    margin-right: 5px;
}

/* Estilo para horários indisponíveis */
select option:disabled {
    color: #999;
    font-style: italic;
}

/* Estilo para inputs desabilitados */
input:disabled,
select:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* Estilo para opções desabilitadas no select */
select option:disabled {
    color: #6c757d;
    background-color: #f8f9fa;
}

/* Feedback visual para dias inválidos */
input:invalid {
    border-color: #dc3545;
}

.workshop-item.selected {
    border-left: 4px solid #e63946;
    background-color: #f8f9fa;
}

/* Estilos para distância colorida */
.workshop-info .distance {
    font-weight: 600;
    font-size: 16px;
    margin: 8px 0;
}

.workshop-info .distance i {
    margin-right: 8px;
}

/* Estilos para dias da semana */
.workshop-info .days {
    color: #6c757d;
    font-size: 14px;
    margin: 5px 0;
}

.workshop-info .days i {
    color: #2a9d8f;
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Cores para diferentes distâncias */
.distance-very-close {
    color: #2a9d8f;
}

/* Verde - menos de 2km */
.distance-close {
    color: #3a86ff;
}

/* Azul - 2-5km */
.distance-medium {
    color: #f4a261;
}

/* Laranja - 5-10km */
.distance-far {
    color: #e63946;
}

/* Vermelho - mais de 10km */

/* Adicione ao main.css - Estilos para o ícone de distância colorido */
.workshop-info .distance i {
    transition: color 0.3s ease;
}

.distance-very-close i {
    color: #2a9d8f;
}

/* Verde */
.distance-close i {
    color: #3a86ff;
}

/* Azul */
.distance-medium i {
    color: #f4a261;
}

/* Laranja */
.distance-far i {
    color: #e63946;
}

/* Vermelho */

/* Adicione ao main.css - Estilos para o input de data com cor amarela */
input[type="date"] {
    border-color: var(--secondary-color) !important;
    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='%23b49434' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}

input[type="date"]:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(180, 148, 52, 0.15) !important;
}

/* Para o select de horários também */
.time-select-container select {
    border-color: var(--secondary-color) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23b49434' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
}

.time-select-container select:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(180, 148, 52, 0.15) !important;
}





.workshop-item p .fa-route,
.workshop-item p .fa-clock {
    color: var(--secondary-color);
}



.workshop-item p .fa-route,
.workshop-item p .fa-clock,
.workshop-item p .fa-calendar {
    color: var(--secondary-color);
}



.workshop-item .distance i,
.workshop-item .hours i,
.workshop-item .days i {
    color: var(--secondary-color);
}



.workshop-item p .fa-route,
.workshop-item p .fa-clock,
.workshop-item p .fa-calendar {
    color: var(--secondary-color);
}

.distance-near {
    color: #28a745 !important;
    /* verde */
}

.distance-medium {
    color: #ffc107 !important;
    /* amarelo/laranja */
}

.distance-far {
    color: #dc3545 !important;
    /* vermelho */
}

/* ==================== ESTILOS PARA GESTÃO DE ESTOQUE AVANÇADA ==================== */

/* Ações de Estoque */
.estoque-actions {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Barra de Filtros */
.filters-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 150px;
}

.filter-group label {
    font-weight: 600;
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Controles de Quantidade */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-input {
    width: 80px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.low-stock-warning {
    color: #e63946;
    font-size: 14px;
}

/* Badges de Tipo de Produto */
.product-type-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-type-badge.oleo {
    background: #e3f2fd;
    color: #1976d2;
}

.product-type-badge.filtro {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Itens Inativos */
.inactive-item {
    opacity: 0.6;
    background-color: #f8f9fa !important;
}

.inactive-item:hover {
    opacity: 0.8;
}

/* Informações do Produto */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vehicle-compatibility {
    color: #6c757d;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==================== MODAIS DE GESTÃO DE VEÍCULOS ==================== */

/* Seções do Formulário */
.form-section {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.form-section h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* Abas de Gestão de Veículos */
.vehicle-management-tabs {
    margin-top: 10px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #2a9d8f;
    border-bottom-color: #2a9d8f;
}

.tab-btn:hover:not(.active) {
    color: #495057;
    background: #f8f9fa;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tab-header h4 {
    margin: 0;
    color: #495057;
}

/* Lista de Veículos */
.vehicle-list {
    max-height: 400px;
    overflow-y: auto;
}

.vehicle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 8px;
    background: white;
    transition: all 0.3s ease;
}

.vehicle-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vehicle-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vehicle-info strong {
    color: #495057;
    font-size: 14px;
}

.vehicle-details {
    display: flex;
    gap: 12px;
    align-items: center;
}

.brand-name,
.model-name {
    font-size: 12px;
    color: #6c757d;
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
}

.vehicle-type {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.vehicle-type.carro {
    background: #e3f2fd;
    color: #1976d2;
}

.vehicle-type.moto {
    background: #fff3e0;
    color: #f57c00;
}

.vehicle-count {
    font-size: 11px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 10px;
}

.vehicle-actions {
    display: flex;
    gap: 5px;
}

/* Detalhes do Produto */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-section {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.detail-section h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 8px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item label {
    font-weight: 600;
    color: #6c757d;
    font-size: 12px;
    text-transform: uppercase;
}

.detail-item span {
    color: #495057;
    font-size: 14px;
}

/* Estados Vazios */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #dee2e6;
}

.empty-state h4 {
    margin: 0 0 8px 0;
    color: #6c757d;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
}

.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
}

/* Responsividade */
@media (max-width: 768px) {
    .filters-bar {
        flex-direction: column;
    }

    .filter-group {
        min-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        text-align: left;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .tab-btn.active {
        border-left-color: #2a9d8f;
        border-bottom-color: transparent;
    }

    .vehicle-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .vehicle-actions {
        align-self: flex-end;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Animações */
@keyframes highlight {
    0% {
        background-color: #e8f5e8;
    }

    100% {
        background-color: transparent;
    }
}

.highlight {
    animation: highlight 2s ease;
}

/* Alertas de Horários Especiais */
.special-hours-alert,
.closed-day-alert {
    margin: 15px 0;
    animation: slideDown 0.3s ease-out;
}

.alert {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-warning {
    background-color: #fffbf0;
    border-color: #ffc107;
    color: #856404;
}

.alert-danger {
    background-color: #f8f9fa;
    border-color: #dc3545;
    color: #721c24;
}

.alert i {
    margin-right: 12px;
    font-size: 1.2em;
    margin-top: 2px;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    margin-bottom: 4px;
}

.alert-content span {
    font-size: 0.9em;
}

/* Animações */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados desabilitados */
select:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Responsividade */
@media (max-width: 768px) {
    .alert {
        padding: 10px 12px;
    }

    .alert i {
        font-size: 1.1em;
        margin-right: 8px;
    }
}

/* Estilos para intervalo entre agendamentos */
.intervalo-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.intervalo-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.intervalo-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(0, 123, 255, 0.05);
}

.intervalo-option input[type="radio"]:checked+.intervalo-label {
    color: var(--primary-color);
    font-weight: 600;
}

.intervalo-option input[type="radio"]:checked {
    accent-color: var(--primary-color);
}

.intervalo-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.intervalo-tempo {
    font-size: 16px;
    font-weight: 500;
}

.intervalo-desc {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.capacidade-preview {
    border-left: 4px solid var(--primary-color);
}

/* Responsividade */
@media (max-width: 768px) {
    .intervalo-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}


/* Estilos para informações de capacidade */
.capacidade-info {
    border-left: 4px solid #3a86ff;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.capacidade-info .fas {
    font-size: 16px;
}

/* Destaque para última vaga */
select option[style*="color: #f4a261"] {
    font-weight: bold !important;
}

/* Tooltip para informações de capacidade */
.capacidade-tooltip {
    position: relative;
    cursor: help;
}

.capacidade-tooltip:hover::after {
    content: "Número de clientes que podem ser atendidos ao mesmo tempo";
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #333;
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

/* ===== REMINDER CARD - MODO NOTURNO HARMONIOSO ===== */
.reminder-card.next-appointment {
    background: linear-gradient(135deg, #e7f3ff 0%, #d1e7ff 100%);
    border-left: 4px solid #0066cc;
}

@media (prefers-color-scheme: dark) {
    .reminder-card.next-appointment {
        background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
        border-left: 4px solid #63b3ed;
    }
}

/* ===== FILTER CONTROLS - MODO NOTURNO HARMONIOSO ===== */
.filter-controls {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e1e5eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .filter-controls {
        background: #2d3748;
        border: 1px solid #4a5568;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
}

/* ===== REMINDER CARD BASE - MODO NOTURNO ===== */
.reminder-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

@media (prefers-color-scheme: dark) {
    .reminder-card {
        background-color: #2d3748;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    }

    .reminder-card:hover {
        background-color: #374151;
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    }
}

/* ===== FILTER CONTROLS ADICIONAIS - MODO NOTURNO ===== */
.filter-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

@media (prefers-color-scheme: dark) {
    .filter-controls:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        border-color: #718096;
    }
}

/* ===== COMPONENTES DOS FILTROS - MODO NOTURNO ===== */
.filter-group select {
    padding: 10px 12px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fdfdfd;
    font-size: 14px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
    .filter-group select {
        background: #4a5568;
        border: 1px solid #718096;
        color: #e2e8f0;
    }

    .filter-group select:focus {
        border-color: #63b3ed;
        box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.15);
    }

    .filter-group label {
        color: #cbd5e0;
    }
}

/* ===== BOTÕES DOS FILTROS - MODO NOTURNO ===== */
.btn-small {
    padding: 7px 14px;
    font-size: 13px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
    .btn-secondary {
        background: #718096;
        color: #f7fafc;
    }

    .btn-secondary:hover {
        background: #4a5568;
    }
}

/* ===== ESTADOS DOS CARDS - MODO NOTURNO ===== */
.status-pending,
.status-completed,
.status-cancelled,
.status-expired {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

@media (prefers-color-scheme: dark) {
    .status-pending {
        background: rgba(255, 193, 7, 0.2);
        color: #faf089;
        border: 1px solid rgba(255, 193, 7, 0.3);
    }

    .status-completed {
        background: rgba(40, 167, 69, 0.2);
        color: #9ae6b4;
        border: 1px solid rgba(40, 167, 69, 0.3);
    }

    .status-cancelled {
        background: rgba(220, 53, 69, 0.2);
        color: #fc8181;
        border: 1px solid rgba(220, 53, 69, 0.3);
    }

    .status-expired {
        background: rgba(107, 114, 128, 0.2);
        color: #cbd5e0;
        border: 1px solid rgba(107, 114, 128, 0.3);
    }
}

/* ===== INFORMAÇÕES ADICIONAIS - MODO NOTURNO ===== */
.price-info {
    background: rgba(180, 148, 52, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.cancel-info {
    background: rgba(220, 53, 69, 0.08);
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 15px;
    border-left: 4px solid var(--danger-color);
}

@media (prefers-color-scheme: dark) {
    .price-info {
        background: rgba(180, 148, 52, 0.15);
        border: 1px solid rgba(180, 148, 52, 0.3);
    }

    .price-info p {
        color: #d4b15f;
    }

    .cancel-info {
        background: rgba(220, 53, 69, 0.15);
        border-left: 4px solid #fc8181;
    }

    .cancel-info p {
        color: #fc8181;
    }
}

/* ===== CARDS DE AGENDAMENTO - MODO NOTURNO COMPLETO ===== */
.appointment-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

@media (prefers-color-scheme: dark) {
    .appointment-card {
        background: #2d3748;
        border: 1px solid #4a5568;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    .appointment-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
        border-color: #718096;
    }

    .appointment-header {
        background: #374151;
        border-bottom: 1px solid #4a5568;
    }

    .appointment-body {
        background: #2d3748;
    }

    .appointment-footer {
        background: #374151;
        border-top: 1px solid #4a5568;
    }

    .protocol {
        color: #e2e8f0;
    }

    .service-info h3 {
        color: #d4b15f;
    }

    .service-info p,
    .date-info p,
    .location-info p {
        color: #cbd5e0;
    }
}

/* ===== TEXTOS E ELEMENTOS DE TEXTO - MODO NOTURNO ===== */
@media (prefers-color-scheme: dark) {
    .action-disabled {
        color: #a0aec0;
    }

    .text-muted {
        color: #a0aec0 !important;
    }

    .no-appointments {
        color: #a0aec0;
    }

    .no-appointments i {
        color: #718096;
    }

    .no-appointments h3 {
        color: #e2e8f0;
    }
}

/* ===== BOTÕES NO MODO NOTURNO ===== */
@media (prefers-color-scheme: dark) {
    .btn-outline {
        border: 1px solid #d4b15f;
        color: #d4b15f;
    }

    .btn-outline:hover {
        background: #d4b15f;
        color: #2d3748;
    }

    .btn-primary {
        background: linear-gradient(135deg, #b49434, #d4b15f);
        color: #2d3748;
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, #d4b15f, #b49434);
    }
}

/* ===== TRANSITIONS SUAVES PARA O MODO NOTURNO ===== */
.filter-controls,
.reminder-card,
.appointment-card,
.filter-group select,
.btn-small {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ACESSIBILIDADE NO MODO NOTURNO ===== */
@media (prefers-color-scheme: dark) {

    .filter-select:focus,
    .btn-small:focus {
        outline: 2px solid #63b3ed;
        outline-offset: 2px;
    }
}

/* ===== REDUÇÃO DE MOVIMENTO ===== */
@media (prefers-reduced-motion: reduce) {

    .filter-controls,
    .reminder-card,
    .appointment-card,
    .filter-group select,
    .btn-small {
        transition: none;
    }
}

/* ===== MODAIS DE CANCELAMENTO - MODO NOTURNO ===== */
@media (prefers-color-scheme: dark) {

    .cancel-confirmation-modal,
    .cancel-reason-modal,
    .success-cancel-modal {
        background: rgba(0, 0, 0, 0.8);
    }

    .cancel-modal-content,
    .reason-modal-content,
    .success-modal-content {
        background: #2d3748;
        border: 2px solid #4a5568;
        color: #e2e8f0;
    }

    .cancel-modal-content h3,
    .reason-modal-content h3,
    .success-modal-content h3 {
        color: #f7fafc;
    }

    .cancel-modal-content p,
    .reason-modal-content p,
    .success-modal-content p {
        color: #cbd5e0;
    }

    #cancel-reason-input {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }

    #cancel-reason-input::placeholder {
        color: #a0aec0;
    }

    #cancel-reason-input:focus {
        border-color: #ff6b6b;
        box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    }

    .btn-cancel-secondary,
    .btn-reason-cancel {
        border-color: #718096;
        color: #e2e8f0;
    }

    .btn-cancel-secondary:hover,
    .btn-reason-cancel:hover {
        background: #4a5568;
    }

    .char-counter {
        color: #a0aec0;
    }
}

/* ===== ANIMAÇÕES PARA OS MODAIS ===== */
@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes successAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }

    70% {
        transform: scale(1.1) rotate(5deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ===== ESTILOS DE HOVER CONSISTENTES ===== */
.btn-cancel-secondary:hover,
.btn-reason-cancel:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-cancel-primary:hover,
.btn-reason-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

/* ===== CHATBOT STYLES - TEMA DO INDEX.CSS ===== */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-gold));
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(180, 148, 52, 0.5);
}

.chatbot-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--danger-color);
    border-radius: var(--radius-full);
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 101, 101, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(245, 101, 101, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 101, 101, 0);
    }
}

.chatbot-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-widget.active {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chatbot-info h4 {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.chatbot-close {
    position: absolute;
    top: 50%;
    right: var(--space-md);
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
    padding: 5px;
}

.chatbot-close:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.chatbot-messages {
    flex: 1;
    padding: var(--space-md);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background: var(--bg-color);
}

.chatbot-message {
    display: flex;
    gap: var(--space-sm);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: var(--secondary-color);
    color: white;
}

.user-message .message-avatar {
    background: var(--primary-color);
    color: white;
}

.message-content {
    max-width: 80%;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    position: relative;
}

.bot-message .message-content {
    background: var(--bg-light);
    border-top-left-radius: 0;
    color: var(--text-color);
}

.bot-message .message-content p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-top-right-radius: 0;
}

.user-message .message-content p {
    color: white;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.quick-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.quick-option {
    background: rgba(180, 148, 52, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.quick-option:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.chatbot-input {
    padding: var(--space-md);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: var(--space-sm);
    background: var(--bg-light);
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    background: var(--bg-color);
    color: var(--text-color);
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(180, 148, 52, 0.1);
}

.chatbot-input button {
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    width: 40px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-input button:hover {
    background: var(--secondary-dark);
    transform: scale(1.05);
}

/* ===== MELHORIAS DO CHATBOT ===== */
.faq-questions {
    display: grid;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.faq-question {
    background: rgba(180, 148, 52, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.faq-question:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateX(5px);
}

.faq-question i {
    font-size: 0.8rem;
    opacity: 0.8;
    width: 16px;
}

.question-category {
    font-weight: 600;
    color: var(--secondary-color);
    margin: var(--space-sm) 0 var(--space-xs) 0;
    font-size: 0.9rem;
    padding-left: var(--space-xs);
    border-left: 3px solid var(--secondary-color);
}

.quick-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

/* ===== BOTÃO VOLTAR DO CHATBOT ===== */
.chatbot-back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
    width: fit-content;
}

.chatbot-back-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-3px);
}

.chatbot-back-btn i {
    font-size: 0.8rem;
}

/* Animações melhoradas */
@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.user-message {
    animation: messageSlide 0.3s ease;
}

.bot-message {
    animation: messageSlide 0.3s ease 0.1s both;
}

/* Indicador de digitação */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: var(--space-sm);
    color: var(--text-light);
    font-style: italic;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-light);
    border-radius: var(--radius-full);
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsividade do chatbot */
@media (max-width: 480px) {
    .chatbot-widget {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        height: 70vh;
    }

    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
    }
}

/* Scrollbar personalizada para o chat */
.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

/* Garantir que as variáveis CSS estejam disponíveis */
:root {
    /* Cores principais - Esquema dourado/azul */
    --primary-color: #213f57;
    --primary-dark: #1a3246;
    --primary-light: #2a4f6d;
    --secondary-color: #b49434;
    --secondary-dark: #9a7d2c;
    --secondary-light: #d4b15f;
    --accent-color: #ffd700;
    --accent-gold: #ffd700;

    /* Cores de texto */
    --text-color: #2d3748;
    --text-light: #718096;
    --text-lighter: #a0aec0;

    /* Cores de fundo */
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --bg-lighter: #edf2f7;

    /* Cores de borda */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Cores de estado */
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --danger-color: #f56565;
    --info-color: #4299e1;

    /* Efeitos e transições */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 8px 25px rgba(180, 148, 52, 0.3);

    /* Bordas */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Espaçamentos */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
}

/* Modo escuro */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #1e2a3a;
        --primary-dark: #151f2a;
        --primary-light: #2a3a4d;
        --secondary-color: #d4af37;
        --secondary-dark: #b8941f;
        --secondary-light: #e6c86d;
        --accent-color: #ffd700;

        --text-color: #e2e8f0;
        --text-light: #cbd5e0;
        --text-lighter: #a0aec0;

        --bg-color: #0f1419;
        --bg-light: #1a202c;
        --bg-lighter: #2d3748;

        --border-color: #374151;
        --border-light: #1f2937;
    }
}
/* ===== CURSOR PERSONALIZADO OILSMART ===== */
.has-custom-cursor,
.has-custom-cursor * {
    cursor: none !important;
}

.oil-cursor-dot,
.oil-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    z-index: 10000;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.oil-cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-color, #ffd700);
    transition: opacity 150ms ease;
}

.oil-cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 215, 0, .48);
    transition: width 200ms ease, height 200ms ease, border-color 200ms ease, background 200ms ease, opacity 150ms ease;
}

.oil-cursor-ring.is-hover {
    width: 56px;
    height: 56px;
    border-color: var(--secondary-light, #d4b15f);
    background: rgba(180, 148, 52, .13);
}

.oil-cursor-ring.is-click {
    width: 42px;
    height: 42px;
    border-color: var(--accent-color, #ffd700);
    background: rgba(255, 215, 0, .18);
}

.has-custom-cursor .oil-cursor-dot,
.has-custom-cursor .oil-cursor-ring {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .has-custom-cursor,
    .has-custom-cursor * {
        cursor: auto !important;
    }

    .oil-cursor-dot,
    .oil-cursor-ring {
        display: none;
    }
}
