* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    background: #f4f6fa;
    color: #101828;
}

a {
    text-decoration: none;
}

.pagina-login {
    min-height: 100vh;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 420px;
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.login-box h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.login-box p {
    margin: 0 0 24px;
    color: #667085;
}

.campo {
    margin-bottom: 16px;
}

.campo label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #344054;
}

.campo input,
.campo select {
    width: 100%;
    height: 44px;
    border: 1px solid #d4d8e3;
    border-radius: 10px;
    padding: 0 12px;
    outline: none;
}

.btn {
    min-height: 44px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

.btn-full {
    width: 100%;
}

.btn-primario {
    background: #2f6ef7;
    color: #ffffff;
}

.alerta {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.alerta-erro {
    background: #ffe5e5;
    color: #a20000;
}

.alerta-sucesso {
    background: #dcfce7;
    color: #166534;
}

.alerta-info {
    background: #dbeafe;
    color: #1e40af;
}

.pagina-selecionar-perfil {
    min-height: 100vh;
    background: #303030;
}

.perfil-overlay {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.perfil-card {
    width: 440px;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
}

.perfil-card-topo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.perfil-card-topo h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.perfil-card-topo p {
    margin: 0;
    color: #667085;
    line-height: 1.45;
}

.perfil-fechar {
    width: 28px;
    height: 28px;
    border: 1px solid #9ca3af;
    border-radius: 50%;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.perfil-botoes form {
    margin-bottom: 12px;
}

.btn-perfil {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.btn-perfil-executivo {
    background: #4481eb;
}

.btn-perfil-vendedor {
    background: #ff8d3a;
}

.btn-perfil-gestor {
    background: #34d399;
}

.btn-perfil-operador {
    background: #9ca3af;
}

.btn-perfil-consulta {
    background: #8b5cf6;
}

.topo-sistema {
    min-height: 72px;
    background: #ffffff;
    border-bottom: 1px solid #e5eaf2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
}

.topo-marca {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-sistema {
    width: 42px;
    height: 42px;
    background: #4c7cf2;
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.empresa-nome {
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}

.empresa-subtitulo {
    font-size: 13px;
    color: #667085;
    margin-top: 2px;
}

.topo-usuario {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-usuario {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #7d57f5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
}

.usuario-nome {
    font-weight: bold;
    font-size: 14px;
}

.usuario-email {
    color: #667085;
    font-size: 13px;
}

.menu-usuario-links {
    display: flex;
    gap: 8px;
    margin-left: 8px;
}

.menu-usuario-links a {
    color: #2f6ef7;
    font-size: 13px;
}

.menu-principal {
    min-height: 54px;
    background: #ffffff;
    border-bottom: 1px solid #e5eaf2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
    position: relative;
}

.menu-item {
    color: #52627a;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
}

.menu-item:hover {
    background: #eef3ff;
    color: #2f6ef7;
}

.menu-item-botao {
    background: none;
    border: none;
    cursor: pointer;
}

.menu-dropdown {
    position: relative;
}

.menu-dropdown-conteudo {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    min-width: 270px;
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    z-index: 10;
    overflow: hidden;
}

.menu-dropdown-conteudo a {
    display: block;
    padding: 13px 16px;
    color: #202939;
    border-bottom: 1px solid #f0f2f7;
    font-size: 14px;
}

.menu-dropdown-conteudo a:hover {
    background: #f5f8ff;
}

.menu-dropdown:hover .menu-dropdown-conteudo {
    display: block;
}

.conteudo-principal {
    padding: 22px;
}

.pagina-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    padding: 22px;
}

.topo-pagina {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.topo-pagina h1 {
    margin: 0;
    font-size: 28px;
}

.topo-pagina p {
    margin: 6px 0 0;
    color: #667085;
}

.filtros-linha {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    align-items: center;
}

.filtros-linha input,
.filtros-linha select {
    height: 42px;
    border: 1px solid #d4d8e3;
    border-radius: 10px;
    padding: 0 12px;
    outline: none;
}

.tabela-lista {
    width: 100%;
    border-collapse: collapse;
}

.tabela-lista th {
    background: #eef1f6;
    text-align: left;
    padding: 10px 9px;
    font-size: 13px;
}

.tabela-lista td {
    padding: 10px 9px;
    border-bottom: 1px solid #edf0f5;
    font-size: 14px;
}

.badge-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.badge-ativo {
    background: #dff5e7;
    color: #178a4f;
}

.badge-inativo {
    background: #ffe2e2;
    color: #bf1d1d;
}

.rodape-lista {
    margin-top: 18px;
    color: #667085;
    font-size: 14px;
}

.lista-perfis-check {
    display: grid;
    gap: 10px;
}

.lista-perfis-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.switch-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: bold;
}

.switch-line input {
    width: 42px;
    height: 22px;
    accent-color: #111827;
}

.perfis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.perfil-check {
    min-height: 44px;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    cursor: pointer;
    background: #ffffff;
}

.perfil-check:hover {
    background: #f8fbff;
    border-color: #9db8ff;
}

.perfil-check input {
    width: 18px;
    height: 18px;
    accent-color: #111827;
}

.form-actions {
    border-top: 1px solid #e5eaf2;
    margin-top: 24px;
    padding-top: 22px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-secundario {
    background: #ffffff;
    color: #111827;
    border: 1px solid #d9e1ec;
    padding: 0 18px;
}

.btn-primario {
    padding: 0 18px;
}

@media (max-width: 900px) {
    .form-grid-2,
    .perfis-grid {
        grid-template-columns: 1fr;
    }
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.switch-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: bold;
}

.switch-line input {
    width: 42px;
    height: 22px;
    accent-color: #111827;
}

.perfis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.perfil-check {
    min-height: 44px;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    cursor: pointer;
    background: #ffffff;
}

.perfil-check:hover {
    background: #f8fbff;
    border-color: #9db8ff;
}

.perfil-check input {
    width: 18px;
    height: 18px;
    accent-color: #111827;
}

.form-actions {
    border-top: 1px solid #e5eaf2;
    margin-top: 24px;
    padding-top: 22px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-secundario {
    background: #ffffff;
    color: #111827;
    border: 1px solid #d9e1ec;
    padding: 0 18px;
}

.btn-primario {
    padding: 0 18px;
}

@media (max-width: 900px) {
    .form-grid-2,
    .perfis-grid {
        grid-template-columns: 1fr;
    }
}
.login-minimal-body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #eaf2ff 0%, #eef2ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-minimal-wrapper {
    width: 100%;
    max-width: 440px;
    text-align: center;
}

.login-minimal-logo {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    color: #ffffff;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 19px;
}

.login-minimal-title {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    color: #111827;
}

.login-minimal-subtitle {
    margin-top: 10px;
    margin-bottom: 26px;
    color: #475569;
    font-size: 15px;
}

.login-minimal-card {
    background: #ffffff;
    border: 1px solid #dfe7f3;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 28px;
    text-align: left;
}

.login-minimal-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #111827;
}

.login-minimal-card p {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 14px;
}

.login-minimal-card .campo {
    margin-bottom: 14px;
}

.login-minimal-card .campo label {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
}

.login-minimal-card .campo input {
    width: 100%;
    height: 46px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
    background: #ffffff;
}

.login-minimal-card .campo input:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

.btn-login-dark {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 7px;
    background: #111827;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    margin-top: 2px;
}

.btn-login-dark:hover {
    background: #020617;
}

.login-minimal-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 18px 0;
}

.btn-login-outline {
    width: 100%;
    height: 42px;
    border: 1px solid #d9e1ec;
    border-radius: 7px;
    background: #ffffff;
    color: #111827;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-login-outline:hover {
    background: #f8fafc;
}

.login-small-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    color: #2563eb;
    font-size: 13px;
}

.login-minimal-card .alerta {
    margin-bottom: 16px;
}
/* ============================================================
   CORREÇÃO PONTUAL LOGIN - SISTEMA DE GESTÃO DE CEMITÉRIO
   Colar no FINAL do arquivo sistema.css
   ============================================================ */

html,
body {
    min-height: 100%;
}

body.cemi-login-body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    width: 100% !important;
    background: linear-gradient(135deg, #eaf2ff 0%, #eef2ff 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.cemi-login-page {
    width: 100% !important;
    max-width: 440px !important;
    text-align: center !important;
    padding: 24px !important;
}

.cemi-login-logo {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto 18px auto !important;
    background: linear-gradient(135deg, #2563eb, #9333ea) !important;
    color: #ffffff !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22) !important;
}

.cemi-login-title {
    margin: 0 !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #111827 !important;
    text-align: center !important;
}

.cemi-login-subtitle {
    margin-top: 10px !important;
    margin-bottom: 26px !important;
    color: #475569 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

.cemi-login-card {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #d7dfec !important;
    border-radius: 9px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
    padding: 28px !important;
    text-align: left !important;
}

.cemi-login-card h2 {
    margin: 0 0 8px 0 !important;
    font-size: 24px !important;
    color: #111827 !important;
    font-weight: 800 !important;
}

.cemi-login-card p {
    margin: 0 0 24px 0 !important;
    color: #64748b !important;
    font-size: 14px !important;
}

.cemi-login-field {
    margin-bottom: 14px !important;
}

.cemi-login-field label {
    display: block !important;
    margin-bottom: 8px !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.cemi-login-field input {
    width: 100% !important;
    height: 46px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    outline: none !important;
    background: #ffffff !important;
    color: #111827 !important;
    box-sizing: border-box !important;
}

.cemi-login-field input:focus {
    border-color: #111827 !important;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12) !important;
}

.cemi-login-field input:disabled {
    background: #f8fafc !important;
    color: #64748b !important;
}

.cemi-login-button {
    width: 100% !important;
    height: 44px !important;
    border: none !important;
    border-radius: 7px !important;
    background: #111827 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 2px !important;
}

.cemi-login-button:hover {
    background: #020617 !important;
}

.cemi-login-link {
    display: block !important;
    text-align: center !important;
    margin-top: 14px !important;
    color: #2563eb !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

.cemi-login-link:hover {
    text-decoration: underline !important;
}

.cemi-alert-error {
    padding: 12px 14px !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
    background: #fee2e2 !important;
    border: 1px solid #fecaca !important;
    color: #991b1b !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

@media (max-width: 520px) {
    .cemi-login-page {
        max-width: 100% !important;
        padding: 18px !important;
    }

    .cemi-login-card {
        padding: 22px !important;
    }

    .cemi-login-title {
        font-size: 24px !important;
    }
}
/* ============================================================
   MENU DO USUÁRIO NO TOPO
   ============================================================ */

.usuario-menu-container {
    position: relative;
}

.usuario-menu-botao {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 10px;
}

.usuario-menu-botao:hover {
    background: #f3f6fb;
}

.usuario-menu-botao .usuario-dados {
    text-align: left;
}

.usuario-seta {
    color: #64748b;
    font-size: 16px;
    margin-left: 2px;
}

.usuario-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 52px;
    width: 270px;
    background: #ffffff;
    border: 1px solid #dfe7f3;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    z-index: 200;
    overflow: hidden;
}

.usuario-dropdown-aberto {
    display: block;
}

.usuario-dropdown-cabecalho {
    padding: 14px 14px 10px;
    border-bottom: 1px solid #edf1f7;
}

.usuario-dropdown-cabecalho strong {
    display: block;
    font-size: 14px;
    color: #111827;
}

.usuario-dropdown-cabecalho span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: #64748b;
}

.usuario-dropdown-secao {
    border-bottom: 1px solid #edf1f7;
    padding: 4px 0;
}

.usuario-dropdown-secao:last-child {
    border-bottom: none;
}

.usuario-dropdown-item {
    width: 100%;
    min-height: 34px;
    border: none;
    background: #ffffff;
    color: #111827;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.usuario-dropdown-item:hover {
    background: #f5f8ff;
}

.usuario-dropdown form {
    margin: 0;
}

.perfil-menu-item {
    justify-content: space-between;
}

.perfil-menu-executivo:hover,
.perfil-menu-executivo.perfil-menu-ativo {
    box-shadow: inset 0 -2px 0 #4481eb;
    background: #f3f7ff;
}

.perfil-menu-vendedor:hover,
.perfil-menu-vendedor.perfil-menu-ativo {
    box-shadow: inset 0 -2px 0 #ff8d3a;
    background: #fff7ed;
}

.perfil-menu-gestor:hover,
.perfil-menu-gestor.perfil-menu-ativo {
    box-shadow: inset 0 -2px 0 #34d399;
    background: #ecfdf5;
}

.perfil-menu-operador:hover,
.perfil-menu-operador.perfil-menu-ativo {
    box-shadow: inset 0 -2px 0 #9ca3af;
    background: #f8fafc;
}

.perfil-menu-consulta:hover,
.perfil-menu-consulta.perfil-menu-ativo {
    box-shadow: inset 0 -2px 0 #8b5cf6;
    background: #f5f3ff;
}

.usuario-check {
    color: #111827;
    font-weight: bold;
}

.usuario-dropdown-titulo {
    padding: 8px 14px 4px;
    font-size: 12px;
    color: #64748b;
    font-weight: bold;
}

.tema-bolinha {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.tema-padrao {
    background: #3b82f6;
}

.tema-esmeralda {
    background: #10b981;
}

.tema-violeta {
    background: #8b5cf6;
}

.tema-midnight {
    background: #1e3a8a;
}

.tema-solarized {
    background: #b7791f;
}

.tema-opcao {
    justify-content: flex-start;
    gap: 8px;
}

.tema-opcao .tema-check {
    margin-left: auto;
}

.usuario-sair {
    color: #ef4444;
}

.usuario-sair:hover {
    background: #fff1f2;
}

/* ============================================================
   TEMAS SIMPLES
   ============================================================ */

body.tema-padrao-body {
    --cor-principal: #2f6ef7;
}

body.tema-esmeralda-body {
    --cor-principal: #10b981;
}

body.tema-violeta-body {
    --cor-principal: #8b5cf6;
}

body.tema-midnight-body {
    --cor-principal: #1e3a8a;
}

body.tema-solarized-body {
    --cor-principal: #b7791f;
}

body.tema-padrao-body .logo-sistema,
body.tema-padrao-body .avatar-usuario {
    background: #4c7cf2;
}

body.tema-esmeralda-body .logo-sistema,
body.tema-esmeralda-body .avatar-usuario {
    background: #10b981;
}

body.tema-violeta-body .logo-sistema,
body.tema-violeta-body .avatar-usuario {
    background: #8b5cf6;
}

body.tema-midnight-body .logo-sistema,
body.tema-midnight-body .avatar-usuario {
    background: #1e3a8a;
}

body.tema-solarized-body .logo-sistema,
body.tema-solarized-body .avatar-usuario {
    background: #b7791f;
}

/* ============================================================
   MODO ESCURO SIMPLES
   ============================================================ */

body.modo-escuro {
    background: #111827;
    color: #e5e7eb;
}

body.modo-escuro .topo-sistema,
body.modo-escuro .menu-principal,
body.modo-escuro .pagina-card,
body.modo-escuro .usuario-dropdown,
body.modo-escuro .menu-dropdown-conteudo {
    background: #1f2937;
    color: #e5e7eb;
    border-color: #374151;
}

body.modo-escuro .empresa-nome,
body.modo-escuro .usuario-nome,
body.modo-escuro .usuario-dropdown-cabecalho strong,
body.modo-escuro .usuario-dropdown-item,
body.modo-escuro .tabela-lista td,
body.modo-escuro .tabela-lista th {
    color: #e5e7eb;
}

body.modo-escuro .empresa-subtitulo,
body.modo-escuro .usuario-email,
body.modo-escuro .usuario-dropdown-cabecalho span,
body.modo-escuro .usuario-dropdown-titulo {
    color: #9ca3af;
}

body.modo-escuro .conteudo-principal {
    background: #111827;
}

body.modo-escuro .usuario-dropdown-item,
body.modo-escuro .menu-item-botao {
    background: transparent;
}

body.modo-escuro .usuario-dropdown-item:hover,
body.modo-escuro .menu-item:hover {
    background: #374151;
}
/* ============================================================
   DADOS DA EMPRESA
   ============================================================ */

.input-readonly {
    background: #f8fafc !important;
    color: #64748b !important;
    cursor: not-allowed !important;
}

.pagina-card h2 {
    font-size: 22px;
    margin-bottom: 24px;
}

.pagina-card form .campo label {
    font-size: 13px;
    color: #111827;
}

.pagina-card form .campo input {
    font-size: 14px;
}
/* ============================================================
   CADASTRO COMPLETO CESSIONÁRIO / NOVO CESSIONÁRIO
   ============================================================ */

.cc-window {
    background: #f3f4f6;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 14px;
}

.cc-title {
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cc-box {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px;
}

.cc-box-title {
    font-weight: 800;
    color: #0066cc;
    margin-bottom: 10px;
    font-size: 14px;
}

.cc-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    align-items: end;
}

.cc-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cc-field label {
    font-size: 12px;
    font-weight: 700;
    color: #111827;
}

.cc-field input,
.cc-field select,
.cc-field textarea {
    height: 32px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 13px;
    background: #ffffff;
}

.cc-field textarea {
    height: 90px;
    padding: 8px;
}

.cc-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid #cbd5e1;
    padding-top: 12px;
    margin-top: 12px;
}

.cc-btn {
    border: 1px solid #94a3b8;
    background: #ffffff;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
}

.cc-btn-primary {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.cc-col-1 { grid-column: span 1; }
.cc-col-2 { grid-column: span 2; }
.cc-col-3 { grid-column: span 3; }
.cc-col-4 { grid-column: span 4; }
.cc-col-5 { grid-column: span 5; }
.cc-col-6 { grid-column: span 6; }
.cc-col-7 { grid-column: span 7; }
.cc-col-8 { grid-column: span 8; }
.cc-col-9 { grid-column: span 9; }
.cc-col-10 { grid-column: span 10; }
.cc-col-12 { grid-column: span 12; }

@media (max-width: 1000px) {
    .cc-grid {
        grid-template-columns: 1fr;
    }

    .cc-col-1,
    .cc-col-2,
    .cc-col-3,
    .cc-col-4,
    .cc-col-5,
    .cc-col-6,
    .cc-col-7,
    .cc-col-8,
    .cc-col-9,
    .cc-col-10,
    .cc-col-12 {
        grid-column: span 1;
    }
}