/* ===================== MODAL CLIENTES - CARD ===================== */
.cliente-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 14px;
    padding: 18px 18px 14px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow .2s, border-color .2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cliente-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102,126,234,0.08);
}
.cliente-card .cli-nome {
    font-weight: bold;
    font-size: 18px;
    color: #222;
    margin-bottom: 2px;
}
.cliente-card .cli-info {
    font-size: 13px;
    color: #333;
    margin-bottom: 2px;
}
.cliente-card .cli-codigo {
    background: #f0f0f0;
    border-radius: 4px;
    padding: 2px 8px;
    font-weight: 600;
    color: #C7A437;
    margin-right: 10px;
}
.cliente-card .cli-doc {
    color: #555;
    margin-right: 10px;
}
.cliente-card .cli-tipo {
    color: #888;
}
.cliente-card .cli-email {
    font-size: 13px;
    color: #888;
    margin-bottom: 2px;
}
.cliente-card .btn-selecionar-cliente {
    margin-left: 24px;
    margin-top: 8px;
    padding: 8px 18px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    transition: background .2s;
}
.cliente-card .btn-selecionar-cliente:hover {
    background: #4b5fc9;
}
/* ============================================================
   IWO ENGENHARIA - CLIENTE PORTAL CSS
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    color: #222;
    background: #f5f5f5;
}

/* ============================================================
   MAIN CONTENT AREA
============================================================ */
main {
    margin-left: 70px;
    padding: 30px;
    min-height: 100vh;
    transition: margin-left .25s ease;
}

.sidebar:hover ~ main {
    margin-left: 260px;
}

