:root {
    /* Variáveis para abas ativas (Tons neutros/Cinza) */
    --tab-active-bg: #475569;
    /* Slate 600 */
    --tab-active-border: #334155;
    /* Slate 700 */
}

.input-std {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
}

.input-std:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.label-std {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.25rem;
    display: block;
}

/* Checkboxes */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .checklist-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.check-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: #f9fafb;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
}

.check-group:hover {
    background-color: #fff;
    border-color: #d1d5db;
}

/* Tabs */
.tab-btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
    border: 1px solid transparent;
}

@media (min-width: 768px) {
    .tab-btn {
        flex-direction: row;
    }
}

.tab-inactive {
    background-color: white;
    color: #6b7280;
    border-color: #e5e7eb;
}

/* --- ABAS ATIVAS UNIFICADAS PELO ROOT --- */

.tab-active-hidrante {
    background-color: var(--tab-active-bg);
    border-color: var(--tab-active-border);
    color: white;
    /* Box-shadow removido */
}

.tab-active-extintor {
    background-color: var(--tab-active-bg);
    border-color: var(--tab-active-border);
    color: white;
    /* Box-shadow removido */
}

.tab-active-luz {
    background-color: var(--tab-active-bg);
    border-color: var(--tab-active-border);
    color: white;
    /* Box-shadow removido */
}

.tab-active-bomba {
    background-color: var(--tab-active-bg);
    border-color: var(--tab-active-border);
    color: white;
    /* Box-shadow removido */
}

.tab-active-sinalizacao {
    background-color: var(--tab-active-bg);
    border-color: var(--tab-active-border);
    color: white;
}

.tab-active-eletro {
    background-color: var(--tab-active-bg);
    border-color: var(--tab-active-border);
    color: white;
}

.tab-active-geral {
    background-color: var(--tab-active-bg);
    border-color: var(--tab-active-border);
    color: white;
}

/* ---------------------------------------- */

.section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    border-bottom-width: 1px;
    padding-bottom: 0.25rem;
}

.btn-secondary {
    cursor: pointer;
    background-color: #f1f5f9;
    color: #334155;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid #cbd5e1;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.thumb-preview {
    width: 60px;
    height: 60px;
    border-radius: 0.375rem;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.thumb-container {
    position: relative;
    width: 60px;
    height: 60px;
}

.btn-remove-thumb {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid white;
}

.tab-active-assinatura {
    background-color: var(--tab-active-bg);
    border-color: var(--tab-active-border);
    color: white;
}