*, *::before, *::after {
    box-sizing: border-box;
}

/* ==========================================
   1. ACESSO NEGADO (acesso_negado_2.html)
   ========================================== */
.body-acesso-negado {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #f3f4f6;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}
.card-acesso-negado {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
}
.icon-acesso-negado {
    font-size: 50px;
    margin-bottom: 15px;
}
.title-acesso-negado {
    font-size: 20px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 10px;
}
.text-acesso-negado {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 25px;
}
.btn-acesso-negado {
    display: inline-block;
    width: 100%;
    background: #dc2626;
    color: #ffffff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-acesso-negado:hover {
    background: #b91c1c;
}

/* ==========================================
   2. BASE MESSAGES (base_messages_2.html)
   ========================================== */
.alert-container-base-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    width: 100%;
}
.alert-base-messages {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
    border-radius: 8px;
}

/* ==========================================
   3. CARD PEDIDO (card_pedido_2.html)
   ========================================== */
.card-pedido {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.pedido-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 6px;
    margin-bottom: 8px;
}
.pedido-cliente {
    font-size: 14px;
    margin-bottom: 4px;
}
.pedido-endereco {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}
.pedido-obs {
    font-size: 12px;
    background: #fef3c7;
    color: #92400e;
    padding: 6px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.pedido-itens {
    font-size: 13px;
    margin-bottom: 10px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 6px;
}
.pedido-item {
    display: flex;
    justify-content: space-between;
}
.pedido-item-nome {
    font-weight: 600;
}
.pedido-item-obs {
    font-size: 11px;
    color: #ef4444;
    margin-left: 10px;
}
.pedido-total {
    font-size: 14px;
    font-weight: bold;
    text-align: right;
    margin-top: 6px;
    color: #1e293b;
}
.btn-acao {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
}
.btn-avancar { background: #22c55e; color: white; }
.btn-recusar { background: #ef4444; color: white; }


/* ==========================================
   4. CARDÁPIO (cardapio_3.html)
   ========================================== */
.body-cardapio3 { 
    font-family: system-ui, -apple-system, sans-serif; 
    background-color: #fef3c7 !important; 
    margin: 0; 
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.cardapio-container { 
    width: 100%;
    max-width: 480px; 
    background: #ffffff; 
    min-height: 100vh;
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.15);
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
    position: relative;
}

.brand-banner {
    height: 130px;
    background: linear-gradient(135deg, #FFC700 0%, #FFA800 100%);
    width: 100%;
}

.brand-header { 
    text-align: center; 
    margin-top: -50px;
    padding: 0 20px 16px 20px;
    border-bottom: 1px solid #fef3c7; 
}
.brand-logo { 
    width: 105px; 
    height: 105px; 
    border-radius: 20px; 
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: #ffffff;
}
.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: #1c1917;
    margin-top: 8px;
}

.status-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.status-aberto { background: #dcfce7; color: #15803d; }
.status-fechado { background: #fee2e2; color: #b91c1c; }

.menu-content { padding: 16px; flex: 1; }

.accordion-item {
    border: 1px solid #fef3c7;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.accordion-header {
    width: 100%;
    background: #fffdf5;
    padding: 16px;
    font-size: 15px;
    font-weight: 800;
    color: #1c1917;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accordion-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: #dc2626;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 16px;
}

.produto-card { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 14px 0; 
    border-bottom: 1px dashed #f3eedf; 
}
.produto-card:last-child { border-bottom: none; }

.produto-info h4 { margin: 0 0 4px 0; font-size: 15px; color: #1c1917; font-weight: 700; }
.produto-desc { margin: 0 0 8px 0; font-size: 13px; color: #78716c; line-height: 1.4; }

.preco-container { display: flex; align-items: center; gap: 8px; }
.produto-preco { font-weight: 800; color: #dc2626; font-size: 16px; }
.preco-de { text-decoration: line-through; color: #a8a29e; font-size: 13px; font-weight: 500; }
.badge-promo { background: #dc2626; color: white; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; }

.btn-add { 
    background: #dc2626; 
    color: #ffffff; 
    border: none; 
    width: 36px; 
    height: 36px; 
    border-radius: 10px; 
    font-size: 20px; 
    font-weight: bold; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.3);
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
}
.btn-add:active { transform: scale(0.9); background: #b91c1c; }

.produto-indisponivel { opacity: 0.6; }
.produto-indisponivel .produto-info h4,
.produto-indisponivel .produto-desc,
.produto-indisponivel .preco-container { 
    text-decoration: line-through !important; 
    color: #78716c !important; 
}

.btn-disabled {
    background: #cbd5e1 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    pointer-events: none;
}
.text-indisponivel { font-size: 12px; font-weight: 700; color: #b91c1c; margin-top: 4px; }

.carrinho-flutuante-container {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    width: 100%;
    max-width: 440px;
    padding: 0 15px;
    box-sizing: border-box;
}

.btn-carrinho-flutuante {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    background-color: #22c55e;
    color: white;
    padding: 14px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.badge-carrinho {
    background: white;
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.accordion-icon {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #dc2626;
    display: inline-block;
    line-height: 1;
}

/* ==========================================
   5. CARRINHO (carrinho_2.html)
   ========================================== */
.body-carrinho2 { 
    font-family: sans-serif; 
    background-color: #f4f4f4; 
    margin: 0; 
    padding: 20px; 
}
.header-carrinho2 {
    display: none;
}
.container-carrinho2 { 
    max-width: 500px; 
    margin: 0 auto; 
    background: white; 
    padding: 20px; 
    border-radius: 8px; 
}
.card-carrinho2 {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    box-shadow: none;
}
.item-carrinho2 { 
    display: flex; 
    justify-content: space-between; 
    border-bottom: 1px solid #eee; 
    padding: 10px 0; 
}
.item-nome-carrinho2 {
    font-weight: bold;
}
.item-preco-carrinho2 {
    color: #333;
}
.form-group-carrinho2 { 
    margin-bottom: 12px; 
}
.form-group-carrinho2 label { 
    display: block; 
    font-weight: bold; 
    margin-bottom: 5px; 
    font-size: 14px;
    color: #333;
}
.form-group-carrinho2 input, 
.form-group-carrinho2 textarea, 
.form-group-carrinho2 select { 
    width: 100%; 
    padding: 8px; 
    box-sizing: border-box; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    font-family: inherit; 
    font-size: 14px;
}
.btn-finalizar-carrinho2 { 
    width: 100%; 
    background: #28a745; 
    color: white; 
    padding: 12px; 
    border: none; 
    border-radius: 5px; 
    font-size: 16px; 
    font-weight: bold; 
    cursor: pointer; 
    margin-top: 10px; 
}
.btn-finalizar-carrinho2:hover {
    background: #218838;
}

/* ==========================================
   6. CONFIRMAR DELETAR CATEGORIA (confirmar_deletar_categoria_2.html)
   ========================================== */
.body-deletar-cat2 {
    background-color: #f8f9fa;
    font-family: system-ui, -apple-system, sans-serif;
}
.card-deletar-cat2 {
    max-width: 500px;
    margin: 60px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
}

/* ==========================================
   7. CONTABILIDADE (contabilidade_3.html)
   ========================================== */
:root {
    --app-yellow-contab: #fbc02d;
    --app-red-contab: #dc3545;
    --app-red-hover-contab: #bb2d3b;
    --app-dark-contab: #1e1e24;
    --app-bg-contab: #f8f9fa;
}
.body-contabilidade3 {
    background-color: var(--app-bg-contab);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrapper-contabilidade3 {
    display: flex;
    min-height: 100vh;
}
.sidebar-contabilidade3 {
    width: 250px;
    background-color: var(--app-dark-contab);
    color: #ffffff;
    flex-shrink: 0;
    padding-top: 1.5rem;
}
.sidebar-contabilidade3 .brand-title-contab {
    color: var(--app-yellow-contab);
    font-weight: 800;
    font-size: 1.35rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-contabilidade3 .nav-link {
    color: #c2c7d0;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sidebar-contabilidade3 .nav-link:hover {
    color: var(--app-yellow-contab);
    background-color: rgba(255, 255, 255, 0.05);
}
.sidebar-contabilidade3 .nav-link.active {
    color: #ffffff;
    background-color: var(--app-red-contab);
    border-radius: 0 30px 30px 0;
    margin-right: 1rem;
}
.main-content-contabilidade3 {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
}
.card-kpi-contab {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
}

/* ==========================================
   8. FORM CATEGORIA (form_categoria_2.html)
   ========================================== */
.body-form-cat2 {
    background-color: #f8f9fa;
    font-family: system-ui, -apple-system, sans-serif;
}
.card-form-cat2 {
    max-width: 500px;
    margin: 50px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

/* ==========================================
   9. FORM PRODUTO (form_produto_2.html)
   ========================================== */
.body-form-prod2 {
    background-color: #f8f9fa;
    font-family: system-ui, -apple-system, sans-serif;
}
.card-form-prod2 {
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}
.box-preco-promo {
    padding: 12px;
    border: 1px dashed #198754;
    border-radius: 8px;
    background-color: #f0fdf4;
}
.img-preview-prod {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.card-form-prod2 input[type="text"],
.card-form-prod2 input[type="number"],
.card-form-prod2 select,
.card-form-prod2 textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.card-form-prod2 input[type="file"] {
    display: block;
    width: 100%;
    font-size: 14px;
    color: #495057;
}
.card-form-prod2 input:focus,
.card-form-prod2 select:focus,
.card-form-prod2 textarea:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* ==========================================
   10. GERENCIAR CARDÁPIO (gerenciar_cardapio_3.html)
   ========================================== */
:root {
    --app-yellow-gc: #fbc02d;
    --app-red-gc: #dc3545;
    --app-red-hover-gc: #bb2d3b;
    --app-dark-gc: #1e1e24;
    --app-bg-gc: #f8f9fa;
}
.body-gerenciar-cardapio3 {
    background-color: var(--app-bg-gc);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrapper-gerenciar-cardapio3 {
    display: flex;
    min-height: 100vh;
}
.sidebar-gc {
    width: 250px;
    background-color: var(--app-dark-gc);
    color: #ffffff;
    flex-shrink: 0;
    padding-top: 1.5rem;
}
.sidebar-gc .brand-title-gc {
    color: var(--app-yellow-gc);
    font-weight: 800;
    font-size: 1.35rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-gc .nav-link {
    color: #c2c7d0;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sidebar-gc .nav-link:hover {
    color: var(--app-yellow-gc);
    background-color: rgba(255, 255, 255, 0.05);
}
.sidebar-gc .nav-link.active {
    color: #ffffff;
    background-color: var(--app-red-gc);
    border-radius: 0 30px 30px 0;
    margin-right: 1rem;
}
.main-content-gc {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
}
.card-gc {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
}

/* ==========================================
   11. HISTÓRICO (historico_3.html)
   ========================================== */
:root {
    --app-yellow-hist: #fbc02d;
    --app-red-hist: #dc3545;
    --app-red-hover-hist: #bb2d3b;
    --app-dark-hist: #1e1e24;
    --app-bg-hist: #f8f9fa;
}
.body-historico3 {
    background-color: var(--app-bg-hist);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrapper-historico3 {
    display: flex;
    min-height: 100vh;
}
.sidebar-historico3 {
    width: 250px;
    background-color: var(--app-dark-hist);
    color: #ffffff;
    flex-shrink: 0;
    padding-top: 1.5rem;
}
.sidebar-historico3 .brand-title-hist {
    color: var(--app-yellow-hist);
    font-weight: 800;
    font-size: 1.35rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-historico3 .nav-link {
    color: #c2c7d0;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sidebar-historico3 .nav-link:hover {
    color: var(--app-yellow-hist);
    background-color: rgba(255, 255, 255, 0.05);
}
.sidebar-historico3 .nav-link.active {
    color: #ffffff;
    background-color: var(--app-red-hist);
    border-radius: 0 30px 30px 0;
    margin-right: 1rem;
}
.main-content-historico3 {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
}
.filtros-bar-hist {
    background: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 12px;
    align-items: center;
}
.card-tabela-hist {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
    overflow: hidden;
}
.valor-concluido-hist { font-weight: 800; color: #16a34a; }
.valor-cancelado-hist { font-weight: 800; color: #94a3b8; text-decoration: line-through; }

/* ==========================================
   12. HORÁRIOS (horarios_3.html)
   ========================================== */
:root {
    --app-yellow-horarios: #fbc02d;
    --app-red-horarios: #dc3545;
    --app-red-hover-horarios: #bb2d3b;
    --app-dark-horarios: #1e1e24;
    --app-bg-horarios: #f8f9fa;
}
.body-horarios3 {
    background-color: var(--app-bg-horarios);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrapper-horarios3 {
    display: flex;
    min-height: 100vh;
}
.sidebar-horarios3 {
    width: 250px;
    background-color: var(--app-dark-horarios);
    color: #ffffff;
    flex-shrink: 0;
    padding-top: 1.5rem;
}
.sidebar-horarios3 .brand-title-horarios {
    color: var(--app-yellow-horarios);
    font-weight: 800;
    font-size: 1.35rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-horarios3 .nav-link {
    color: #c2c7d0;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sidebar-horarios3 .nav-link:hover {
    color: var(--app-yellow-horarios);
    background-color: rgba(255, 255, 255, 0.05);
}
.sidebar-horarios3 .nav-link.active {
    color: #ffffff;
    background-color: var(--app-red-horarios);
    border-radius: 0 30px 30px 0;
    margin-right: 1rem;
}
.main-content-horarios3 {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
}
.card-horarios3 {
    max-width: 768px;
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #edf2f7;
}
.horario-row-horarios3 {
    display: grid;
    grid-template-columns: 140px 1fr 1fr 100px;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.dia-nome-horarios3 { font-weight: 700; color: #334155; font-size: 14px; }
.input-time-horarios3 {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}
.input-time-horarios3:focus { border-color: var(--app-red-horarios); }
.checkbox-container-horarios3 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}
.checkbox-container-horarios3 input {
    width: 18px;
    height: 18px;
    accent-color: var(--app-red-horarios);
    cursor: pointer;
}
.btn-salvar-horarios3 {
    width: 100%;
    margin-top: 24px;
    background-color: var(--app-red-horarios);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-salvar-horarios3:hover { background-color: var(--app-red-hover-horarios); }

@media (max-width: 600px) {
    .horario-row-horarios3 { grid-template-columns: 1fr 1fr; gap: 8px; }
    .dia-nome-horarios3 { grid-column: span 2; font-size: 15px; }
}

/* ==========================================
   13. LOGIN (login_2.html)
   ========================================== */
.body-login2 { 
    font-family: system-ui, -apple-system, sans-serif; 
    background: linear-gradient(135deg, #FFC700 0%, #FFA800 100%);
    margin: 0; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    padding: 20px; 
}

.card-login2 { 
    background: #ffffff; 
    padding: 35px 30px; 
    border-radius: 20px; 
    width: 100%; 
    max-width: 380px; 
    box-shadow: 0 15px 35px rgba(180, 83, 9, 0.22);
    text-align: center;
}

.logo-container-login2 { margin-bottom: 20px; }

.logo-img-login2 {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.login-title-login2 {
    font-size: 22px;
    font-weight: 800;
    color: #1c1917;
    margin-bottom: 4px;
}

.login-subtitle-login2 {
    font-size: 13px;
    color: #78716c;
    margin-bottom: 24px;
}

.form-group-login2 {
    text-align: left;
    margin-bottom: 16px;
    width: 100%;
}

.label-login2 {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #44403c;
    margin-bottom: 6px;
}

.input-login2 {
    width: 100%;
    box-sizing: border-box;
    display: block;
    padding: 12px 14px;
    border: 2px solid #f3eedf;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fafaf9;
    color: #1c1917;
}

.input-login2:focus {
    border-color: #dc2626;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.btn-login2 {
    width: 100%;
    box-sizing: border-box;
    display: block;
    background: #dc2626;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transition: background 0.2s, transform 0.1s;
}

.btn-login2:hover { background: #b91c1c; }
.btn-login2:active { transform: scale(0.98); }

.error-alert-login2 {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    text-align: left;
}

.access-denied-box-login2 {
    background-color: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.access-denied-box-login2 .icon-login2 {
    font-size: 26px;
    margin-bottom: 4px;
}

.access-denied-box-login2 h4 {
    margin: 0;
    color: #9f1239;
    font-size: 14px;
    font-weight: 800;
}

.access-denied-box-login2 p {
    margin: 4px 0 0 0;
    color: #881337;
    font-size: 12px;
    line-height: 1.4;
}

/* ==========================================
   14. PAINEL (painel_3.html)
   ========================================== */
:root {
    --app-yellow-painel: #fbc02d;
    --app-red-painel: #dc3545;
    --app-red-hover-painel: #bb2d3b;
    --app-dark-painel: #1e1e24;
    --app-bg-painel: #f8f9fa;
}
.body-painel3 { 
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; 
    background-color: var(--app-bg-painel); 
    margin: 0; 
    display: flex; 
    height: 100vh; 
    overflow: hidden; 
}
.wrapper-painel3 { display: flex; width: 100%; height: 100vh; }
.sidebar-painel3 {
    width: 250px;
    background-color: var(--app-dark-painel);
    color: #ffffff;
    flex-shrink: 0;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
}
.sidebar-painel3 .brand-title-painel {
    color: var(--app-yellow-painel);
    font-weight: 800;
    font-size: 1.35rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-painel3 .nav-link {
    color: #c2c7d0;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sidebar-painel3 .nav-link:hover {
    color: var(--app-yellow-painel);
    background-color: rgba(255, 255, 255, 0.05);
}
.sidebar-painel3 .nav-link.active {
    color: #ffffff;
    background-color: var(--app-red-painel);
    border-radius: 0 30px 30px 0;
    margin-right: 1rem;
}
.main-content-painel3 { flex: 1; display: flex; flex-direction: column; height: 100vh; overflow: hidden; min-width: 0; }
.header-painel3 { background: white; padding: 15px 25px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
.header-actions-painel3 { display: flex; align-items: center; gap: 10px; }

.btn-status-painel3 {
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.1s ease;
}
.btn-status-painel3:active { transform: scale(0.96); }
.btn-abrir-painel3 { background: #ef4444; color: white; }
.btn-fechar-painel3 { background: #16a34a; color: white; }

.kanban-board-painel3 {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    padding: 20px;
    flex: 1;
    overflow-x: auto;
}
.kanban-col-painel3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #edf2f7;
    min-width: 280px;
}
.col-title-painel3 { font-size: 15px; font-weight: bold; padding: 12px; border-radius: 8px; margin-bottom: 15px; text-align: center; color: white; }
.col-content-painel3 { flex: 1; overflow-y: auto; padding-right: 5px; }

.bg-novos-painel3 { background: #019621; }
.bg-preparacao-painel3 { background: #0284c7; }
.bg-entrega-painel3 { background: #4f46e5; }

/* ==========================================
   15. SUCESSO (sucesso_2.html)
   ========================================== */
.body-sucesso2 { font-family: sans-serif; background-color: #f4f4f4; margin: 0; padding: 20px; }
.container-sucesso2 { max-width: 500px; margin: 0 auto; background: white; padding: 20px; border-radius: 8px; text-align: center; }
.icon-sucesso2 { font-size: 50px; margin-bottom: 10px; }
.detalhes-sucesso2 { text-align: left; background: #fafafa; padding: 15px; border-radius: 5px; margin-top: 15px; border: 1px solid #eee; }
.timeline-sucesso2 { margin: 20px 0; text-align: left; }
.step-sucesso2 { padding: 12px; margin-bottom: 8px; border-radius: 6px; background: #eee; color: #888; font-weight: bold; transition: all 0.3s ease; }
.step-sucesso2.active { background: #28a745; color: white; }

/* ==========================================
   ESTILOS DO CARRINHO (IGUAL AO ANTIGO)
   ========================================== */
.body-carrinho-antigo { 
    font-family: sans-serif; 
    background-color: #f4f4f4; 
    margin: 0; 
    padding: 20px; 
}
.container-carrinho-antigo { 
    max-width: 500px; 
    margin: 0 auto; 
    background: white; 
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.item-carrinho-antigo { 
    display: flex; 
    justify-content: space-between; 
    border-bottom: 1px solid #eee; 
    padding: 10px 0; 
    font-size: 14px;
}
.total-carrinho-antigo { 
    font-size: 18px; 
    font-weight: bold; 
    text-align: right; 
    margin-top: 15px; 
    color: #1e293b;
}
.btn-voltar-antigo { 
    display: inline-block; 
    margin-bottom: 15px; 
    color: #007bff; 
    text-decoration: none; 
    font-weight: 500;
}
.container-carrinho-antigo form { 
    margin-top: 20px; 
    border-top: 2px solid #ddd; 
    padding-top: 15px; 
}
.campo-antigo { 
    margin-bottom: 12px; 
}
.campo-antigo label { 
    display: block; 
    font-weight: bold; 
    margin-bottom: 5px; 
    font-size: 13px;
    color: #333;
}
.campo-antigo input, 
.campo-antigo textarea { 
    width: 100%; 
    padding: 9px; 
    box-sizing: border-box; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    font-family: inherit; 
    font-size: 14px;
}
.linha-dupla-antiga {
    display: flex; 
    gap: 10px;
}
.linha-dupla-antiga .flex-rua {
    flex: 3;
}
.linha-dupla-antiga .flex-numero {
    flex: 1;
}
.linha-dupla-antiga .campo-antigo {
    flex: 1;
}
.btn-finalizar-antigo { 
    width: 100%; 
    background: #28a745; 
    color: white; 
    padding: 12px; 
    border: none; 
    border-radius: 5px; 
    font-size: 16px; 
    font-weight: bold; 
    cursor: pointer; 
    margin-top: 10px; 
}
.btn-finalizar-antigo:hover { 
    background: #218838; 
}

/* ==========================================
   ESTILOS PROFISSIONAIS - CARRINHO AMARELO E VERMELHO
   ========================================== */
body.body-carrinho-profissional {
    background-color: #fff9e6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 20px;
}
.container-carrinho-profissional {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.2);
    border-top: 6px solid #ffcc00;
}
.btn-voltar-pro {
    color: #d32f2f;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}
.btn-voltar-pro:hover {
    text-decoration: underline;
}
.carrinho-titulo-box h2 {
    color: #b71c1c;
    margin-top: 15px;
    text-align: center;
}
.item-carrinho-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fffdf5;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #ffe082;
}
.info-produto-pro {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.preco-unit-pro {
    font-size: 12px;
    color: #666;
}
.controle-quantidade {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ffcc00;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 15px;
}
.btn-qtd {
    background: #ffcc00;
    color: #000;
    padding: 4px 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}
.btn-qtd:hover {
    background: #ffb300;
}
.qtd-numero {
    padding: 0 10px;
    font-weight: bold;
    font-size: 14px;
}
.total-item-pro {
    font-weight: bold;
    color: #d32f2f;
    min-width: 70px;
    text-align: right;
}
.total-carrinho-pro {
    display: flex;
    justify-content: space-between;
    background: #ffecb3;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #b71c1c;
    margin: 20px 0;
}
.form-pedido-pro h3 {
    color: #d32f2f;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 5px;
    margin-top: 25px;
    font-size: 16px;
}
.campo-pro {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}
.campo-pro label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #444;
}
.campo-pro input, .campo-pro textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.campo-pro input:focus, .campo-pro textarea:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 5px rgba(255, 204, 0, 0.4);
}
.linha-dupla-pro {
    display: flex;
    gap: 10px;
}
.flex-rua {
    flex: 3;
}
.flex-numero {
    flex: 1;
}
.btn-finalizar-pro {
    width: 100%;
    background: #d32f2f;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}
.btn-finalizar-pro:hover {
    background: #b71c1c;
}
.carrinho-vazio-pro {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 16px;
}

/* ==========================================
   FORMULÁRIO DE PRODUTOS (LAYOUT COMPLETO)
   ========================================== */
.body-form-prod-custom {
    background-color: #fbc02d;
    min-height: 100vh;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.card-custom {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: none;
}

.btn-red {
    background-color: #dc3545;
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    transition: all 0.2s ease;
}

.btn-red:hover {
    background-color: #bb2d3b;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline-dark-custom {
    border: 2px solid #333;
    color: #333;
    font-weight: 600;
    border-radius: 10px;
    padding: 8px 16px;
}

.btn-outline-dark-custom:hover {
    background-color: #333;
    color: #fff;
}

.card-custom input[type="text"], 
.card-custom input[type="number"], 
.card-custom input[type="file"],
.card-custom select, 
.card-custom textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background-color: #f8fafc;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.card-custom input:focus, 
.card-custom select:focus, 
.card-custom textarea:focus {
    outline: none;
    border-color: #dc3545 !important;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.promo-box {
    background-color: #e8f5e9;
    border: 2px dashed #2e7d32;
    border-radius: 12px;
    padding: 15px;
}

.card-custom .form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* ==========================================
   16. LANDING PAGE (landing_page.html)
   ========================================== */
.landing-body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}
.landing-navbar {
    background-color: #ffcc00 !important;
}
.landing-navbar-brand {
    color: #1a1a1a !important;
    font-weight: 800;
}
.landing-hero-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

/* Correção aplicada: contraste perfeito do subtítulo e parágrafos da Hero Section */
.landing-hero-section p, 
.landing-hero-section .lead,
.hero-subtitle {
    color: #e2e8f0 !important; 
}

.landing-btn-red {
    background-color: #dc3545;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s;
}
.landing-btn-red:hover {
    background-color: #bb2d3b;
    color: white;
    transform: translateY(-2px);
}
.landing-feature-card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s;
    background: white;
}
.landing-feature-card:hover {
    transform: translateY(-5px);
}
.landing-pricing-card {
    border: 2px solid #eaeaea;
    border-radius: 16px;
    transition: all 0.3s;
    background: white;
}
.landing-pricing-card.featured {
    border-color: #dc3545;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1);
}

/* Correção aplicada: contraste legível nos textos descritivos dos cards de planos */
.landing-pricing-card p,
.landing-pricing-card .card-text {
    color: #4b5563 !important;
}

.landing-footer {
    background-color: #2b2b2b;
    color: #e0e0e0;
    padding: 40px 0;
    border-top: 4px solid #ffcc00;
}

/* Correção aplicada: contraste legível no rodapé */
.landing-footer p, 
.landing-footer span {
    color: #9ca3af !important;
}

/* ==========================================
   17. CRIAR LOJA / REGISTO PROFISSIONAL
   ========================================== */
.body-criar-loja-pro {
    font-family: system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #FFC700 0%, #FFA800 100%);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.card-criar-loja-pro {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 15px 35px rgba(180, 83, 9, 0.22);
}

.card-criar-loja-pro input[type="text"],
.card-criar-loja-pro input[type="email"],
.card-criar-loja-pro input[type="password"],
.card-criar-loja-pro input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    display: block;
    padding: 11px 14px;
    border: 2px solid #f3eedf;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fafaf9;
    color: #1c1917;
}

.card-criar-loja-pro input:focus {
    border-color: #dc2626;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.password-requirements {
    list-style: none;
    padding: 0;
    margin: 6px 0 0 0;
    font-size: 11px;
    font-weight: 600;
}

.password-requirements li {
    margin-bottom: 3px;
    color: #dc3545; /* Vermelho inicial */
    transition: color 0.2s ease;
}

.password-requirements li.valid {
    color: #198754; /* Verde interativo ao atender requisito */
}