/* ==============================================================================
   DNA AUTO — APLICATIVO MOBILE DO CLIENTE / PROPRIETÁRIO
   Fidelidade visual absoluta à referência do usuário (Dark Obsidian, Neon Blue)
   ============================================================================== */

:root {
    --dna-blue: #0066FF;
    --dna-blue-glow: rgba(0, 102, 255, 0.45);
    --dna-cyan: #00D4FF;
    --dna-cyan-glow: rgba(0, 212, 255, 0.4);
    --dna-green: #00E676;
    --dna-green-glow: rgba(0, 230, 118, 0.35);
    --dna-bg: #050B14;
    --dna-bg-card: rgba(8, 16, 32, 0.88);
    --dna-border: rgba(0, 102, 255, 0.28);
    --dna-text-white: #FFFFFF;
    --dna-text-gray: #94A3B8;
    --dna-text-dim: #64748B;
}

/* 1. Viewport do App — Fullscreen Nativo Bloqueado */
.dna-app-viewport {
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    width: 100% !important;
    max-width: 100vw !important;
    background: radial-gradient(circle at 50% 15%, #08152c 0%, #050b14 65%, #02050a 100%);
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Outfit', 'Inter', sans-serif;
    color: var(--dna-text-white);
    box-sizing: border-box;
    overflow: hidden !important;
    position: fixed !important;
    inset: 0 !important;
    overscroll-behavior: none !important;
}

/* 2. Container Fullscreen (sem frame de celular) */
.dna-phone-frame {
    width: 100% !important;
    max-width: 100vw !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    background: #070D18;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    overscroll-behavior: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. Barra de Status fake — Oculta (o sistema nativo cuida disso) */
.dna-phone-statusbar {
    display: none !important;
}

.dna-statusbar-notch {
    display: none !important;
}

/* 4. Header Superior do App */
.dna-app-header {
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dna-brand-left {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.dna-menu-burger-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: #FFFFFF;
}

.dna-brand-logo-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

.dna-brand-text h1 {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.8px;
    margin: 0;
    color: #FFFFFF;
}

/* Controles da Direita no Header (Notificação + Avatar) */
.dna-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dna-notification-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #FFFFFF;
    cursor: pointer;
}

.dna-badge-counter {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: #EF4444;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 9.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #070D18;
}

/* Trava Rigida para o Avatar NUNCA estourar a tela */
.dna-user-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    border-radius: 50% !important;
    border: 2px solid #00D4FF !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4) !important;
    overflow: hidden !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0f172a !important;
}

.dna-user-avatar img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}

/* 5. Área de Rolagem do Conteúdo */
.dna-app-scroll-content {
    flex: 1 1 0%;
    min-height: 0;
    height: 0;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding: 12px 16px 20px;
    scrollbar-width: none;
}

.dna-app-scroll-content::-webkit-scrollbar {
    display: none;
}

/* 6. Card Principal do Veículo */
.dna-vehicle-card {
    background: radial-gradient(ellipse at 50% 20%, rgba(16, 38, 77, 0.95) 0%, rgba(7, 14, 28, 0.98) 100%);
    border: 1px solid rgba(0, 150, 255, 0.35);
    border-radius: 20px;
    padding: 14px 14px 12px;
    margin-bottom: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 102, 255, 0.12);
}

.dna-vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dna-mfr-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dna-brand-symbol {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dna-vehicle-name {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 2px;
}

.dna-plate-year {
    font-size: 11px;
    color: var(--dna-text-gray);
    font-family: var(--font-mono, monospace);
}

.dna-registered-tag {
    background: rgba(0, 102, 255, 0.18);
    border: 1px solid rgba(0, 102, 255, 0.45);
    color: #38BDF8;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Palco Oficial da Foto do Carro com Fundo Azul DNA AUTO & Reflexo Neon */
.dna-car-stage {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 12px 18px;
    min-height: 145px;
    border-radius: 18px;
    background: radial-gradient(ellipse at 50% 68%, rgba(0, 102, 255, 0.42) 0%, rgba(0, 212, 255, 0.22) 38%, rgba(8, 16, 32, 0.88) 72%, rgba(4, 8, 16, 0.98) 100%), linear-gradient(180deg, rgba(12, 24, 48, 0.85) 0%, rgba(6, 12, 22, 0.98) 100%);
    border: 1px solid rgba(0, 212, 255, 0.32);
    box-shadow: inset 0 0 35px rgba(0, 102, 255, 0.25), 0 10px 28px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.dna-car-stage:hover {
    border-color: rgba(0, 212, 255, 0.55);
    box-shadow: inset 0 0 40px rgba(0, 102, 255, 0.35), 0 12px 32px rgba(0, 102, 255, 0.25);
}

.dna-car-image {
    width: 100%;
    max-width: 290px;
    height: auto;
    max-height: 155px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.95)) drop-shadow(0 4px 10px rgba(0, 102, 255, 0.35));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dna-car-neon-glow {
    position: absolute;
    bottom: 8px;
    width: 78%;
    height: 24px;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.85) 0%, rgba(0, 102, 255, 0.5) 45%, transparent 75%);
    border-radius: 50%;
    filter: blur(8px);
    z-index: 1;
    pointer-events: none;
}

/* Círculo de Status de Saúde (EM DIA) */
.dna-status-orb-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 2px 0 12px;
}

.dna-status-orb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.12);
    border: 2px solid #00E676;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(0, 230, 118, 0.4);
}

.dna-status-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dna-status-main {
    font-size: 13px;
    font-weight: 900;
    color: #00E676;
    letter-spacing: 0.5px;
}

.dna-status-sub {
    font-size: 11px;
    color: var(--dna-text-gray);
}

/* 3 Medidores Rápidos em Grade */
.dna-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.dna-metric-box {
    background: rgba(8, 16, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
}

.dna-metric-label {
    font-size: 10px;
    color: var(--dna-text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.dna-metric-value {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    font-family: var(--font-mono, monospace);
}

.dna-fuel-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.dna-fuel-fill {
    height: 100%;
    background: linear-gradient(90deg, #00D4FF, #00E676);
    border-radius: 2px;
}

/* 7. Card de Certificação DNA AUTO */
.dna-cert-card {
    background: rgba(8, 16, 32, 0.88);
    border: 1.5px solid rgba(0, 102, 255, 0.3);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.dna-cert-left {
    flex: 1;
}

.dna-cert-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.dna-cert-shield-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 210, 28, 0.12);
    border: 1px solid rgba(255, 210, 28, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dna-cert-title-block {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dna-cert-title-block h3 {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.dna-valid-pill {
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid rgba(0, 230, 118, 0.4);
    color: #00E676;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.dna-cert-code {
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    font-weight: 800;
    color: #00D4FF;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.dna-cert-date {
    font-size: 10px;
    color: var(--dna-text-dim);
    margin-bottom: 8px;
}

.dna-cert-action-btn {
    background: transparent;
    border: none;
    color: #38BDF8;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.dna-cert-action-btn:hover {
    color: #FFFFFF;
}

/* QR Code Escaneável de Autenticidade */
.dna-cert-qr-container {
    width: 76px;
    height: 76px;
    background: #0A1428;
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 10px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(0, 102, 255, 0.25);
    flex-shrink: 0;
}

.dna-qr-code {
    width: 54px;
    height: 54px;
}

.dna-qr-label {
    font-size: 7.5px;
    font-weight: 800;
    color: #00D4FF;
    letter-spacing: 0.6px;
    margin-top: 3px;
}

/* 8. Seção Últimos Registros (Timeline Horizontal Conectada) */
.dna-timeline-section {
    background: rgba(8, 16, 32, 0.88);
    border: 1.5px solid rgba(0, 102, 255, 0.25);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 14px;
}

.dna-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.dna-timeline-title {
    font-size: 11px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.6px;
}

.dna-timeline-more-link {
    font-size: 11px;
    color: #38BDF8;
    text-decoration: none;
    font-weight: 700;
}

.dna-horizontal-timeline {
    position: relative;
    padding: 10px 4px 6px;
}

.dna-timeline-track {
    position: absolute;
    top: 17px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: rgba(0, 102, 255, 0.4);
    z-index: 1;
}

.dna-timeline-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.dna-timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 72px;
    text-align: center;
    cursor: pointer;
}

.dna-node-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border: 2px solid #070D18;
}

.dna-node-label {
    font-size: 9.5px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 2px;
}

.dna-node-date {
    font-size: 8.5px;
    color: var(--dna-text-dim);
}

/* Card de Proteção Criptografada */
.dna-protection-card {
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dna-prot-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dna-prot-text strong {
    display: block;
    font-size: 11.5px;
    color: #FFFFFF;
    margin-bottom: 1px;
}

.dna-prot-text span {
    font-size: 10px;
    color: var(--dna-text-gray);
}

/* 9. Barra de Navegação Inferior Fixa (5 Itens) */
.dna-bottom-nav {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    height: 64px;
    background: rgba(7, 13, 24, 0.95);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 25;
    padding: 0 4px;
}

.dna-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #64748B;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.dna-nav-item.active {
    color: #00D4FF;
}

.dna-nav-item.active .dna-nav-icon {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.7));
}

.dna-nav-label {
    font-size: 9.5px;
    font-weight: 700;
}

/* 10. Drawer Lateral Aberto (Menu do Lado Direito da Imagem) */
.dna-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s ease;
}

.dna-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.dna-app-drawer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 84%;
    max-width: 340px;
    background: #081020;
    border-right: 1.5px solid rgba(0, 102, 255, 0.35);
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);
}

.dna-app-drawer.active {
    transform: translateX(0);
}

.dna-drawer-header {
    height: 48px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 16px;
}

.dna-drawer-close-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Perfil do Usuário no Drawer */
.dna-drawer-profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dna-profile-avatar-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    max-width: 44px;
    border-radius: 50%;
    border: 2px solid #00D4FF;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    flex-shrink: 0;
}

.dna-profile-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.dna-profile-name {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 2px;
}

.dna-profile-role {
    font-size: 11.5px;
    color: #38BDF8;
    text-decoration: none;
    font-weight: 700;
}

/* Lista dos 9 Itens de Navegação */
.dna-drawer-menu-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    scrollbar-width: none;
}

.dna-drawer-menu-list::-webkit-scrollbar {
    display: none;
}

.dna-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    color: #CBD5E1;
    cursor: pointer;
    transition: all 0.18s ease;
}

.dna-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
}

.dna-menu-item.active {
    background: #0066FF;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

.dna-menu-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
}

.dna-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-menu-arrow {
    color: rgba(255, 255, 255, 0.4);
}

/* Rodapé do Drawer com Card DNA AUTO */
.dna-drawer-footer {
    padding: 14px 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dna-footer-shield-box {
    text-align: center;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 14px;
    padding: 12px 10px;
}

.dna-footer-shield-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.dna-footer-shield-box h4 {
    font-size: 12px;
    font-weight: 900;
    color: #FFFFFF;
    margin: 0 0 2px;
    letter-spacing: 0.5px;
}

.dna-footer-slogan {
    font-size: 10.5px;
    font-weight: 700;
    color: #00D4FF;
    margin: 0 0 2px;
}

.dna-footer-sub {
    font-size: 9px;
    color: var(--dna-text-dim);
    margin: 0;
}

/* ==============================================================================
   ESTILOS DE SUB-TELAS INTERNAS NATIVAS
   Substituição completa de popups/alert por navegação interna fluida
   ============================================================================== */

/* 1. Header Dinâmico de Sub-Telas */
.dna-subscreen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.dna-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.35);
    color: #00D4FF;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dna-back-btn:hover {
    background: rgba(0, 102, 255, 0.3);
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.dna-subscreen-title {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    margin: 0;
}

