/* =========================
   CORES E VARIÁVEIS
   ========================= */
* {
    font-family: "Inter", sans-serif;
}

.cor_padrao,
.btn-padrao {
    background-color: #1A3300;
    color: white;
}

    .btn-padrao:hover {
        background-color: #3c6313;
        color: white;
    }

.verde {
    color: #1A3300;
}

/* =========================
   DROPDOWN-MENU PERFIL
   ========================= */
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.active {
    background-color: #1A3300 !important;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    min-height: 80px;
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar .dropdown-menu {
    z-index: 1055;
    position: absolute;
}

.container-fluid,
.navbar-collapse {
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

/* =========================
   LOGO
   ========================= */
.logo-navbar {
    max-height: 100%;
    height: auto;
    width: auto;
}

/* =========================
   BOTÕES E FOCUS
   ========================= */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* =========================
   RESPONSIVIDADE E HTML/BODY
   ========================= */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    overflow-x: hidden;
}

/* =========================
   FORMULÁRIOS
   ========================= */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* =========================
   FOTO CARD (ADMIN)
   ========================= */
.foto-card {
    transition: box-shadow 0.2s, transform 0.2s;
    border-radius: 1rem;
    overflow: hidden;
}

    .foto-card:hover {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
        transform: translateY(-4px) scale(1.02);
    }

.foto-img {
    max-height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.foto-footer {
    background: #f8f9fa;
    border-top: none;
}

/* =========================
   HEADER FIXO - ÍCONES SEPARADOS
   ========================= */
.navbar-icones {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carrinho-header,
.perfil-header,
.notificacoes-header {
    display: flex;
    align-items: center;
    color: white;
}

    .carrinho-header .nav-link,
    .perfil-header .nav-link,
    .notificacoes-header .nav-link {
        color: white;
        font-size: 1.2rem;
    }

    .notificacoes-header .badge {
        font-size: 0.7rem;
    }

/* =========================
   BOTÃO FIXO WHATSAPP
   ========================= */
.whatsapp-fixo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 1.8rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: background-color 0.3s ease;
}

    .whatsapp-fixo:hover {
        background-color: #1ebe5d;
        text-decoration: none;
        color: white;
    }

/* =========================
   RESPONSIVO (MOBILE)
   ========================= */
@media (max-width: 576px) {
    html,
    body {
        overflow-x: hidden;
    }

    .navbar,
    .container-fluid {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .logo-navbar {
        max-height: 40px;
        height: auto;
        width: auto;
    }

    .navbar-toggler {
        margin-left: 10px;
    }

    .navbar .container-fluid {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .carrinho-header,
    .perfil-header,
    .notificacoes-header {
        font-size: 1rem;
    }

        .notificacoes-header i.fa-bell {
            font-size: 1rem !important;
        }

    .navbar .dropdown-menu {
        position: fixed !important;
        top: 60px !important;
        left: 10px !important;
        right: 10px !important;
        z-index: 1055;
        width: auto !important;
        margin: 0 auto;
        border-radius: 0.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
}
/* =========================
   CHECKBOX PADRÃO
   ========================= */
input[type="checkbox"] {
    accent-color: #1A3300; /* Cor do tema */
    width: 1.2em;
    height: 1.2em;
    border-radius: 0.25em;
    border: 1.5px solid #1A3300;
    vertical-align: middle;
    margin-right: 0.5em;
    transition: box-shadow 0.2s, border-color 0.2s;
}

    input[type="checkbox"]:focus {
        outline: none;
        box-shadow: 0 0 0 0.15rem #3c631355;
        border-color: #3c6313;
    }

    input[type="checkbox"]:checked {
        background-color: #1A3300;
        border-color: #1A3300;
    }

    input[type="checkbox"]:disabled {
        background-color: #e9ecef;
        border-color: #adb5bd;
        cursor: not-allowed;
        opacity: 0.7;
    }
