/* --- ESTILOS DA CALCULADORA DE PRECIFICAÇÃO E DESIGN CLARO (ELETRO) --- */

/* Ajustes gerais de layout minimalista */
.calc-container-pdv {
    background-color: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* Inputs minimalistas estilo linha */
.calc-input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    position: relative;
}

.calc-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0.35rem;
    transition: color 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-input {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid #e5e7eb;
    background: transparent;
    padding: 0.5rem 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1f2937;
    transition: border-color 0.25s;
    border-radius: 0 !important;
}

.calc-input:focus {
    border-bottom-color: #db0038;
    outline: none;
}

.calc-input-group:focus-within .calc-label {
    color: #db0038;
}

/* Sufixo/Prefixo de inputs (Ex: R$, %) */
.calc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-prefix {
    font-size: 1.1rem;
    font-weight: 600;
    color: #9ca3af;
    margin-right: 6px;
    user-select: none;
}

.calc-suffix {
    font-size: 1.1rem;
    font-weight: 600;
    color: #9ca3af;
    margin-left: 6px;
    user-select: none;
}

/* Slider customizado */
.calc-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #e5e7eb;
    outline: none;
    margin-top: 8px;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #db0038;
    cursor: pointer;
    transition: transform 0.1s;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Cards de Resultados */
.result-card {
    background-color: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.result-card.highlight {
    background-color: rgba(219, 0, 56, 0.02);
    border-color: rgba(219, 0, 56, 0.15);
}

.result-card.highlight .result-value {
    color: #db0038;
}

.result-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    letter-spacing: -0.5px;
}

/* Tabela de Detalhes Didáticos */
.calc-table {
    width: 100%;
    border-collapse: collapse;
}

.calc-table th {
    font-size: 0.72rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1.5px solid #f3f4f6;
}

.calc-table td {
    padding: 12px;
    font-size: 0.85rem;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.calc-table tr:last-child td {
    border-bottom: none;
}

/* Botões pílula */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 2rem;
    font-size: 0.92rem;
    font-weight: 700;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-pill-primary {
    background-color: #db0038;
    color: #ffffff;
    border: none;
}

.btn-pill-primary:hover {
    background-color: #b5002d;
    box-shadow: 0 4px 12px rgba(219, 0, 56, 0.15);
}

.btn-pill-secondary {
    background-color: transparent;
    color: #db0038;
    border: 1.5px solid #db0038;
}

.btn-pill-secondary:hover {
    background-color: rgba(219, 0, 56, 0.04);
}

/* Animações e tooltips */
.help-tooltip-trigger {
    cursor: help;
    color: #9ca3af;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    vertical-align: middle;
}

.help-tooltip-trigger:hover {
    color: #db0038;
}
