/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 28/04/2019, 17:13:40
    Author     : Petrony Pimentel (NUX Tecnologia)
*/

.title-sefaz-certificado{
    font-size: 16px;
    margin-top: 0px;
}

/* ===== Tela de empresa modernizada (08/10/2026) ===== */
.ce-page { max-width: 1180px; margin: 0 auto; padding: 0 4px 24px; }

.ce-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    background: linear-gradient(135deg, #c62d3a 0%, #a3222e 100%); color: #fff; border-radius: 14px;
    padding: 20px 26px; box-shadow: 0 10px 28px rgba(198,45,58,.25); margin: 8px 0 18px; }
.ce-hero h2 { margin: 0; font-size: 24px; font-weight: 500; color: #fff; }
.ce-hero p { margin: 2px 0 0; opacity: .85; font-size: 14px; }
.ce-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ce-btn { margin: 0 !important; border-radius: 10px !important; font-weight: 700 !important; font-size: 12px !important; padding: 10px 18px !important; }
.ce-footer-actions { display: flex; justify-content: flex-end; margin-top: 4px; }

.ce-msg:empty { display: none; }
.ce-msg { margin: 0 0 14px; padding: 11px 16px; font-size: 14px !important; font-weight: 500; background: #fdecee; border-left: 4px solid #c62d3a;
    border-radius: 8px; color: #b3202d !important; }

.ce-card { background: #fff; border-radius: 14px; box-shadow: 0 2px 14px rgba(40,50,70,.08); padding: 22px 26px 12px; margin-bottom: 18px; }
.ce-card-h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #eef0f3; }
.ce-card-h h3 { margin: 0; font-size: 17px; font-weight: 600; color: #2b3445; }
.ce-card-h p { margin: 1px 0 0; font-size: 12.5px; color: #8793a6; }
.ce-ico { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
    background: #fdecee; color: #c62d3a; font-size: 16px; flex: 0 0 40px; }

.ce-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px 18px; }
.ce-c3 { grid-column: span 3; } .ce-c4 { grid-column: span 4; } .ce-c5 { grid-column: span 5; }
.ce-c6 { grid-column: span 6; } .ce-c12 { grid-column: span 12; }
.ce-sub { grid-column: span 12; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8793a6; margin: 6px 0 -2px; }

/* O Bootstrap Material poe rotulo flutuante e margens; aqui o rotulo fica sempre acima do campo. */
.ce-card .form-group.ce-f { margin: 0 0 14px !important; padding: 0 !important; }
.ce-card .form-group.ce-f .bmd-form-group { margin: 0 !important; padding: 0 !important; }
.ce-card .ce-l { position: static !important; transform: none !important; display: block; margin: 0 0 5px !important; padding: 0 !important;
    font-size: 12px !important; font-weight: 600 !important; color: #5b6578 !important; pointer-events: auto; }
.ce-opt { font-style: normal; font-weight: 500; font-size: 10.5px; color: #98a2b3; background: #f2f4f7; border-radius: 10px; padding: 1px 7px; margin-left: 4px; }
.ce-card .form-control.ce-i { height: 42px; padding: 0 12px !important; border: 1px solid #d5dbe5 !important; border-radius: 9px;
    background: #fff !important; background-image: none !important; font-size: 14px; color: #2b3445; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.ce-card select.form-control.ce-i { padding-right: 28px !important; }
.ce-card .form-control.ce-i:focus { border-color: #c62d3a !important; box-shadow: 0 0 0 3px rgba(198,45,58,.14); }

.ce-with-help { display: flex; gap: 8px; }
.ce-with-help select { flex: 1; min-width: 0; }
.ce-help { flex: 0 0 42px; height: 42px; border: 1px solid #d5dbe5; background: #f7f8fa; border-radius: 9px; color: #5b6578; cursor: pointer; }
.ce-help:hover { background: #fdecee; color: #c62d3a; border-color: #f0b8be; }

.ce-logo { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.ce-logo-prev { width: 150px; height: 90px; border: 2px dashed #d5dbe5; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fafbfc; }
.ce-logo-prev img { max-width: 100%; max-height: 100%; display: none; padding: 6px; }
.ce-logo-ctl p { margin: 0 0 8px; font-size: 13px; color: #6b7588; }
.ce-logo-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ce-file { font-size: 13px; }
.ce-btn-sm { margin: 0 !important; border-radius: 9px !important; font-size: 11.5px !important; padding: 8px 14px !important; }

@media (max-width: 900px) { .ce-c3, .ce-c4, .ce-c5 { grid-column: span 6; } }
@media (max-width: 560px) { .ce-c3, .ce-c4, .ce-c5, .ce-c6 { grid-column: span 12; } .ce-hero { padding: 16px; } .ce-card { padding: 16px 16px 6px; } }


/* ===== Tela SEFAZ modernizada (11/10/2026) ===== */
.ce-c7 { grid-column: span 7; } .ce-c8 { grid-column: span 8; }
.sf-cert { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 14px 18px; background: #f7f8fa; border: 1px solid #e7eaf0; border-radius: 12px; }
.sf-cert-badge { padding: 5px 13px; border-radius: 20px; font-size: 12px; font-weight: 700; color: #fff; background: #8793a6; white-space: nowrap; }
.sf-cert-badge.ok { background: #2e9e5b; } .sf-cert-badge.warn { background: #e0a12a; } .sf-cert-badge.err { background: #c62d3a; }
.sf-cert-dados { flex: 1; min-width: 240px; font-size: 13px; color: #2b3445; line-height: 1.5; }
.sf-cert-dados .t { font-size: 15px; font-weight: 600; }
.sf-cert-dados small { color: #6b7588; font-size: 12px; }
.sf-alerta { margin-top: 10px; padding: 10px 14px; border-radius: 8px; font-size: 13px; border-left: 4px solid; }
.sf-alerta.err { background: #fdecee; border-color: #c62d3a; color: #b3202d; }
.sf-alerta.warn { background: #fff7e6; border-color: #e0a12a; color: #8a5a00; }
.sf-senha { display: flex; gap: 8px; } .sf-senha input { flex: 1; min-width: 0; }
.sf-file small { display: block; color: #8793a6; margin-top: 6px; font-size: 12px; }
.sf-homolog { padding: 10px 14px; border-radius: 8px; font-size: 13px; background: #fff7e6; border-left: 4px solid #e0a12a; color: #8a5a00; margin: 4px 0 10px; }
.sf-dica { font-size: 12px; color: #8793a6; margin: 0 0 10px; }
.sf-modal-txt { font-size: 13px; color: #4a5568; }
.sf-modal-erro { color: #c62d3a; font-size: 13px; font-weight: 700; min-height: 18px; margin: 6px 0 0; }
#modal-baixar-certificado .form-control.ce-i { height: 42px; padding: 0 12px !important; border: 1px solid #d5dbe5 !important; border-radius: 9px; background-image: none !important; }

/* Busca de CNPJ na Receita (12/10/2026) */
.ce-com-botao { display: flex; gap: 6px; }
.ce-com-botao .ce-i { flex: 1 1 auto; min-width: 0; }
.ce-btn-busca { height: 42px; width: 42px; margin: 0 !important; padding: 0 !important; border-radius: 9px !important; background: #c62d3a !important; color: #fff !important; flex: 0 0 42px; }
.ce-btn-busca.buscando { pointer-events: none; opacity: .6; }
.ce-situacao { margin-top: 6px; }
.ce-situacao:empty { display: none; }
.ce-selo { display: inline-block; padding: 2px 10px; border-radius: 10px; line-height: 1.5; font-size: 12px; font-weight: 600; }
.ce-selo-ok { background: #e8f5e9; color: #2e7d32; }
.ce-selo-alerta { background: #fdecee; color: #b71c2c; border: 1px solid #f3b6bd; }
.ce-alerta-texto { margin-left: 6px; font-size: 12px; font-weight: 600; color: #b71c2c; }

/* Autorizados a baixar o XML (autXML) */
.ce-aut-linha { display: grid; grid-template-columns: 2fr 3fr 90px repeat(3, 56px) 44px; gap: 12px; align-items: end; padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid #eef0f3; }
.ce-aut-linha .ce-l { display: block; font-size: 12px; color: #6b778c; margin: 0 0 5px; }
.ce-aut-linha .ce-i { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #d5dbe5; border-radius: 9px; background: #fff; }
.ce-aut-linha .ce-aut-chk { text-align: center; }
.ce-aut-linha .ce-aut-chk input { width: 18px; height: 18px; margin: 12px 0 0; }
.ce-aut-linha .ce-aut-del { height: 42px; width: 42px; border: 0; border-radius: 9px; background: #ef5a6f; color: #fff; cursor: pointer; }
.ce-aut-rodape { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; }
.ce-aut-aviso { font-size: 12.5px; color: #8793a6; }
@media (max-width: 900px) { .ce-aut-linha { grid-template-columns: 1fr 1fr 1fr; } }