/* ============================================================
   TÍTULOS
============================================================ */
.titulo {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* ============================================================
   BARRA DE PESQUISA
============================================================ */
.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.input-search {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: .2s;
}

.input-search:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* ============================================================
   BOTÕES
============================================================ */
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-small,
.btn-editar,
.btn-deletar {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-size: 0.95rem;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-small,
.btn-editar {
    padding: 6px 12px;
    font-size: 0.85rem;
    background: #28a745;
    color: white;
}

.btn-small:hover,
.btn-editar:hover {
    background: #218838;
}

.btn-deletar {
    padding: 6px 12px;
    font-size: 0.85rem;
    background: #dc3545;
    color: white;
}

.btn-deletar:hover {
    background: #c82333;
}

/* ============================================================
   FILTROS
============================================================ */
.filtros {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.input-filter {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: .2s;
}

.input-filter:hover,
.input-filter:focus {
    border-color: #007bff;
    outline: none;
}

/* ============================================================
   TABELA
============================================================ */
.clientes-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.tabela-clientes {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.tabela-clientes thead {
    background: #f8f9fa;
    border-bottom: 2px solid #ddd;
}

.tabela-clientes th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.tabela-clientes td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.tabela-clientes tbody tr:hover {
    background: #f9f9f9;
}

.tabela-clientes .vazio td {
    text-align: center;
    color: #999;
    padding: 40px 16px;
}

.tabela-clientes .vazio a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.tabela-clientes .vazio a:hover {
    text-decoration: underline;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-ativo {
    background: #d4edda;
    color: #155724;
}

.status-inativo {
    background: #f8d7da;
    color: #721c24;
}

.status-suspenso {
    background: #fff3cd;
    color: #856404;
}

/* Ações */
.acoes {
    display: flex;
    gap: 8px;
}

/* ============================================================
   MODAL
============================================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-sm {
    max-width: 400px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: .2s;
}

.close-btn:hover {
    color: #333;
}

/* ============================================================
   FORMULÁRIO
============================================================ */
.form-container {
    padding: 20px;
}

fieldset {
    border: none;
    margin-bottom: 20px;
}

legend {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 20px;
    border-top: 1px solid #eee;
}

/* ============================================================
   RESPONSIVO
============================================================ */
@media (max-width: 768px) {
    main {
        padding: 20px;
        margin-left: 70px;
    }

    .titulo {
        font-size: 1.8rem;
    }

    .search-bar {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tabela-clientes {
        font-size: 0.85rem;
    }

    .tabela-clientes th,
    .tabela-clientes td {
        padding: 10px;
    }

    .acoes {
        flex-direction: column;
    }

    .acoes button {
        width: 100%;
    }
}

/* ============================================================
   LOGIN PAGE (LEGACY)
============================================================ */

.login-page {
    background: linear-gradient(135deg, #C7A437 0%, #A68A2E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    color: #C7A437;
    margin-bottom: 10px;
    text-align: center;
    margin-top: 0;
}

.login-box h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #DDD;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #C7A437;
    box-shadow: 0 0 0 3px rgba(199, 164, 55, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #C7A437;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .3s;
    margin-bottom: 20px;
}

/* Botão secundário */
.btn-secondary {
    background: #EEE;
    color: #333;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .3s;
}

.btn-secondary:hover {
    background: #DDD;
}

/* Divider */
.divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-weight: 600;
}

/* Info Box */
.info-box {
    background: #F5F5F5;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #C7A437;
}

.info-box p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* Footer Link */
.footer-link {
    text-align: center;
    margin-top: 20px;
}

.footer-link a {
    color: #C7A437;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.footer-link a:hover {
    text-decoration: underline;
}

/* Error Message */
.erro-mensagem {
    color: #C96868;
    background: #F8D7DA;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: none;
    font-size: 14px;
}

.erro-mensagem.show {
    display: block;
}

/* Modal Cliente */
.modal-cliente {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-cliente.show {
    display: flex;
}

.modal-content-cliente {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.btn-secondary:hover {
    background: #DDD;
}

.erro-mensagem {
    background: #FFEBEE;
    color: #C62828;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: none;
    border-left: 4px solid #C62828;
}

.erro-mensagem.show {
    display: block;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-size: 13px;
}

.info-box {
    background: #E8F5E9;
    border-left: 4px solid #4CAF50;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-box p {
    font-size: 13px;
    color: #2E7D32;
    line-height: 1.6;
}

.footer-link {
    text-align: center;
    margin-top: 20px;
}

.footer-link a {
    color: #C7A437;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.footer-link a:hover {
    text-decoration: underline;
}

/* ============================================================
   CLIENTE PAGE
============================================================ */
.cliente-page {
    background: #E3E3E3;
    min-height: 100vh;
}

.cliente-header {
    background: linear-gradient(135deg, #C7A437 0%, #A68A2E 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    font-size: 24px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

#nomeClienteHeader {
    font-weight: 600;
    font-size: 15px;
}

.btn-logout {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 1.5px solid white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer !important;
    font-weight: 600;
    transition: all .3s;
    pointer-events: auto !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.5);
}

.cliente-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ============================================================
   SECÇÕES
============================================================ */
.secao-cliente {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    margin-bottom: 30px;
}

.secao-cliente h2 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.btn-primary {
    background: #C7A437;
    color: white;
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background .3s;
    margin-bottom: 20px;
}

.btn-primary:hover {
    background: #b49430;
}

.hidden {
    display: none !important;
}

/* ============================================================
   TABELAS
============================================================ */
.tabela-cliente {
    width: 100%;
    border-collapse: collapse;
}

.tabela-cliente thead {
    background: #F1F1F1;
}

.tabela-cliente th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #DDD;
}

.tabela-cliente td {
    padding: 12px;
    border-bottom: 1px solid #E0E0E0;
    font-size: 14px;
}

.tabela-cliente tbody tr:hover {
    background: #F9F9F9;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-enviado {
    background: #E3F2FD;
    color: #1565C0;
}

.status-analise {
    background: #FFF3E0;
    color: #E65100;
}

.status-aprovado {
    background: #E8F5E9;
    color: #2E7D32;
}

.status-rejeitado {
    background: #FFEBEE;
    color: #C62828;
}

/* Engenharia uploads */
.engenharia-upload-bloco {
    background: #F9F9F9;
    padding: 14px;
    border-radius: 10px;
    border: 1px dashed #D0D0D0;
}

.upload-engenharia {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.upload-engenharia input[type="file"] {
    border: 1px solid #DDD;
    padding: 8px;
    border-radius: 8px;
    background: white;
}

.btn-engenharia-upload {
    background: #2E7D32;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-engenharia-upload:hover {
    background: #256628;
}

.eng-upload-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.eng-upload-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    gap: 12px;
}

.btn-download {
    background: #C7A437;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
}

.btn-download:hover {
    background: #b49430;
}

.sem-upload {
    color: #777;
    font-size: 14px;
    margin: 0;
}

.upload-engenharia .hint {
    color: #777;
    font-size: 13px;
}

/* Alertas */
.alerta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #FFF8E1;
    border: 1px solid #FFE082;
    color: #6D4C41;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.alerta-titulo {
    font-weight: 700;
    margin-bottom: 4px;
}

.alerta-texto {
    margin: 0;
    color: #5D4037;
}

.alerta-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-ack {
    background: #FFF;
    color: #6D4C41;
    border: 1px solid #D7CCC8;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-ack:hover {
    background: #f2e7d7;
}

/* ============================================================
   MODAIS
============================================================ */
.modal-cliente {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-cliente.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-cliente {
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #EEE;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.btn-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color .3s;
}

.btn-close:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
}

.instrucoes {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 15px;
    border-left: 4px solid #4CAF50;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
}

/* ============================================================
   FORMULÁRIOS
============================================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1.5px solid #DDD;
    border-radius: 8px;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
}

.bloco-form {
    border: 1px solid #E5E5E5;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    background: #FAFAFA;
}

.bloco-form h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #444;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px 16px;
}

.input-inline {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-mini {
    padding: 10px 12px;
    background: #C7A437;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}

.btn-mini:hover {
    background: #b49430;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C7A437;
    box-shadow: 0 0 0 3px rgba(199, 164, 55, 0.1);
}

/* ============================================================
   CHECKLIST
============================================================ */
.checklist-docs {
    background: #F9F9F9;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #E0E0E0;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px 16px;
}

.checklist-docs h4 {
    margin: 0 0 15px 0;
    font-size: 15px;
    color: #333;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #C7A437;
}

/* ============================================================
   UPLOAD
============================================================ */
.upload-area {
    margin: 20px 0;
}

.upload-area h4 {
    margin: 0 0 15px 0;
    font-size: 15px;
    color: #333;
}

.dropzone {
    border: 2px dashed #C7A437;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: #F9F9F9;
    cursor: pointer;
    transition: all .3s;
}

.dropzone:hover {
    background: #F0F0F0;
    border-color: #b49430;
}

.dropzone p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.lista-arquivos {
    margin-top: 15px;
}

.arquivo-item {
    background: white;
    border: 1px solid #DDD;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.arquivo-item .nome {
    flex: 1;
}

.arquivo-item .tamanho {
    color: #999;
    margin: 0 15px;
}

.arquivo-item .btn-remover {
    background: #C96868;
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.arquivo-item .btn-remover:hover {
    background: #A95353;
}

/* ============================================================
   FORM ACTIONS
============================================================ */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.status-card {
    background: #F9F5EA;
    border: 1px solid #E6D59C;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.status-card p {
    margin: 0;
    color: #7A6A24;
    font-weight: 600;
}

.status-card strong {
    display: block;
    font-size: 26px;
    margin-top: 6px;
    color: #C7A437;
}

.btn-secondary {
    background: #DDD;
    color: #333;
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background .3s;
}

.btn-secondary:hover {
    background: #CCC;
}

/* ============================================================
   RESPONSIVIDADE
============================================================ */
@media (max-width: 768px) {
    .login-box {
        padding: 30px 20px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .cliente-main {
        padding: 20px 15px;
    }

    .secao-cliente {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .modal-content-cliente {
        width: 95%;
    }
}
