/* --- Стили для Калькулятора Топлива (Rose Theme) --- */
:root {
    --accent-rose: #E11D48;
    --accent-rose-light: #FFE4E6;
    --gradient-rose-card: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
}

.calc-header { margin-bottom: 32px; }
.subtitle { color: var(--text-secondary); margin-top: 8px; }

/* Сетка */
.calc-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 900px) { .calc-grid { grid-template-columns: 1.2fr 0.8fr; } }

/* Inputs */
.calc-inputs { gap: 24px; }
.input-group { margin-bottom: 24px; }
.input-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.input-wrapper { position: relative; display: flex; align-items: center; }

.input-wrapper input {
    width: 100%; padding: 16px; padding-right: 40px;
    font-size: 18px; font-weight: 500;
    border: 1px solid #E5E7EB; border-radius: 12px;
    outline: none; transition: border 0.2s, box-shadow 0.2s;
    font-family: var(--font-main);
}
.input-wrapper input:focus { border-color: var(--accent-rose); box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1); }
.suffix, .currency { position: absolute; right: 16px; color: var(--text-secondary); pointer-events: none; }

.row-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.divider { border: 0; border-top: 1px solid #E5E7EB; margin: 24px 0; }

/* Чекбокс "Туда-обратно" */
.switch-trip { margin-top: 12px; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch-trip input { display: none; }
.checkbox-box {
    width: 24px; height: 24px; border: 2px solid #D1D5DB; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; color: transparent; transition: all 0.2s;
}
.switch-trip input:checked + .checkbox-box {
    background: var(--accent-rose); border-color: var(--accent-rose); color: #fff;
}
.switch-trip span:last-child { font-size: 14px; font-weight: 600; color: var(--text-primary); }

/* Слайдер пассажиров */
.label-row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.range-val { font-weight: 700; color: var(--accent-rose); }
.range-wrapper { padding: 0 4px; }

input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; }
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; height: 24px; width: 24px; border-radius: 50%;
    background: var(--accent-rose); cursor: pointer; margin-top: -10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2); border: 2px solid #fff;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%; height: 4px; cursor: pointer; background: #E5E7EB; border-radius: 2px;
}
.range-steps {
    display: flex; justify-content: space-between; margin-top: 12px;
    font-size: 11px; color: var(--text-secondary);
}

/* Карточка результата */
.card--rose { background: var(--gradient-rose-card); color: #fff; border: none; }
.card--rose h2 { color: rgba(255,255,255,0.95); margin-bottom: 24px; }
@media (min-width: 900px) { .sticky-card { position: sticky; top: 24px; } }

.fuel-price-big {
    font-size: 56px; font-weight: 800; line-height: 1; margin-bottom: 32px;
    display: flex; align-items: baseline; gap: 8px;
}
.fuel-price-big small { font-size: 24px; opacity: 0.8; font-weight: 600; }

.fuel-visual {
    background: rgba(255,255,255,0.15); border-radius: 16px; padding: 16px;
    display: flex; align-items: center; gap: 16px; backdrop-filter: blur(4px); margin-bottom: 16px;
}
.fuel-icon { font-size: 32px; }
.fuel-info { display: flex; flex-direction: column; }
.fuel-info span { font-size: 13px; opacity: 0.9; }
.fuel-info strong { font-size: 20px; font-weight: 700; }

.split-cost-box {
    background: #fff; border-radius: 12px; padding: 16px;
    color: var(--accent-rose); animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.split-label {
    font-size: 12px; color: #881337; margin-bottom: 4px;
    text-transform: uppercase; font-weight: 700; opacity: 0.7;
}
.split-value { font-size: 24px; font-weight: 800; }

.summary-divider { height: 1px; background: rgba(255,255,255,0.2); margin: 24px 0; }
.tip-box { font-size: 13px; opacity: 0.9; line-height: 1.5; }