.dna-subscreen-badge {
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid rgba(0, 230, 118, 0.4);
    color: #00E676;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
}

/* 2. Módulo de Documentos do Veículo (Padrão Carteira Digital) */
.dna-documents-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dna-doc-card {
    background: radial-gradient(circle at 10% 20%, rgba(12, 28, 60, 0.95) 0%, rgba(6, 14, 28, 0.98) 100%);
    border: 1.5px solid rgba(0, 102, 255, 0.3);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
    position: relative;
    overflow: hidden;
}

.dna-doc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00D4FF, #0066FF);
}

.dna-doc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.dna-doc-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dna-doc-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00D4FF;
    flex-shrink: 0;
}

.dna-doc-title {
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 2px;
}

.dna-doc-issuer {
    font-size: 10px;
    color: var(--dna-text-gray);
    letter-spacing: 0.3px;
}

.dna-doc-badge {
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    flex-shrink: 0;
}

.dna-doc-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(0, 0, 0, 0.35);
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dna-doc-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dna-doc-meta-lbl {
    font-size: 9px;
    color: var(--dna-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dna-doc-meta-val {
    font-size: 11px;
    font-weight: 700;
    color: #E2E8F0;
    font-family: var(--font-mono, monospace);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dna-doc-desc {
    font-size: 11px;
    color: #94A3B8;
    line-height: 1.4;
    margin: 0;
}

.dna-doc-actions {
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

.dna-btn-doc-view {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #0066FF, #0052CC);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    transition: all 0.2s ease;
}

.dna-btn-doc-view:hover {
    background: linear-gradient(135deg, #1A75FF, #0066FF);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.5);
}

.dna-btn-doc-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #CBD5E1;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dna-btn-doc-dl:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

/* 3. Modal Visualizador Interno de Documento (Sem Janela Externa!) */
.dna-doc-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    animation: dnaFadeIn 0.25s ease;
}

@keyframes dnaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dna-doc-sheet {
    background: #091224;
    border-top: 2px solid #00D4FF;
    border-radius: 24px 24px 0 0;
    padding: 20px 18px 30px;
    max-height: 85%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.9);
}

.dna-doc-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.dna-doc-sheet-title {
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.dna-doc-sheet-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dna-doc-paper-preview {
    background: #050B16;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.dna-doc-paper-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid #00E676;
    color: #00E676;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.dna-doc-paper-header {
    text-align: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
}

.dna-doc-paper-header h4 {
    font-size: 13px;
    font-weight: 800;
    color: #00D4FF;
    margin: 0 0 2px;
    letter-spacing: 0.5px;
}

.dna-doc-paper-header p {
    font-size: 10px;
    color: #94A3B8;
    margin: 0;
}

.dna-doc-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.dna-doc-data-table td {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dna-doc-data-table td.label {
    color: #64748B;
    font-weight: 600;
    width: 40%;
}

.dna-doc-data-table td.val {
    color: #FFFFFF;
    font-weight: 700;
    font-family: var(--font-mono, monospace);
}

.dna-doc-validation-stamp {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dna-stamp-qr {
    width: 50px;
    height: 50px;
    background: #000;
    border: 1px solid #00D4FF;
    border-radius: 6px;
    padding: 4px;
    flex-shrink: 0;
}

.dna-stamp-info {
    font-size: 9.5px;
    color: #94A3B8;
    line-height: 1.3;
}

.dna-stamp-info strong {
    color: #00D4FF;
    display: block;
    font-size: 10.5px;
    margin-bottom: 2px;
}

/* 4. Módulo Mini OBD2 em Tempo Real */
.dna-obd-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dna-obd-conn-banner {
    background: radial-gradient(circle at 15% 50%, rgba(0, 102, 255, 0.25) 0%, rgba(8, 16, 32, 0.9) 100%);
    border: 1.5px solid rgba(0, 212, 255, 0.35);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.2);
}

.dna-obd-conn-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dna-obd-live-pulse {
    position: relative;
    width: 12px;
    height: 12px;
    background: #00E676;
    border-radius: 50%;
    box-shadow: 0 0 10px #00E676;
}

.dna-obd-live-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #00E676;
    border-radius: 50%;
    animation: dnaPulse 1.8s infinite;
}

@keyframes dnaPulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.dna-obd-device-name {
    font-size: 12.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 2px;
}

.dna-obd-protocol {
    font-size: 9.5px;
    color: #38BDF8;
    font-family: var(--font-mono, monospace);
}

.dna-obd-latency-pill {
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid rgba(0, 230, 118, 0.4);
    color: #00E676;
    font-size: 9.5px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
}

/* Mostradores Digitais (Gauges Grid) */
.dna-obd-gauges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dna-obd-gauge-card {
    background: radial-gradient(circle at 50% 20%, rgba(12, 26, 56, 0.85) 0%, rgba(6, 14, 28, 0.95) 100%);
    border: 1.5px solid rgba(0, 102, 255, 0.28);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.dna-obd-gauge-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.dna-obd-gauge-label {
    font-size: 10px;
    color: var(--dna-text-gray);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.dna-obd-gauge-value {
    font-size: 20px;
    font-weight: 900;
    color: #FFFFFF;
    font-family: var(--font-mono, monospace);
    letter-spacing: -0.5px;
}

.dna-obd-gauge-unit {
    font-size: 11px;
    font-weight: 600;
    color: #00D4FF;
    margin-left: 2px;
}

.dna-obd-gauge-status {
    font-size: 9.5px;
    margin-top: 4px;
    font-weight: 700;
}

.dna-obd-rpm-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.dna-obd-rpm-fill {
    height: 100%;
    background: linear-gradient(90deg, #00E676, #00D4FF, #0066FF);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Scanner DTC de Injeção */
.dna-obd-dtc-card {
    background: rgba(8, 16, 32, 0.9);
    border: 1.5px solid rgba(0, 230, 118, 0.35);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.12);
}

.dna-obd-dtc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00E676;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.3);
}

.dna-obd-dtc-info h4 {
    font-size: 13.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 3px;
}

.dna-obd-dtc-info p {
    font-size: 10.5px;
    color: #94A3B8;
    margin: 0;
    line-height: 1.3;
}

/* Tabela de Sensores ao Vivo */
.dna-obd-sensors-table {
    background: rgba(8, 16, 32, 0.85);
    border: 1.5px solid rgba(0, 102, 255, 0.25);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dna-obd-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
    margin-bottom: 4px;
}

.dna-obd-table-header h4 {
    font-size: 11.5px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0;
}

.dna-obd-sensor-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dna-obd-sensor-row:last-child {
    border-bottom: none;
}

.dna-sensor-name {
    font-size: 11px;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dna-sensor-val {
    font-size: 11.5px;
    font-weight: 800;
    color: #FFFFFF;
    font-family: var(--font-mono, monospace);
}

/* Botão de Rescanear ECU */
.dna-obd-rescan-btn {
    width: 100%;
    background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    border: none;
    border-radius: 12px;
    padding: 12px;
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(0, 102, 255, 0.4);
    transition: all 0.2s ease;
}

.dna-obd-rescan-btn:hover {
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.6);
    transform: translateY(-1px);
}

/* 5. Sub-Tela de Ficha Técnica do Veículo */
.dna-vehicle-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.dna-spec-card {
    background: rgba(8, 16, 32, 0.85);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dna-spec-label {
    font-size: 9.5px;
    color: var(--dna-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dna-spec-value {
    font-size: 12.5px;
    font-weight: 800;
    color: #FFFFFF;
}

/* 6. Sub-Tela de Histórico Detalhado */
.dna-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dna-history-item-card {
    background: rgba(8, 16, 32, 0.85);
    border: 1.5px solid rgba(0, 102, 255, 0.25);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dna-history-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dna-history-title {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.dna-history-km-pill {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #00D4FF;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    font-family: var(--font-mono, monospace);
}

.dna-history-details {
    font-size: 10.5px;
    color: #94A3B8;
    line-height: 1.4;
    margin: 0;
}

.dna-history-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 6px;
    font-size: 9.5px;
    color: var(--dna-text-dim);
}

/* ==============================================================================
   REFINAMENTOS — BOTÕES DE SAIR & PLACA MERCOSUL
   ============================================================================== */

/* Botão de Sair no Header Superior */
.dna-logout-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #FCA5A5;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dna-logout-header-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #FFFFFF;
    border-color: #EF4444;
}

/* Botão de Sair no Menu Lateral (Drawer) */
.dna-drawer-logout-item {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.dna-drawer-logout-item:hover {
    background: #EF4444;
    color: #FFFFFF;
    border-color: #EF4444;
}

/* Placa Veicular no Padrão Oficial Mercosul */
.dna-mercosul-plate {
    display: inline-flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1.5px solid #1E293B;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    min-width: 96px;
    margin: 4px 0;
}

.dna-mercosul-plate-header {
    background: #003399;
    color: #FFFFFF;
    font-size: 6.5px;
    font-weight: 900;
    letter-spacing: 1.2px;
    padding: 1.5px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dna-mercosul-plate-code {
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', monospace;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    text-align: center;
    padding: 2px 6px;
    background: #FFFFFF;
}

/* Seletor Rápido de Veículo do Cliente (Multi-Carro) */
.dna-vehicle-selector-bar {
    background: rgba(8, 16, 32, 0.9);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dna-vehicle-select-dropdown {
    background: #050B14;
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
}

/* Botão de Trocar Foto Sobre o Carro */
.dna-car-stage {
    position: relative;
}

.dna-car-change-photo-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(11, 23, 48, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
    z-index: 5;
}

.dna-car-change-photo-btn:hover {
    background: rgba(0, 102, 255, 0.8);
    border-color: #00D4FF;
    transform: translateY(-1px);
}

/* Modal Bottom-Sheet para Troca de Foto do Carro */
.dna-photo-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 999;
    animation: dnaFadeIn 0.2s ease-out;
}

.dna-photo-modal-sheet {
    width: 100%;
    max-height: 90%;
    background: #0B132B;
    border-top: 1.5px solid rgba(0, 212, 255, 0.4);
    border-radius: 24px 24px 0 0;
    padding: 18px 16px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    animation: dnaSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dna-photo-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.dna-photo-modal-header h3 {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.dna-photo-modal-header p {
    font-size: 11px;
    color: #94A3B8;
    margin: 2px 0 0;
}

.dna-photo-preview-box {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    background: #050B14;
    border: 1px solid rgba(0, 102, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-photo-preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dna-photo-status-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(11, 23, 48, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: #38BDF8;
    font-size: 9.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

/* ── DNA AI STUDIO: REMOÇÃO DE FUNDO DO VEÍCULO COM IA ── */
.dna-ai-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(0, 212, 255, 0.28);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 2px;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.08);
}

.dna-ai-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dna-ai-sparkle-icon {
    font-size: 20px;
    filter: drop-shadow(0 0 8px #00D4FF);
    animation: dnaPulseAi 2s infinite ease-in-out;
}

.dna-ai-toggle-title {
    font-size: 12px;
    font-weight: 800;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dna-ai-toggle-title .dna-ai-pill {
    background: linear-gradient(135deg, #00D4FF, #00E676);
    color: #050B14;
    font-size: 9px;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.dna-ai-toggle-sub {
    font-size: 10.5px;
    color: #94A3B8;
    margin-top: 2px;
}

/* Switcher / Toggle */
.dna-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.dna-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.dna-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.16);
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dna-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #FFFFFF;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.dna-switch input:checked + .dna-slider {
    background: linear-gradient(135deg, #00D4FF 0%, #00E676 100%);
    border-color: #00E676;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

.dna-switch input:checked + .dna-slider:before {
    transform: translateX(18px);
    background-color: #050B14;
}

/* Overlay de Processamento da IA */
.dna-ai-processing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 11, 20, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 20;
    border-radius: 14px;
    animation: dnaFadeIn 0.2s ease-in;
}

.dna-ai-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00D4FF, #00E676, transparent);
    box-shadow: 0 0 12px #00D4FF, 0 0 20px #00E676;
    animation: dnaScanAnimation 2s infinite ease-in-out;
}

@keyframes dnaScanAnimation {
    0% { top: 5%; opacity: 0.3; }
    50% { top: 90%; opacity: 1; }
    100% { top: 5%; opacity: 0.3; }
}

@keyframes dnaPulseAi {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px #00D4FF); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 12px #00E676); }
}

.dna-ai-pulse-badge {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.dna-ai-spinning-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #00D4FF;
    border-right-color: #00E676;
    animation: dnaSpin 1.2s linear infinite;
}

@keyframes dnaSpin {
    to { transform: rotate(360deg); }
}

.dna-ai-status-text {
    font-size: 11.5px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 8px;
    max-width: 260px;
    line-height: 1.3;
}

.dna-ai-progress-bar-wrap {
    width: 80%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 6px;
    position: relative;
}

.dna-ai-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00D4FF, #00E676);
    border-radius: 6px;
    transition: width 0.25s ease-out;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
}

.dna-ai-progress-pct {
    font-size: 10px;
    font-weight: 800;
    color: #00D4FF;
    font-family: monospace;
}

/* Botão Comparar Antes / Depois */
.dna-ai-compare-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #CBD5E1;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.dna-ai-compare-btn:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00D4FF;
    color: #FFFFFF;
}

/* Fundo xadrez sutil para destacar a transparência perfeita */
.dna-photo-preview-box.is-transparent {
    background-color: #070d18;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%), 
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.03) 75%), 
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.03) 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    border-color: rgba(0, 230, 118, 0.4);
    box-shadow: inset 0 0 20px rgba(0, 230, 118, 0.08);
}

.dna-photo-upload-zone {
    border: 1.5px dashed rgba(0, 212, 255, 0.4);
    background: rgba(0, 102, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dna-photo-upload-zone:hover {
    background: rgba(0, 102, 255, 0.12);
    border-color: #00D4FF;
}

.dna-photo-url-input {
    width: 100%;
    background: #050B14;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 9px 12px;
    color: #FFFFFF;
    font-size: 11.5px;
    outline: none;
    box-sizing: border-box;
}

.dna-photo-url-input:focus {
    border-color: #00D4FF;
}

.dna-photo-btn-primary {
    background: linear-gradient(135deg, #0066FF, #00D4FF);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 13px;
    padding: 11px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
}

.dna-photo-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #CBD5E1;
    font-weight: 700;
    font-size: 12px;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==============================================================================
   MÓDULO DE INSPEÇÃO TÉCNICA 360° E PLANO DE REVISÕES DO VEÍCULO
   ============================================================================== */

.dna-insp-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
}

/* Segmented Control / Alternador de Sub-Abas */
.dna-insp-segmented-tabs {
    display: flex;
    background: rgba(5, 11, 20, 0.95);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.dna-insp-tab-btn {
    flex: 1;
    padding: 9px 12px;
    background: transparent;
    border: none;
    border-radius: 9px;
    color: #94A3B8;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.dna-insp-tab-btn.active {
    background: linear-gradient(135deg, #0066FF, #00D4FF);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
}

/* Card Cabeçalho do Laudo de Inspeção */
.dna-insp-header-card {
    background: radial-gradient(circle at 50% 20%, rgba(12, 30, 65, 0.95) 0%, rgba(6, 14, 28, 0.98) 100%);
    border: 1.5px solid rgba(0, 212, 255, 0.35);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dna-insp-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dna-insp-score-badge {
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid #00E676;
    color: #00E676;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dna-insp-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #050B14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
}

.dna-insp-meta-item {
    display: flex;
    flex-direction: column;
}

.dna-insp-meta-label {
    font-size: 9.5px;
    color: #94A3B8;
    text-transform: uppercase;
    font-weight: 700;
}

.dna-insp-meta-value {
    font-size: 11px;
    color: #FFFFFF;
    font-weight: 700;
    margin-top: 1px;
}

/* Card de Módulo Inspecionado (Motor, Freios, etc.) */
.dna-insp-module-card {
    background: rgba(8, 16, 32, 0.88);
    border: 1px solid rgba(0, 102, 255, 0.22);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dna-insp-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
}

.dna-insp-module-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dna-insp-module-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(0, 102, 255, 0.15);
    color: #00D4FF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-insp-module-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.dna-insp-status-tag {
    font-size: 9px;
    font-weight: 800;
    color: #00E676;
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid rgba(0, 230, 118, 0.4);
    padding: 2px 6px;
    border-radius: 6px;
}

.dna-insp-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dna-insp-item-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(5, 11, 20, 0.6);
    border-radius: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.dna-insp-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dna-insp-item-name {
    font-size: 11px;
    font-weight: 700;
    color: #E2E8F0;
}

.dna-insp-item-badge {
    font-size: 9.5px;
    font-weight: 800;
    color: #00E676;
    display: flex;
    align-items: center;
    gap: 3px;
}

.dna-insp-item-detail {
    font-size: 10px;
    color: #94A3B8;
    line-height: 1.35;
}

/* Card da Próxima Revisão Programada */
.dna-rev-next-card {
    background: linear-gradient(135deg, rgba(8, 20, 48, 0.95), rgba(5, 11, 24, 0.98));
    border: 1.5px solid #00D4FF;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.18);
}

.dna-rev-next-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dna-rev-next-pill {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid #00D4FF;
    color: #00D4FF;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}

.dna-rev-countdown-box {
    background: #050B14;
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dna-rev-countdown-left {
    display: flex;
    flex-direction: column;
}

.dna-rev-items-checklist {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dna-rev-item-check {
    font-size: 11px;
    color: #E2E8F0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.dna-rev-action-btn {
    background: linear-gradient(135deg, #0066FF, #00D4FF);
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 800;
    padding: 11px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
    transition: all 0.2s ease;
}

.dna-rev-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 212, 255, 0.5);
}

/* Card de Histórico de Revisão */
.dna-rev-history-card {
    background: rgba(8, 16, 32, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid #00E676;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dna-rev-history-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dna-rev-history-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.dna-rev-history-km {
    font-size: 10px;
    font-weight: 800;
    color: #00E676;
    background: rgba(0, 230, 118, 0.15);
    padding: 2px 6px;
    border-radius: 6px;
}

.dna-rev-history-summary {
    font-size: 11px;
    color: #CBD5E1;
    margin: 0;
    line-height: 1.4;
}

.dna-rev-history-footer {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #94A3B8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 6px;
    margin-top: 2px;
}

/* ==========================================================================
   PWA INSTALLATION MODAL & PLAY STORE STYLE PROMPT
   ========================================================================== */

.dna-pwa-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 600px) {
    .dna-pwa-modal-backdrop {
        align-items: center;
    }
}

.dna-pwa-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.dna-pwa-modal-sheet {
    width: 100%;
    max-width: 440px;
    background: #0B0F19;
    border: 1px solid rgba(255, 210, 28, 0.25);
    border-radius: 28px 28px 0 0;
    padding: 24px 20px 28px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 210, 28, 0.1);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    color: #FFFFFF;
    box-sizing: border-box;
}

@media (min-width: 600px) {
    .dna-pwa-modal-sheet {
        border-radius: 24px;
        transform: scale(0.92) translateY(20px);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .dna-pwa-modal-backdrop.active .dna-pwa-modal-sheet {
        transform: scale(1) translateY(0);
    }
}

.dna-pwa-modal-backdrop.active .dna-pwa-modal-sheet {
    transform: translateY(0);
}

.dna-pwa-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.dna-pwa-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38BDF8;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.dna-pwa-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #94A3B8;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dna-pwa-close-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
}

.dna-pwa-app-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 18px;
}

.dna-pwa-icon-wrapper {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}

.dna-pwa-app-icon {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    border: 1.5px solid rgba(255, 210, 28, 0.3);
    object-fit: cover;
}

.dna-pwa-verified-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 14px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.dna-pwa-app-meta {
    flex: 1;
    min-width: 0;
}

.dna-pwa-app-title {
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 2px;
    letter-spacing: -0.3px;
}

.dna-pwa-app-author {
    font-size: 11.5px;
    color: #94A3B8;
    margin: 0 0 8px;
}

.dna-pwa-tags-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.dna-pwa-tag-gold {
    background: rgba(255, 210, 28, 0.15);
    color: #FFD21C;
    border: 1px solid rgba(255, 210, 28, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
}

.dna-pwa-tag {
    background: rgba(255, 255, 255, 0.06);
    color: #CBD5E1;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
}

.dna-pwa-tag-green {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.dna-pwa-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.dna-pwa-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dna-pwa-benefit-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 210, 28, 0.1);
    color: #FFD21C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.dna-pwa-benefit-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dna-pwa-benefit-text strong {
    font-size: 12.5px;
    color: #FFFFFF;
    font-weight: 700;
}

.dna-pwa-benefit-text span {
    font-size: 11px;
    color: #94A3B8;
    line-height: 1.35;
}

.dna-pwa-ios-instructions {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 18px;
}

.dna-pwa-actions-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dna-pwa-install-btn {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: none;
    background: #FFD21C;
    color: #0B0F19;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 210, 28, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dna-pwa-install-btn:hover {
    background: #FFE066;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 210, 28, 0.45);
}

.dna-pwa-install-btn:active {
    transform: scale(0.98);
}

.dna-pwa-skip-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: color 0.2s;
}

.dna-pwa-skip-btn:hover {
    color: #CBD5E1;
}

.dna-pwa-toast-success {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background: #0B0F19;
    border: 1.5px solid #10B981;
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.2);
    z-index: 9999999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 90vw;
}

.dna-pwa-toast-success.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ====================================================================
   NOVOS ESTILOS: Inspeção Expansível, Filtros, Gastos, Multi-Veículos
   ==================================================================== */

/* Módulos de Inspeção Expansíveis (Accordion) */
.dna-insp-module {
    background: rgba(8, 16, 32, 0.85);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.dna-insp-module.expanded {
    border-color: rgba(0, 212, 255, 0.4);
}

.dna-insp-module-header {
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.dna-insp-module-header:hover {
    background: rgba(0, 102, 255, 0.06);
}

.dna-insp-module-header .dna-chevron {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #94A3B8;
    flex-shrink: 0;
}

.dna-insp-module.expanded .dna-chevron {
    transform: rotate(180deg);
    color: #00D4FF;
}

.dna-insp-module-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dna-insp-module.expanded .dna-insp-module-body {
    max-height: 600px;
}

.dna-insp-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    gap: 10px;
}

.dna-insp-detail-item:last-child {
    padding-bottom: 14px;
}

.dna-insp-detail-name {
    font-size: 12px;
    font-weight: 700;
    color: #CBD5E1;
    flex: 1;
}

.dna-insp-detail-info {
    font-size: 11px;
    color: #94A3B8;
    text-align: right;
    max-width: 55%;
    line-height: 1.4;
}

.dna-insp-detail-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 800;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 3px;
}

/* Filtros de Chips do Histórico — Estado Ativo */
.dna-history-filter-btn {
    background: rgba(15, 23, 42, 0.8);
    color: #94A3B8;
    font-weight: 600;
    font-size: 11.5px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dna-history-filter-btn:hover {
    background: rgba(0, 102, 255, 0.12);
    border-color: rgba(0, 102, 255, 0.3);
    color: #FFFFFF;
}

.dna-history-filter-btn.active {
    background: #0066FF;
    color: #FFFFFF;
    font-weight: 700;
    border-color: #0066FF;
}

/* Card de Resumo de Gastos (Últimos 6 meses) */
.dna-expense-summary {
    background: rgba(8, 16, 32, 0.85);
    border: 1px solid rgba(0, 102, 255, 0.22);
    border-radius: 14px;
    padding: 16px;
}

.dna-expense-summary-title {
    font-size: 11px;
    font-weight: 800;
    color: #CBD5E1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.dna-expense-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 12.5px;
}

.dna-expense-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dna-expense-label {
    color: #94A3B8;
    font-weight: 600;
}

.dna-expense-value {
    color: #FFFFFF;
    font-weight: 800;
    font-family: var(--font-mono, monospace);
}

.dna-expense-total {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.dna-expense-total .dna-expense-label {
    color: #00D4FF;
    font-weight: 800;
    font-size: 13px;
}

.dna-expense-total .dna-expense-value {
    color: #00D4FF;
    font-size: 16px;
    font-weight: 900;
}

/* Barra de Progresso Visual de Gastos */
.dna-expense-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.dna-expense-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Formulário de Inserir Outro Veículo */
.dna-add-vehicle-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dna-add-vehicle-form .dna-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dna-add-vehicle-form .dna-form-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #CBD5E1;
}

.dna-add-vehicle-form .dna-form-input {
    width: 100%;
    background: #050B14;
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #FFFFFF;
    font-family: inherit;
    transition: border-color 0.2s;
}

.dna-add-vehicle-form .dna-form-input:focus {
    outline: none;
    border-color: #00D4FF;
}

.dna-add-vehicle-form .dna-form-input::placeholder {
    color: #64748B;
}

/* Item de Serviço Clicável no Histórico */
.dna-history-item-clickable {
    background: rgba(8, 16, 32, 0.85);
    border: 1px solid rgba(0, 102, 255, 0.22);
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dna-history-item-clickable:hover {
    background: rgba(8, 16, 32, 0.95);
    border-color: rgba(0, 212, 255, 0.35);
}

.dna-history-item-clickable:active {
    transform: scale(0.99);
}

/* Serviço Realizado Card na Certificação */
.dna-service-done-card {
    background: rgba(8, 16, 32, 0.85);
    border: 1px solid rgba(0, 102, 255, 0.22);
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dna-service-done-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

/* ==============================================================================
   11. FLUXO DE ONBOARDING & AUTENTICAÇÃO (IMAGEM 1 - 12 TELAS)
   ============================================================================== */

.dna-auth-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 18px;
    overflow-y: auto;
    position: relative;
    background: radial-gradient(circle at 50% 10%, #0c1b36 0%, #070d18 70%);
}

.dna-auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dna-auth-back-btn {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.dna-auth-back-btn:hover {
    background: rgba(0, 102, 255, 0.25);
    border-color: #00D4FF;
}

.dna-auth-step-pill {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #00D4FF;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* ==============================================================================
   FLUXO DE AUTENTICAÇÃO / LOGIN FULLSCREEN (FIDELIDADE TOTAL À REFERÊNCIA)
   ============================================================================== */

:root {
    --blue: #078cff;
    --blue-light: #43b7ff;
    --blue-dark: #0067cf;
    --bg: #020a14;
    --panel: #03101d;
    --text: #f3f7fb;
    --muted: #b9c7d5;
    --border: #008cff;
    --radius: 18px;
}

/* 1. Tela Fullscreen do App */
.dna-auth-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #010A16 !important;
    background: linear-gradient(180deg, #010C1A 0%, #010712 50%, #000812 100%) !important;
    color: #f3f7fb;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
}

.dna-auth-fullscreen::before,
.dna-auth-fullscreen::after {
    display: none !important;
}

/* ═════════════════════════════════════════════════════════════════════
   TELAS COM IMAGEM DE FUNDO WALLPAPER (SPLASH SCREEN & LOGIN OFICIAL)
   ═════════════════════════════════════════════════════════════════════ */
.splash-layout {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    background: #010A16;
    background: linear-gradient(180deg, #010C1A 0%, #010712 40%, #000812 100%);
}

/* Imagem de Fundo Oficial do DNA AUTO (Enquadramento perfeito sem cortes em qualquer tela) */
.splash-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    z-index: 1;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Gradiente suave inferior para contraste refinado dos botões/campos sem cobrir o veículo */
.splash-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to top, rgba(1, 10, 22, 0.92) 0%, rgba(1, 10, 22, 0.45) 60%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Ações da Splash: 2 Botões com Safe-Area para Celular */
.splash-actions {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 390px;
    padding: 0 20px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 12px));
    margin-bottom: clamp(16px, 2.5vh, 28px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

/* Botões Padrão DNA AUTO (Splash & Login) */
.splash-actions .btn,
.dna-auth-fullscreen .btn {
    width: 100%;
    height: 52px;
    min-height: 52px;
    border-radius: 9999px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.splash-actions .btn:active,
.dna-auth-fullscreen .btn:active {
    transform: scale(0.97);
}

/* Botão 1: ENTRAR (Azul Elétrico Neon Primário) */
.splash-actions .btn-entrar,
.dna-auth-fullscreen .btn-entrar {
    background: linear-gradient(135deg, #0084FF 0%, #0055D4 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 
        0 6px 24px rgba(0, 102, 255, 0.55),
        0 0 0 1px rgba(0, 212, 255, 0.4) inset !important;
    position: relative;
    overflow: hidden;
}

.splash-actions .btn-entrar:hover,
.dna-auth-fullscreen .btn-entrar:hover {
    box-shadow: 
        0 8px 30px rgba(0, 132, 255, 0.75),
        0 0 0 1.5px rgba(0, 212, 255, 0.6) inset !important;
    transform: translateY(-1px);
}

/* Botão Entrar específico da tela de login (Raio de curvatura cyber-pill) */
.dna-auth-fullscreen .btn-entrar-login {
    height: 54px !important;
    min-height: 54px !important;
    border-radius: 16px !important;
    font-size: 16.5px !important;
    box-shadow: 
        0 8px 28px rgba(0, 102, 255, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

/* Botão 2: CADASTRAR (Contorno Neon Cyan Glassmorphism) */
.splash-actions .btn-cadastrar,
.dna-auth-fullscreen .btn-cadastrar {
    background: rgba(3, 12, 26, 0.82) !important;
    border: 2px solid #00D4FF !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.55),
        0 0 16px rgba(0, 212, 255, 0.2),
        inset 0 0 12px rgba(0, 212, 255, 0.12) !important;
}

.splash-actions .btn-cadastrar:hover,
.dna-auth-fullscreen .btn-cadastrar:hover {
    background: rgba(0, 180, 255, 0.16) !important;
    box-shadow: 
        0 6px 26px rgba(0, 212, 255, 0.42),
        inset 0 0 16px rgba(0, 212, 255, 0.22) !important;
    transform: translateY(-1px);
}

/* ═════════════════════════════════════════════════════════════════════
   FORMULÁRIO DA TELA DE LOGIN (MODELO EXATO DA REFERÊNCIA)
   ═════════════════════════════════════════════ */
.login-form-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 390px;
    padding: 0 20px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 12px));
    margin-bottom: clamp(16px, 2.5vh, 28px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.login-fields-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Pílula de Input Cyberpunk (Campos E-mail e Senha) */
.cyber-input-pill {
    width: 100%;
    height: 54px;
    min-height: 54px;
    border-radius: 16px;
    background: rgba(3, 14, 30, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid #0099FF;
    box-shadow: 
        0 0 16px rgba(0, 153, 255, 0.2),
        inset 0 0 10px rgba(0, 153, 255, 0.08);
    display: flex;
    align-items: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    position: relative;
}

.cyber-input-pill:focus-within {
    border-color: #00D4FF;
    box-shadow: 
        0 0 24px rgba(0, 212, 255, 0.45),
        inset 0 0 14px rgba(0, 212, 255, 0.15);
    background: rgba(4, 18, 38, 0.9);
}

/* Ícone à Esquerda */
.pill-icon-left {
    width: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00D4FF;
    flex-shrink: 0;
}

/* Divisor Vertical Interno */
.pill-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 180, 255, 0.4);
    flex-shrink: 0;
}

/* Campo de Texto Interno */
.pill-input {
    flex: 1;
    height: 100%;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #FFFFFF !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 0 14px !important;
    box-sizing: border-box;
    box-shadow: none !important;
}

.pill-input::placeholder {
    color: #7E9EBE;
    font-size: 15px;
    font-weight: 400;
    opacity: 1;
}

/* Ícone Toggle Senha à Direita */
.pill-icon-right {
    width: 46px;
    min-width: 46px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00B4D8;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.pill-icon-right:hover {
    color: #00F0FF;
    transform: scale(1.08);
}

/* Linha de Opções (Lembrar de mim / Esqueceu a senha) */
.login-options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2px 4px 6px 4px;
    box-sizing: border-box;
}

/* Checkbox Estilizado */
.remember-checkbox-label {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    user-select: none;
}

.cyber-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 1.5px solid #0099FF;
    border-radius: 4px;
    background: rgba(3, 14, 30, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
    position: relative;
}

.cyber-checkbox:checked ~ .custom-checkbox {
    background: #0084FF;
    border-color: #00D4FF;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.cyber-checkbox:checked ~ .custom-checkbox::after {
    content: "";
    width: 4px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.remember-text {
    color: #B5CEE6;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.1px;
}

/* Link Esqueceu a Senha */
.forgot-link {
    color: #00A3FF;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.forgot-link:hover {
    color: #38C7FF;
    text-shadow: 0 0 12px rgba(0, 180, 255, 0.6);
}

/* Botão Voltar Discreto no Topo Esquerdo da Tela de Login */
.login-back-btn {
    position: absolute;
    top: clamp(16px, 2.8vh, 26px);
    left: clamp(16px, 3.5vw, 22px);
    z-index: 25;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(3, 12, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.login-back-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00D4FF;
    transform: translateX(-2px);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
}

/* Ajuste Responsivo para Desktop (Mantendo proporção de App Mobile) */
@media (min-width: 601px) {
    .dna-auth-fullscreen .splash-layout {
        width: 100%;
        max-width: 440px;
        height: min(920px, calc(100dvh - 32px));
        border-radius: 36px;
        border: 1px solid rgba(0, 212, 255, 0.25);
        box-shadow: 
            0 25px 70px rgba(0, 0, 0, 0.9),
            0 0 50px rgba(0, 102, 255, 0.3);
    }
}

/* ═════════════════════════════════════════════════════════════════════
   TELA DE CADASTRO OFICIAL (NOVO LAYOUT CYBER COM HUD DE VERIFICAÇÃO VEICULAR)
   ═════════════════════════════════════════════════════════════════════ */
.splash-layout.register-layout {
    justify-content: flex-start !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    height: 100% !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding-top: 0 !important;
    padding-bottom: calc(36px + env(safe-area-inset-bottom, 16px)) !important;
}

.splash-bg-fixed {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center top !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Header Fixo da Tela de Cadastro */
.register-header-bar {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 30 !important;
    width: 100% !important;
    max-width: 440px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: clamp(14px, 2.5vh, 20px) 20px 10px !important;
    background: linear-gradient(180deg, rgba(1, 10, 22, 0.95) 0%, rgba(1, 10, 22, 0.75) 60%, transparent 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-sizing: border-box !important;
}

.register-header-bar .login-back-btn {
    position: static !important;
    margin: 0 !important;
}

.register-top-brand {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(3, 14, 30, 0.75) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.register-logo-img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6)) !important;
}

.register-logo-text {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: 0.5px !important;
}

/* Container do Formulário de Cadastro Cyber */
.register-form-container {
    position: relative !important;
    z-index: 20 !important;
    width: 100% !important;
    max-width: 440px !important;
    padding: 10px 20px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.register-title-box {
    margin-bottom: 18px !important;
    text-align: left !important;
}

.register-title {
    font-size: clamp(22px, 3.2vh, 26px) !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin: 0 0 6px !important;
    letter-spacing: -0.3px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.register-subtitle {
    font-size: 13px !important;
    color: #94A3B8 !important;
    margin: 0 !important;
    line-height: 1.45 !important;
}

.register-fields-form {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 13px !important;
}

.form-field-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
}

.field-label-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.cyber-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #E2E8F0 !important;
    margin: 0 !important;
}

.cyber-badge-official {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #00D4FF !important;
    background: rgba(0, 212, 255, 0.12) !important;
    border: 1px solid rgba(0, 212, 255, 0.35) !important;
    padding: 3px 10px !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}

.cyber-badge-official:hover {
    background: rgba(0, 212, 255, 0.25) !important;
    border-color: #00D4FF !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4) !important;
}

.cyber-badge-official .pulse-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #00E676 !important;
    box-shadow: 0 0 8px #00E676 !important;
    animation: pulse 1.5s infinite !important;
}

/* Input Especial de Placa */
.plate-input-pill {
    border-color: #00B4D8 !important;
}

.pill-plate-flag {
    width: 48px !important;
    min-width: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.flag-br-badge {
    background: linear-gradient(135deg, #003399 0%, #001A66 100%) !important;
    color: #FFFFFF !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(0, 212, 255, 0.5) !important;
    letter-spacing: 0.5px !important;
}

.plate-cyber-input {
    font-family: 'SF Pro Display', 'Outfit', monospace !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #00D4FF !important;
    font-size: 17px !important;
}

.plate-indicator-box {
    width: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cyber-helper-text {
    font-size: 11px !important;
    color: #64748B !important;
    line-height: 1.35 !important;
    margin-top: 2px !important;
}

/* ═════════════════════════════════════════════════════════════════════
   PAINEL DE AUDITORIA CADASTRAL & BARRAS DE VERIFICAÇÃO (HUD CHECKS)
   ═════════════════════════════════════════════════════════════════════ */
.cyber-verification-hud {
    width: 100% !important;
    background: linear-gradient(145deg, rgba(3, 16, 36, 0.95) 0%, rgba(2, 10, 24, 0.98) 100%) !important;
    border: 1.5px solid rgba(0, 212, 255, 0.45) !important;
    border-radius: 18px !important;
    padding: 16px !important;
    box-shadow: 
        0 12px 36px rgba(0, 0, 0, 0.85),
        0 0 25px rgba(0, 153, 255, 0.22),
        inset 0 0 16px rgba(0, 212, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-sizing: border-box !important;
    margin: 4px 0 10px !important;
    animation: fadeInScale 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.cyber-verification-hud::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 2.5px !important;
    background: linear-gradient(90deg, #0084FF 0%, #00D4FF 50%, #00E676 100%) !important;
}

.hud-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.hud-status-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #00D4FF !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
}

.hud-pulse-radar {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #00E676 !important;
    box-shadow: 0 0 10px #00E676 !important;
    animation: pulse 1.2s infinite !important;
}

.hud-origin-tag {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #94A3B8 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
}

/* Card Principal do Veículo */
.hud-hero-box {
    background: rgba(2, 8, 20, 0.88) !important;
    border: 1px solid rgba(0, 212, 255, 0.22) !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    margin-bottom: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.hud-hero-info {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.hud-plate-tag {
    display: inline-flex !important;
    align-items: center !important;
    background: #FFFFFF !important;
    color: #0B0F19 !important;
    border-radius: 5px !important;
    border: 1.5px solid #000000 !important;
    overflow: hidden !important;
    font-family: monospace !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
}

.hud-br-flag {
    background: #003399 !important;
    color: #FFFFFF !important;
    font-size: 8.5px !important;
    padding: 2px 5px !important;
    font-weight: 900 !important;
}

.hud-plate-code {
    padding: 2px 7px !important;
    letter-spacing: 1px !important;
}

.hud-hero-titles {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
    text-align: left !important;
}

.hud-car-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-family: 'Outfit', sans-serif !important;
}

.hud-car-version {
    font-size: 12px !important;
    color: #94A3B8 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* FIPE Destaque */
.hud-fipe-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.14) 0%, rgba(0, 153, 255, 0.09) 100%) !important;
    border: 1px solid rgba(0, 230, 118, 0.4) !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.fipe-label {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    color: #00E676 !important;
    letter-spacing: 0.5px !important;
}

.fipe-value {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.4) !important;
}

.fipe-ref {
    font-size: 10px !important;
    color: #94A3B8 !important;
    width: 100% !important;
    text-align: left !important;
}

/* Lista de Barras de Verificação com Checks */
.hud-checklist-bars {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    margin-bottom: 12px !important;
}

.check-bar-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgba(3, 14, 30, 0.72) !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
}

.check-bar-item.done {
    border-left: 3.5px solid #00E676 !important;
    background: rgba(3, 16, 34, 0.82) !important;
}

.check-icon-box {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border-radius: 50% !important;
    background: rgba(0, 230, 118, 0.18) !important;
    border: 1.5px solid #00E676 !important;
    color: #00E676 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.35) !important;
}

.check-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
    min-width: 0 !important;
    flex: 1 !important;
}

.check-row-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.check-label {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #94A3B8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.check-status-badge {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    color: #00E676 !important;
    background: rgba(0, 230, 118, 0.12) !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(0, 230, 118, 0.25) !important;
}

.check-status-badge.highlight-blue {
    color: #00D4FF !important;
    background: rgba(0, 212, 255, 0.12) !important;
    border-color: rgba(0, 212, 255, 0.25) !important;
}

.check-value {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.hud-footer-success {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(0, 230, 118, 0.08) !important;
    border: 1px solid rgba(0, 230, 118, 0.28) !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    font-size: 11.5px !important;
    color: #6EE7B7 !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

/* 2. Container Box de Login e Cadastro (Snippets 1 e 3) */
.dna-auth-box-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
}

.dna-auth-box,
.box.dna-auth-box {
    width: min(94%, 430px) !important;
    padding: clamp(24px, 4vh, 32px) clamp(20px, 3.5vw, 26px) !important;
    border: 1px solid rgba(0, 180, 255, 0.28) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(8, 17, 34, 0.94) 0%, rgba(4, 10, 22, 0.98) 100%) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 35px rgba(0, 102, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 20 !important;
    color: #FFFFFF !important;
}

.dna-auth-box h1,
.box.dna-auth-box h1 {
    text-align: left !important;
    margin: 0 0 6px !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    letter-spacing: -0.2px !important;
}

.dna-auth-box .auth-subtitle,
.box.dna-auth-box .auth-subtitle {
    text-align: left !important;
    font-size: 13px !important;
    color: #94A3B8 !important;
    margin: 0 0 20px !important;
    line-height: 1.45 !important;
}

/* Botão Voltar Discreto (Compacto, Elegante e Minimalista) */
.btn-back-discrete,
.box .btn-back-discrete,
.dna-auth-box .btn-back-discrete {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #94A3B8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
}

.btn-back-discrete:hover,
.box .btn-back-discrete:hover,
.dna-auth-box .btn-back-discrete:hover {
    background: rgba(0, 212, 255, 0.14) !important;
    border-color: rgba(0, 212, 255, 0.45) !important;
    color: #00D4FF !important;
    transform: translateX(-2px) !important;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.3) !important;
}

.btn-back-discrete:active,
.box .btn-back-discrete:active,
.dna-auth-box .btn-back-discrete:active {
    transform: scale(0.92) !important;
}

.dna-auth-box label,
.box.dna-auth-box label {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 12px 0 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #E2E8F0 !important;
    text-align: left !important;
}

.dna-auth-box input,
.box.dna-auth-box input {
    width: 100% !important;
    height: 48px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 140, 255, 0.28) !important;
    background: rgba(4, 12, 24, 0.85) !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
    font-family: inherit !important;
}

.dna-auth-box input:focus,
.box.dna-auth-box input:focus {
    border-color: #00D4FF !important;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.35) !important;
    background: rgba(6, 18, 38, 0.95) !important;
}

/* Campo Especial de Placa */
.dna-auth-box input.input-placa,
.box.dna-auth-box input.input-placa {
    font-family: 'SF Pro Display', 'Outfit', monospace !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #00D4FF !important;
    font-size: 16.5px !important;
}

/* Card Dinâmico de Veículo Puxado pelo Sistema DNA AUTO */
.vehicle-preview-card {
    margin: 12px 0 16px !important;
    background: linear-gradient(145deg, rgba(3, 20, 42, 0.95) 0%, rgba(5, 14, 28, 0.98) 100%) !important;
    border: 1px solid rgba(0, 212, 255, 0.45) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25), inset 0 0 16px rgba(0, 212, 255, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: left !important;
    animation: fadeInScale 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.vehicle-preview-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 4px !important;
    height: 100% !important;
    background: linear-gradient(180deg, #00D4FF 0%, #0066FF 100%) !important;
}

.vpc-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
}

.vpc-plate-pill {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(0, 212, 255, 0.5) !important;
    border-radius: 6px !important;
    padding: 2px 8px !important;
    font-family: monospace !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    color: #FFFFFF !important;
}

.vpc-badge-dna {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #00E676 !important;
    background: rgba(0, 230, 118, 0.12) !important;
    border: 1px solid rgba(0, 230, 118, 0.3) !important;
    padding: 3px 8px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.vpc-model {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
}

.vpc-specs {
    font-size: 12px !important;
    color: #94A3B8 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
}

.vpc-specs span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.vpc-specs b {
    color: #E2E8F0 !important;
}

.vpc-dna-code {
    font-size: 11px !important;
    color: #00D4FF !important;
    font-family: monospace !important;
    background: rgba(0, 212, 255, 0.08) !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    margin-bottom: 6px !important;
}

.vpc-success-msg {
    font-size: 11.5px !important;
    color: #38BDF8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-top: 8px !important;
    margin-top: 6px !important;
    line-height: 1.35 !important;
}

/* Botões de Ação Específicos */
.dna-auth-box button[type="submit"],
.box.dna-auth-box button[type="submit"],
.btn-submit-dna {
    width: 100% !important;
    height: 50px !important;
    margin-top: 16px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #0084FF 0%, #0055D4 100%) !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 22px rgba(0, 102, 255, 0.5) !important;
    transition: all .2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.dna-auth-box button[type="submit"]:hover,
.box.dna-auth-box button[type="submit"]:hover,
.btn-submit-dna:hover {
    background: linear-gradient(135deg, #1A92FF 0%, #0066FF 100%) !important;
    box-shadow: 0 6px 26px rgba(0, 132, 255, 0.65) !important;
    transform: translateY(-1px) !important;
}

.dna-auth-box button[type="submit"]:active,
.box.dna-auth-box button[type="submit"]:active,
.btn-submit-dna:active {
    transform: scale(0.985) !important;
}

.dna-auth-box button[type="submit"]:disabled,
.box.dna-auth-box button[type="submit"]:disabled,
.btn-submit-dna:disabled {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.dna-auth-box a,
.box.dna-auth-box a {
    display: inline-block !important;
    color: #00D4FF !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
}

.dna-auth-box a:hover,
.box.dna-auth-box a:hover {
    text-decoration: underline !important;
    color: #70E0FF !important;
}

/* Campos de Formulário Onboarding */
.dna-auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.dna-auth-input-label {
    font-size: 11.5px;
    font-weight: 800;
    color: #CBD5E1;
    display: flex;
    justify-content: space-between;
}

.dna-auth-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.dna-auth-input-box input {
    width: 100%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(0, 102, 255, 0.28);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: #FFFFFF;
    font-family: inherit;
    transition: all 0.2s ease;
}

.dna-auth-input-box input:focus {
    outline: none;
    border-color: #00D4FF;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    background: rgba(15, 23, 42, 1);
}

.dna-auth-input-box input::placeholder {
    color: #64748B;
}

.dna-auth-input-box.with-eye input {
    padding-right: 42px;
}

.dna-auth-eye-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-auth-eye-btn:hover {
    color: #00D4FF;
}

/* Radar de Busca da Placa (Tela 04) */
.dna-radar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 10px 20px;
}

.dna-radar-circle-box {
    width: 150px;
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.dna-radar-pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 212, 255, 0.6);
    animation: dnaRadarPulse 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.dna-radar-pulse-ring:nth-child(1) { width: 60px; height: 60px; animation-delay: 0s; }
.dna-radar-pulse-ring:nth-child(2) { width: 105px; height: 105px; animation-delay: 0.6s; }
.dna-radar-pulse-ring:nth-child(3) { width: 150px; height: 150px; animation-delay: 1.2s; }

.dna-radar-center-core {
    width: 44px;
    height: 44px;
    background: radial-gradient(circle, #00D4FF 0%, #0066FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #070D18;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

@keyframes dnaRadarPulse {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.dna-radar-checklist {
    width: 100%;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dna-radar-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #CBD5E1;
    font-weight: 600;
}

.dna-radar-step-item.done {
    color: #00E676;
}

.dna-radar-step-item.loading {
    color: #00D4FF;
}

/* Card de Veículo Encontrado (Tela 05) */
.dna-vehicle-found-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1.5px solid rgba(0, 212, 255, 0.4);
    border-radius: 16px;
    overflow: hidden;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.dna-found-car-thumb {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dna-found-car-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dna-found-plate-badge {
    background: #FFFFFF;
    color: #0B0F19;
    font-family: var(--font-mono, monospace);
    font-weight: 900;
    font-size: 14px;
    border-radius: 6px;
    padding: 3px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid #000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    margin-bottom: 8px;
}

.dna-fipe-badge {
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid rgba(0, 230, 118, 0.35);
    color: #00E676;
    font-weight: 900;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Círculo de Sucesso do Cadastro (Tela 08) */
.dna-success-circle-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.3) 0%, rgba(0, 230, 118, 0.05) 70%);
    border: 2px solid #00E676;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00E676;
    margin: 0 auto 20px;
    box-shadow: 0 0 28px rgba(0, 230, 118, 0.5);
    animation: dnaSuccessBounce 0.6s ease;
}

@keyframes dnaSuccessBounce {
    0% { transform: scale(0.3); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* ==============================================================================
   12. REFINAMENTOS VISUAIS DO APP DO CLIENTE (IMAGEM 2 - 11 TELAS)
   ============================================================================== */

/* Grid 2x2 da Home */
.dna-home-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0;
}

.dna-home-grid-card {
    background: rgba(8, 16, 32, 0.88);
    border: 1px solid rgba(0, 102, 255, 0.22);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dna-home-grid-card:hover {
    border-color: rgba(0, 212, 255, 0.45);
    background: rgba(12, 22, 42, 0.95);
    transform: translateY(-1px);
}

.dna-grid-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.dna-grid-card-title {
    font-size: 10.5px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
}

.dna-grid-card-val {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
}

/* ══════════════════════════════════════════════════════════════════════════
   GRADE DE CARDS DE ACESSO RÁPIDO DO CLIENTE (ESTRUTURA ORIGINAL MODERNIZADA)
   ══════════════════════════════════════════════════════════════════════════ */
.dna-client-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin: 14px 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 340px) {
    .dna-client-actions-grid {
        grid-template-columns: 1fr;
    }
}

.dna-client-action-card {
    border-radius: 16px;
    padding: 14px 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 126px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.18s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
    user-select: none;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
}

.dna-client-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.28);
}

.dna-client-action-card:active {
    transform: scale(0.97);
}

.dna-client-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

/* Cores e Gradientes dos Cards Modernizados */
.dna-card-blue {
    background: linear-gradient(145deg, #0052cc 0%, #0066FF 60%, #0284c7 100%);
    box-shadow: 0 8px 22px rgba(0, 102, 255, 0.32);
}

.dna-card-green {
    background: linear-gradient(145deg, #047857 0%, #10B981 60%, #059669 100%);
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.3);
}

.dna-card-purple {
    background: linear-gradient(145deg, #4f46e5 0%, #6366f1 60%, #7c3aed 100%);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.3);
}

.dna-card-amber {
    background: linear-gradient(145deg, #d97706 0%, #f59e0b 60%, #ea580c 100%);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.3);
}

.dna-card-cyan {
    background: linear-gradient(145deg, #0891b2 0%, #06b6d4 60%, #00d4ff 100%);
    box-shadow: 0 8px 22px rgba(6, 182, 212, 0.3);
}

.dna-card-indigo {
    background: linear-gradient(145deg, #3730a3 0%, #4f46e5 60%, #6366f1 100%);
    box-shadow: 0 8px 22px rgba(79, 70, 229, 0.3);
}

.dna-card-emerald {
    background: linear-gradient(145deg, #065f46 0%, #059669 60%, #10b981 100%);
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.3);
}

.dna-card-gold {
    background: linear-gradient(145deg, #b45309 0%, #d97706 60%, #f59e0b 100%);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.3);
}

.dna-card-teal {
    background: linear-gradient(145deg, #0f766e 0%, #0d9488 60%, #14b8a6 100%);
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.3);
}

.dna-card-slate {
    background: linear-gradient(145deg, #1e293b 0%, #334155 60%, #475569 100%);
    box-shadow: 0 8px 22px rgba(51, 65, 85, 0.3);
}

.dna-card-violet {
    background: linear-gradient(145deg, #5b21b6 0%, #7c3aed 60%, #8b5cf6 100%);
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.3);
}

.dna-client-card-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: #FFFFFF;
    flex-shrink: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dna-client-card-badge {
    background: rgba(0, 0, 0, 0.35);
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dna-client-card-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 8px 0 2px;
    line-height: 1.25;
    letter-spacing: -0.2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.dna-client-card-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.35;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Cards de Alertas Categorizados por Severidade (Tela 09) */
.dna-alert-card {
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    position: relative;
    border-left: 4px solid transparent;
}

.dna-alert-card.urgent {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-left: 4px solid #EF4444;
}

.dna-alert-card.attention {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-left: 4px solid #F59E0B;
}

.dna-alert-card.ok {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-left: 4px solid #10B981;
}

.dna-alert-badge {
    font-size: 9.5px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
}

.dna-alert-card.urgent .dna-alert-badge { background: #EF4444; color: #FFFFFF; }
.dna-alert-card.attention .dna-alert-badge { background: #F59E0B; color: #070D18; }
.dna-alert-card.ok .dna-alert-badge { background: #10B981; color: #FFFFFF; }

/* Oficinas da Rede Credenciada (Tela 10) */
.dna-workshops-search-bar {
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #FFFFFF;
    font-family: inherit;
    margin-bottom: 12px;
}

.dna-workshops-search-bar:focus {
    outline: none;
    border-color: #00D4FF;
}

.dna-workshops-filter-chips {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.dna-workshop-card {
    background: rgba(8, 16, 32, 0.88);
    border: 1px solid rgba(0, 102, 255, 0.22);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dna-workshop-card:hover {
    border-color: #00D4FF;
    background: rgba(12, 22, 42, 0.95);
}

.dna-workshop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dna-workshop-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.dna-workshop-stars {
    color: #FFD700;
    font-size: 11.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Mostradores Circulares do Painel OBD2 */
.dna-obd-dials-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin: 14px 0;
}

.dna-obd-dial-box {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 12px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dna-obd-dial-circle {
    width: 62px;
    height: 62px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.dna-obd-dial-circle svg {
    transform: rotate(-90deg);
}

.dna-obd-dial-val-text {
    position: absolute;
    font-size: 11px;
    font-weight: 900;
    color: #FFFFFF;
}

.dna-obd-dial-label {
    font-size: 9.5px;
    color: #94A3B8;
    font-weight: 700;
    text-transform: uppercase;
}

/* 11. Telas de Autenticação / Onboarding / Splash — Travamento Total Anti-Scroll */
.dna-auth-screen {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    box-sizing: border-box;
}

.dna-splash-screen {
    overflow: hidden !important;
    height: 100% !important;
    max-height: 100% !important;
    overscroll-behavior: none !important;
}

/* ==============================================================================
   MAPA DE SERVIÇOS & COMPROVAÇÃO DE PEÇAS E NOTA FISCAL (PROFISSIONAL EM BLOCOS)
   ============================================================================== */

.dna-service-map-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dna-service-map-card {
    background: linear-gradient(160deg, #101B30 0%, #09101E 100%);
    border: 1px solid rgba(0, 102, 255, 0.22);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dna-service-map-card:hover {
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.12);
}

/* BLOCO 1: Cabeçalho (Data, Oficina e KM) */
.dna-srv-header-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 10px;
}

.dna-srv-header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dna-srv-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #00D4FF;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-mono, monospace);
}

.dna-srv-workshop-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #CBD5E1;
    font-size: 11.5px;
    font-weight: 600;
}

.dna-srv-km-badge {
    background: rgba(0, 212, 255, 0.12);
    color: #00D4FF;
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    font-family: var(--font-mono, monospace);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* BLOCO 2: Serviço Executado (Título, Descrição e Peças) */
.dna-srv-content-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dna-srv-block-tag {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748B;
}

.dna-srv-title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.4;
}

.dna-srv-desc {
    font-size: 12px;
    color: #94A3B8;
    line-height: 1.45;
    margin: 3px 0 0 0;
}

.dna-srv-parts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.dna-srv-part-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 11px;
    color: #CBD5E1;
    font-weight: 500;
}

/* BLOCO 3: Preço / Financeiro */
.dna-srv-price-block {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.09) 0%, rgba(5, 150, 105, 0.04) 100%);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.dna-srv-price-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dna-srv-price-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94A3B8;
}

.dna-srv-price-sub {
    font-size: 10px;
    color: #64748B;
}

.dna-srv-price-amount {
    font-size: 17px;
    font-weight: 800;
    color: #10B981;
    font-family: var(--font-mono, monospace);
    letter-spacing: 0.3px;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
    white-space: nowrap;
}

/* BLOCO 4: Comprovantes (Foto e Nota Fiscal) */
.dna-srv-proofs-block {
    background: rgba(11, 19, 35, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 11px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dna-srv-proofs-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #00D4FF;
}

.dna-srv-proofs-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.dna-srv-btn-proof {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 46px;
}

.dna-srv-btn-photo {
    border-color: rgba(0, 212, 255, 0.32);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 212, 255, 0.06) 100%);
    color: #00D4FF;
}

.dna-srv-btn-photo:hover, .dna-srv-btn-photo:active {
    border-color: #00D4FF;
    background: rgba(0, 212, 255, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.dna-srv-btn-invoice {
    border-color: rgba(16, 185, 129, 0.32);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.06) 100%);
    color: #10B981;
}

.dna-srv-btn-invoice:hover, .dna-srv-btn-invoice:active {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.dna-srv-btn-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow: hidden;
}

.dna-srv-btn-text strong {
    font-size: 12px;
    font-weight: 700;
    color: #F8FAFC;
    white-space: nowrap;
}

.dna-srv-btn-text small {
    font-size: 9.5px;
    color: #94A3B8;
    white-space: nowrap;
}

@media (max-width: 360px) {
    .dna-srv-proofs-actions {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   DNA AUTO — ESTILOS DO CARD BLOQUEADO (MINI OBD2 EM BREVE) & MANUTENÇÃO PREDITIVA
   ───────────────────────────────────────────────────────────────────────────── */
.dna-card-locked {
    filter: grayscale(25%) brightness(0.92);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

.dna-card-locked:hover {
    border-color: rgba(0, 212, 255, 0.4) !important;
    transform: translateY(-2px);
}

.dna-card-badge-soon {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #FBBF24 !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    font-size: 10px !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Card Principal de Manutenção Preditiva & Estimativa de Uso */
.dna-pred-card {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 16, 32, 0.98) 100%);
    border: 1px solid rgba(0, 102, 255, 0.35);
    border-radius: 18px;
    padding: 16px;
    margin: 12px 0 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 18px rgba(0, 102, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.dna-pred-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066FF, #00D4FF, #00E676);
}

.dna-pred-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dna-pred-title-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dna-pred-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.dna-pred-status-badge.paused {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
    border-color: rgba(245, 158, 11, 0.3);
}

.dna-pred-status-badge.permission {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.dna-pred-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 6px currentColor;
}

.dna-pred-main-item {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.dna-pred-item-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.dna-pred-item-desc {
    font-size: 11.5px;
    color: #94A3B8;
    line-height: 1.4;
}

.dna-pred-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.dna-pred-metric-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px;
}

.dna-pred-metric-label {
    font-size: 10px;
    color: #64748B;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

.dna-pred-metric-val {
    font-size: 13px;
    font-weight: 800;
    color: #E2E8F0;
}

.dna-pred-actions-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dna-pred-btn-confirm {
    flex: 1;
    background: linear-gradient(135deg, #0066FF, #0052cc);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.dna-pred-btn-confirm:hover {
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
    transform: translateY(-1px);
}

.dna-pred-btn-schedule {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #00D4FF;
    font-size: 11.5px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.dna-pred-btn-schedule:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: #00D4FF;
}

/* ==============================================================================
   ESTILOS OFICIAIS DO APP DO CLIENTE (10 TELAS - FIEL AO PRINT DO USUÁRIO)
   1. Splash | 2. Login | 3. Cadastro | 4. Dashboard | 5. Mini OBD (Bloqueado)
   6. Serviços & Peças | 7. Revisões | 8. Alertas | 9. Gastos | 10. Oficinas
   ============================================================================== */

/* Viewport & Body Padrão Claro Apple/iOS */
body.is-owner-app {
    background: #F4F6FA !important;
    color: #0F172A !important;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', Roboto, sans-serif !important;
}

body.is-owner-app .dna-app-viewport {
    background: #F4F6FA !important;
    color: #0F172A !important;
}

body.is-owner-app .dna-phone-frame {
    background: #F4F6FA !important;
    color: #0F172A !important;
}

/* Header Superior Fiel ao Print */
.dna-print-header {
    height: 54px;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.dna-print-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dna-print-header-center {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.5px;
    color: #0F172A;
}

.dna-print-header-center svg {
    filter: drop-shadow(0 2px 4px rgba(0, 102, 255, 0.3));
}

.dna-print-header-center span.brand-auto {
    color: #0066FF;
}

.dna-print-header-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0F172A;
    transition: background 0.15s ease;
    position: relative;
}

.dna-print-header-btn:hover {
    background: #F1F5F9;
}

.dna-print-header-btn .bell-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    border: 1.5px solid #FFFFFF;
}

/* Scroll Content */
.dna-print-scroll-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 16px 84px 16px;
    background: #F4F6FA;
    -webkit-overflow-scrolling: touch;
}

/* Saudação no Topo */
.dna-print-greeting {
    margin-bottom: 16px;
}

.dna-print-greeting h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 2px 0;
    line-height: 1.25;
}

.dna-print-greeting p {
    font-size: 13px;
    color: #64748B;
    margin: 0;
    font-weight: 500;
}

/* Card Principal do Veículo Ativo (Toyota Corolla) */
.dna-print-car-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.dna-print-car-card:active {
    transform: scale(0.985);
}

.dna-print-car-thumb {
    width: 64px;
    height: 42px;
    border-radius: 8px;
    object-fit: contain;
    background: #F8FAFC;
    flex-shrink: 0;
}

.dna-print-car-info {
    flex: 1;
    min-width: 0;
}

.dna-print-car-title {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dna-print-car-subtitle {
    font-size: 12px;
    color: #64748B;
    margin: 0;
    font-weight: 500;
}

.dna-print-car-chevron {
    color: #94A3B8;
    flex-shrink: 0;
}

/* Grade de 6 Cards da Dashboard (2 Colunas x 3 Linhas) */
.dna-print-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.dna-print-grid-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 112px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    user-select: none;
}

.dna-print-grid-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.dna-print-grid-card:active {
    transform: scale(0.97);
}

.dna-print-card-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
}

.dna-print-card-icon-wrap.blue {
    background: #EFF6FF;
    color: #0066FF;
}

.dna-print-card-icon-wrap.green {
    background: #ECFDF5;
    color: #10B981;
}

.dna-print-card-icon-wrap.gray {
    background: #F1F5F9;
    color: #475569;
}

.dna-print-card-icon-wrap .card-red-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #FFFFFF;
}

.dna-print-card-name {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 3px 0;
    line-height: 1.25;
}

.dna-print-card-meta {
    font-size: 11.5px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.dna-print-card-meta.blue {
    color: #0066FF;
}

.dna-print-card-meta.green {
    color: #10B981;
}

.dna-print-card-meta.red {
    color: #EF4444;
}

.dna-print-card-meta.gray {
    color: #64748B;
    font-weight: 500;
}

.dna-print-card-value-big {
    font-size: 13.5px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.dna-print-card-badge-soon {
    display: inline-block;
    background: #FEF3C7;
    color: #B45309;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 9999px;
}

/* Barra de Navegação Inferior (4 Itens: Início, Veículo, Alertas, Perfil) */
.dna-print-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    z-index: 60;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.03);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.dna-print-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    color: #94A3B8;
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 600;
    transition: color 0.15s ease;
    user-select: none;
}

.dna-print-nav-item.active {
    color: #0066FF;
}

.dna-print-nav-item svg {
    transition: transform 0.15s ease;
}

.dna-print-nav-item:active svg {
    transform: scale(0.9);
}

/* Estilos de Sub-Telas (5 a 10) */
.dna-print-page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.dna-print-page-title {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.dna-print-page-sub {
    font-size: 12px;
    color: #64748B;
    margin: 0 0 16px 0;
    font-weight: 500;
}

/* Botão + Adicionar */
.dna-print-btn-add {
    background: #0066FF;
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: background 0.15s;
}

.dna-print-btn-add:hover {
    background: #0052CC;
}

/* Abas de Filtro Pílula */
.dna-print-pills-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.dna-print-pill-tab {
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    background: #FFFFFF;
    color: #475569;
    border: 1px solid #E2E8F0;
}

.dna-print-pill-tab.active {
    background: #0066FF;
    color: #FFFFFF;
    border-color: #0066FF;
}

/* Screen 5: Mini OBD Bloqueado */
.dna-obd-hero-banner {
    position: relative;
    width: 100%;
    height: 130px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #0B132B;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-obd-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dna-obd-shield-badge {
    position: absolute;
    top: 50%;
    left: 24%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    color: #0F172A;
}

.dna-obd-feature-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.dna-obd-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #EFF6FF;
    color: #0066FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dna-obd-feature-text {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
}

.dna-obd-disabled-btn {
    width: 100%;
    padding: 12px;
    border-radius: 9999px;
    background: #E2E8F0;
    color: #94A3B8;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: not-allowed;
    margin-top: 10px;
}

/* Screen 6: Serviços & Peças Timeline Item */
.dna-print-service-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    cursor: pointer;
}

.dna-print-date-badge {
    width: 44px;
    height: 48px;
    border-radius: 10px;
    background: #F1F5F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dna-print-date-day {
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1;
}

.dna-print-date-year {
    font-size: 9.5px;
    font-weight: 600;
    color: #64748B;
    margin-top: 2px;
}

.dna-print-service-body {
    flex: 1;
    min-width: 0;
}

.dna-print-service-name {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 2px 0;
}

.dna-print-service-sub {
    font-size: 11px;
    color: #64748B;
    margin: 0 0 6px 0;
}

.dna-print-thumbs-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.dna-print-thumb-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    background: #E2E8F0;
    border: 1px solid #CBD5E1;
}

/* Screen 7: Revisões Preventivas */
.dna-print-rev-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dna-print-rev-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #EFF6FF;
    color: #0066FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dna-print-rev-content {
    flex: 1;
    min-width: 0;
}

.dna-print-rev-title {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 4px 0;
}

.dna-print-rev-km-row {
    font-size: 11px;
    color: #64748B;
    margin-bottom: 4px;
    font-weight: 500;
}

.dna-print-rev-track {
    width: 100%;
    height: 5px;
    background: #E2E8F0;
    border-radius: 9999px;
    overflow: hidden;
}

.dna-print-rev-fill {
    height: 100%;
    background: #0066FF;
    border-radius: 9999px;
}

.dna-print-rev-pill-badge {
    background: #FEF3C7;
    color: #D97706;
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Screen 8: Alertas & Manutenções Cards */
.dna-print-alert-card {
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-width: 1px;
    border-style: solid;
}

.dna-print-alert-card.red {
    background: #FEF2F2;
    border-color: #FECACA;
}

.dna-print-alert-card.yellow {
    background: #FFFBEB;
    border-color: #FDE68A;
}

.dna-print-alert-card.gray {
    background: #F8FAFC;
    border-color: #E2E8F0;
}

.dna-print-alert-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dna-print-alert-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dna-print-alert-card.red .dna-print-alert-icon-box {
    background: #FEE2E2;
    color: #EF4444;
}

.dna-print-alert-card.yellow .dna-print-alert-icon-box {
    background: #FEF3C7;
    color: #F59E0B;
}

.dna-print-alert-card.gray .dna-print-alert-icon-box {
    background: #E2E8F0;
    color: #64748B;
}

.dna-print-alert-texts {
    flex: 1;
}

.dna-print-alert-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.dna-print-alert-remaining {
    font-size: 12px;
    font-weight: 800;
    margin-top: 1px;
}

.dna-print-alert-card.red .dna-print-alert-remaining {
    color: #DC2626;
}

.dna-print-alert-card.yellow .dna-print-alert-remaining {
    color: #D97706;
}

.dna-print-alert-card.gray .dna-print-alert-remaining {
    color: #475569;
}

.dna-print-alert-rec {
    font-size: 11px;
    color: #64748B;
    margin: 2px 0 0 42px;
}

.dna-print-alert-link {
    font-size: 12px;
    font-weight: 700;
    color: #0066FF;
    text-decoration: none;
    margin-left: 42px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Screen 9: Gastos com Carro */
.dna-print-expense-hero {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.dna-print-expense-total-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.dna-print-expense-total {
    font-size: 26px;
    font-weight: 900;
    color: #0F172A;
    line-height: 1;
}

.dna-print-expense-badge-green {
    background: #DCFCE7;
    color: #15803D;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dna-print-chart-box {
    width: 100%;
    margin-top: 10px;
}

.dna-print-chart-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 110px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
}

.dna-print-chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.dna-print-bar {
    width: 18px;
    background: #0066FF;
    border-radius: 6px 6px 0 0;
    transition: height 0.3s ease;
}

.dna-print-chart-month {
    font-size: 10px;
    font-weight: 600;
    color: #64748B;
    position: absolute;
    bottom: 2px;
}

.dna-print-expense-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.dna-print-expense-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #EFF6FF;
    color: #0066FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dna-print-expense-info {
    flex: 1;
}

.dna-print-expense-title {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.dna-print-expense-date {
    font-size: 11px;
    color: #64748B;
    margin-top: 2px;
}

.dna-print-expense-val {
    font-size: 13.5px;
    font-weight: 800;
    color: #0F172A;
}

/* Screen 10: Oficinas da Rede */
.dna-print-map-card {
    position: relative;
    width: 100%;
    height: 130px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #E2E8F0;
    background: #E2E8F0;
}

.dna-print-map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dna-print-map-pin {
    position: absolute;
    width: 22px;
    height: 22px;
    color: #0066FF;
    filter: drop-shadow(0 2px 4px rgba(0, 102, 255, 0.4));
}

.dna-print-map-tooltip {
    position: absolute;
    top: 24px;
    right: 18px;
    background: #0066FF;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
}

.dna-print-ws-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.dna-print-ws-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #F1F5F9;
    flex-shrink: 0;
}

.dna-print-ws-info {
    flex: 1;
    min-width: 0;
}

.dna-print-ws-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dna-print-ws-meta {
    font-size: 11px;
    color: #64748B;
    margin: 0 0 2px 0;
}

.dna-print-ws-rating {
    font-size: 11px;
    color: #F59E0B;
    font-weight: 700;
}

.dna-print-ws-btn-detail {
    background: #FFFFFF;
    border: 1px solid #0066FF;
    color: #0066FF;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.dna-print-ws-btn-detail:hover {
    background: #0066FF;
    color: #FFFFFF;
}


/* ==============================================================================
   ESTILOS OFICIAIS DAS 10 TELAS DO PRINT DO APP DO CLIENTE (DNA AUTO)
   Fidelidade visual absoluta às 10 telas do modelo de referência
   ============================================================================== */

/* Viewport Global & Container Mobile */
body.is-owner-app {
    background: #030712 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', Roboto, sans-serif !important;
}

body.is-owner-app #app-container {
    width: 100% !important;
    max-width: 430px !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 auto !important;
    position: relative !important;
    overflow: hidden !important;
    background: #030712 !important;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.85) !important;
    display: flex !important;
    flex-direction: column !important;
}

@media (max-width: 480px) {
    body.is-owner-app #app-container {
        max-width: 100vw !important;
        box-shadow: none !important;
    }
}

.dna-auth-fullscreen {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 100 !important;
    background: #030712 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TELA 1: SPLASH SCREEN (EXATAMENTE COMO NO PRINT 1)
   ───────────────────────────────────────────────────────────────────────────── */
.dna-splash-screen {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    background: #030712;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.dna-splash-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.dna-splash-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3,7,18,0.4) 0%, rgba(3,7,18,0.15) 30%, rgba(3,7,18,0.7) 65%, #030712 92%);
    z-index: 2;
    pointer-events: none;
}

.dna-splash-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px 22px 24px 22px;
    box-sizing: border-box;
}

.dna-splash-brand {
    text-align: left;
    margin-top: 4px;
}

.dna-splash-d-icon {
    margin-bottom: 8px;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.45));
}

.dna-splash-title {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.dna-splash-title span {
    color: #00D4FF;
}

.dna-splash-sub {
    font-size: 13.5px;
    color: #94A3B8;
    margin: 5px 0 0 0;
    font-weight: 500;
}

.dna-splash-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 6px;
}

.dna-splash-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dna-splash-bullet-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(8, 20, 42, 0.65);
    border: 1px solid rgba(0, 212, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(0, 212, 255, 0.1);
    flex-shrink: 0;
}

.dna-splash-bullet-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.dna-splash-bullet-txt strong {
    font-size: 13px;
    color: #FFFFFF;
    font-weight: 700;
}

.dna-splash-bullet-txt span {
    font-size: 12px;
    color: #94A3B8;
    font-weight: 500;
}

.dna-splash-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dna-splash-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}

.dna-splash-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    transition: all 0.2s;
}

.dna-splash-dot.active {
    width: 22px;
    height: 5px;
    border-radius: 999px;
    background: #00D4FF;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.dna-splash-btn-enter {
    width: 100%;
    height: 48px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(0, 102, 255, 0.45);
    transition: transform 0.15s, opacity 0.15s;
}

.dna-splash-btn-enter:active {
    transform: scale(0.98);
}

.dna-splash-btn-signup {
    width: 100%;
    height: 48px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.22);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.dna-splash-btn-signup:active {
    background: rgba(255, 255, 255, 0.12);
}

/* ─────────────────────────────────────────────────────────────────────────────
   TELA 2: LOGIN (EXATAMENTE COMO NO PRINT 2)
   ───────────────────────────────────────────────────────────────────────────── */
.dna-login-view {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    background: #030712;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.dna-login-top-hero {
    position: relative;
    flex: 1;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

.dna-login-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 1;
    pointer-events: none;
}

.dna-login-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3,7,18,0.4) 0%, rgba(3,7,18,0.2) 50%, rgba(3,7,18,0.85) 100%);
    z-index: 2;
}

.dna-login-back-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    cursor: pointer;
    z-index: 10;
    transition: background 0.15s;
}

.dna-login-hero-brand {
    position: relative;
    z-index: 5;
    text-align: center;
    margin-top: 10px;
}

.dna-login-sheet {
    background: #FFFFFF;
    border-radius: 26px 26px 0 0;
    padding: 22px 20px 20px 20px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.dna-input-pill {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
    margin-bottom: 12px;
    transition: border-color 0.15s, background 0.15s;
}

.dna-input-pill:focus-within {
    border-color: #0066FF;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.dna-input-pill input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #0F172A;
    outline: none;
    font-family: inherit;
}

.dna-input-pill input::placeholder {
    color: #94A3B8;
}

.dna-login-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    margin-bottom: 14px;
    padding: 0 2px;
}

.dna-remember-chk {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    cursor: pointer;
    font-weight: 500;
}

.dna-forgot-link {
    color: #0066FF;
    font-weight: 600;
    text-decoration: none;
}

.dna-login-submit-btn {
    width: 100%;
    height: 46px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.4);
    transition: transform 0.15s;
}

.dna-login-submit-btn:active {
    transform: scale(0.98);
}

.dna-create-account-link {
    text-align: center;
    font-size: 13px;
    color: #64748B;
    margin-top: 12px;
}

.dna-create-account-link a {
    color: #0066FF;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.dna-social-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 10px 0;
    color: #94A3B8;
    font-size: 11.5px;
    font-weight: 500;
}

.dna-social-divider::before,
.dna-social-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #E2E8F0;
}

.dna-social-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.dna-social-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: background 0.15s;
}

.dna-social-btn:hover {
    background: #F8FAFC;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TELA 3: CADASTRO (EXATAMENTE COMO NO PRINT 3)
   ───────────────────────────────────────────────────────────────────────────── */
.dna-register-view {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    background: #FFFFFF;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding: 16px 20px 24px 20px;
    box-sizing: border-box;
    color: #0F172A;
}

.dna-register-top-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.dna-register-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dna-register-back-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F172A;
    cursor: pointer;
    margin-bottom: 8px;
}

.dna-register-title {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    line-height: 1.15;
}

.dna-register-sub {
    font-size: 12.5px;
    color: #64748B;
    margin: 0;
    line-height: 1.35;
}

.dna-register-car-thumb {
    width: 100px;
    height: 62px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    margin-top: 4px;
}

.dna-field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
}

.dna-plate-box {
    background: #F8FAFC;
    border: 1.5px solid #0066FF;
    border-radius: 10px;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    margin-bottom: 12px;
}

.dna-plate-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #0F172A;
    outline: none;
    text-transform: uppercase;
}

.dna-pass-strength-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: -6px 0 12px 0;
}

.dna-pass-bar {
    flex: 1;
    height: 4px;
    background: #10B981;
    border-radius: 2px;
}

.dna-pass-label {
    font-size: 11px;
    color: #10B981;
    font-weight: 700;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TELAS 4 A 10: DASHBOARD, CARDS E BOTTOM NAVIGATION
   ───────────────────────────────────────────────────────────────────────────── */
body.is-owner-app .dna-app-viewport {
    width: 100% !important;
    max-width: 430px !important;
    height: 100% !important;
    max-height: 100dvh !important;
    margin: 0 auto !important;
    position: relative !important;
    overflow: hidden !important;
    background: #F4F6FA !important;
    color: #0F172A !important;
}

body.is-owner-app .dna-phone-frame {
    width: 100% !important;
    max-width: 430px !important;
    height: 100% !important;
    max-height: 100dvh !important;
    margin: 0 auto !important;
    background: #F4F6FA !important;
    color: #0F172A !important;
}

.dna-print-header {
    height: 52px;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.dna-print-car-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid #EDF2F7;
    margin-bottom: 16px;
    cursor: pointer;
    transition: transform 0.15s;
}

.dna-print-car-card:hover {
    transform: translateY(-2px);
}

.dna-print-car-thumb {
    width: 90px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
}

.dna-print-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.dna-print-quick-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 98px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #EDF2F7;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.dna-print-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.dna-print-bottom-nav {
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 56px;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 90;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.dna-print-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    color: #64748B;
    font-size: 10.5px;
    font-weight: 600;
}

.dna-print-nav-item.active {
    color: #0066FF;
}

.dna-print-btn-primary {
    width: 100%;
    height: 48px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    color: #FFFFFF;
    font-size: 14.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
    transition: transform 0.15s;
}

.dna-print-btn-primary:active {
    transform: scale(0.98);
}
