/* ============================================
   Kania ID — ESTILOS GERAIS
============================================ */
.kania-id-root {
    max-width: 1200px;
    margin: 30px auto;
    padding: 6px 20px;
    font-family: 'Montserrat', sans-serif;
}

.kania-intro {
    text-align: center;
    padding: 30px 10px 10px;
    color: #cfdde9;
}

.kania-intro-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 34px;
    margin: 0 0 12px;
}

.kania-intro-sub {
    color: #babaca;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.35;
}

/* ============================================
   TABS
============================================ */
.kania-tabs {
    display: flex;
    gap: 34px;
    justify-content: center;
    align-items: center;
    margin: 18px 0 28px;
    flex-wrap: wrap;
}

.kania-tab {
    background: #004b8d;
    color: #c8d4e0;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

.kania-tab.active {
    background: #001B40;
    color:#ffffff !important;  /* AQUI */
    font-weight: 800;
}

.kania-tab.active::after {
    content: "";
    display: block;
    height: 4px;
    background: #19ebcb;
    width: 70%;
    margin: 8px auto 0;
    border-radius: 3px;
}

/* ============================================
   CONTEÚDO
============================================ */
.kania-contents {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.kania-title {
    font-size: 28px;
    color: #ffffff;
    font-weight: 800;
    margin: 6px 0;
}

.kania-subp {
    color: #cfdde9;
    max-width: 680px;
    margin: 0 auto 18px;
    font-weight: 500;
}

/* ============================================
   INPUT DA PLACA
============================================ */
.kania-plate-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.plate-mock {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #707070;
    width: 360px;
}

.plate-top {
    background: #003c72;
    color: #fff;
    padding: 8px;
    font-weight: 500;
    text-align: center;
}

.plate-mock input {
    width: 100%;
    font-weight: 800;
    font-size: 40px!important;
	font-weight: 700 !important;
	text-transform: uppercase!important;
    text-align: center;
    border: none !important;
    padding: 14px;
    color: #003c72;
    background: #fafafa;
	margin-top: 20px;
  	margin-bottom: 20px;
}

/* Botões */
.kania-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 800;
}

.kania-btn.primary {
    background: #19ebcb;
    color: #003b71;
}

.kania-btn.big {
    background: #19ebcb;
    color: #003b71;
    font-size: 20px;
    padding: 18px 36px;
    border-radius: 18px;
}

.kania-note {
    color: #ffffff;
    font-style: italic;
    margin-top: 12px;
    font-weight: 500;
}

.kania-file {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: #fff;
    margin-bottom: 12px;
}

#kania-submit-file {
    display: block;
    margin: 20px auto 0;
}

.kania-icon-img {
    height: 25px !important;
    width: auto;
    margin-left: 6px;
}

/* ============================================
   RESULTADO — CARTÕES
============================================ */
.kania-result-root {
    max-width: 1100px;
    margin: 26px auto;
    padding: 18px;
}

.kania-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    margin: 14px;
    border: 1px solid #eee;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.kania-header {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
}

/* ============================================
   PLACA — BLOCO FINAL (limpo e correto)
============================================ */

.kania-placa-wrap {
    position: relative;
    width: 80%;
    border: 2px solid #d9e4ec;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    overflow: hidden;
	min-height: 90px;
}

.placa-base {
    width: 100%;
    display: block;
	height: auto;
	margin-bottom: 10px;
}

.placa-numero {
    font-size: 36px;
    font-weight: 900;
	text-align: center;
    color: #003b71;
    letter-spacing: 2px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.20);
    white-space: nowrap;
    z-index: 30 !important;
	margin-bottom: 10px !important;
}

/* Bloco: placa + info */
.kania-vehicle-info-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    width: 100%;
}

/* Linha vertical */
.separator-vertical {
    width: 4px;
    height: 120px;
    background: #19ebcb;
    border-radius: 4px;
}

/* Lado direito */
.kania-vehicle-info {
    text-align: left;
    max-width: 420px;
    color: #003c72;
}

.kania-vehicle-info p {
    margin: 6px 0;
    font-size: 15px;
}

/* ============================================
   CARTÕES DE BATERIA
============================================ */

.kania-cards {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
}

.kania-card-item {
    width: 420px;
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #e7eef3;
    box-shadow: 0 10px 22px rgba(3,27,46,0.06);
}

.kania-card-item img {
    max-width: 180px;
    display: block;
    margin: 6px auto;
}

.kania-card-item h3 {
    font-size: 20px;
    text-align: center;
    margin: 6px 0 2px;
    color: #003c72;
}

.c20 {
    text-align: center;
    color: #007;
    font-weight: 700;
    margin-bottom: 8px;
}

.kania-card-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.kania-card-table td {
    padding: 10px;
    border: 1px solid #eef3f6;
    font-size: 14px;
}

.kania-pdf-btn {
    display: inline-block;
    margin-top: 12px;
    background: #003b71;
    color: #fff;
    padding: 9px 14px;
    border-radius: 8px;
    text-decoration: none;
}

/* Linha + selo */
.kania-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    gap: 12px;
}

.line-text {
    font-weight: 700;
    color: #003B71;
}

.kania-line img {
    max-width: 120px;
}

/* ============================================
   MOBILE AJUSTES
============================================ */

@media(max-width: 700px) {

    .kania-header {
        flex-direction: column;
        text-align: center;
    }

    .kania-placa-wrap {
        width: 80%;
        margin-bottom: 16px;
    }

    .separator-vertical {
        display: none;
    }

    .kania-vehicle-info-wrap {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .placa-numero {
        font-size: 28px;
		text-align: center;
		margin-bottom: 10px !important;
    }

    .kania-card-item {
        width: 90%;
    }
}
/* OVERLAY DE CARREGAMENTO */
#kania-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 59, 113, 0.75);
    display: none;
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

#kania-loading-overlay img {
    width: 120px;
    height: auto;
}
.kania-clear-btn {
    background:#FF4646!important;
    color:#fff;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
    font-weight:700;
    border:none;
    display:flex;
    align-items:center;
    gap:8px;
    margin:10px auto 0 auto;
}

.kania-clear-btn:hover {
    background:#cc38338!important;
}

.kania-trash-icon {
    width:18px;
    height:auto;
}
