/* Fazla Mesai — İş Hayatı #303F9F */

.overtime-pay-calc { --cat-bg: #303F9F; }

/* TAB BAR */
.overtime-pay-calc .calc-tabs { display: flex; gap: 4px; border-bottom: 2px solid #e2e8f0; margin-bottom: 1.5rem; padding: 0 4px; }
.overtime-pay-calc .calc-tab { background: transparent; border: none; padding: 0.85rem 1.5rem; font-size: 0.95rem; font-weight: 700; color: #64748b; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; display: inline-flex; align-items: center; gap: 8px; transition: color 0.15s, border-color 0.15s; font-family: inherit; }
.overtime-pay-calc .calc-tab:hover:not(:disabled) { color: #303F9F; }
.overtime-pay-calc .calc-tab.active { color: #303F9F; border-bottom-color: #303F9F; }
.overtime-pay-calc .calc-tab:disabled { cursor: not-allowed; opacity: 0.45; }
.overtime-pay-calc .calc-tab i { font-size: 1.05rem; }
.overtime-pay-calc .calc-tab-badge { background: #16a34a; color: #fff; font-size: 0.65rem; font-weight: 800; padding: 2px 7px; border-radius: 10px; margin-left: 4px; letter-spacing: 0.04em; text-transform: uppercase; }
.overtime-pay-calc .calc-tab-panel[hidden] { display: none; }

/* INPUT GRID — 5 col → desktop 5 col, 1024 3 col, 640 1 col */
.overtime-pay-calc .overtime-row.calc-input-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; margin-bottom: 1.5rem; }
.overtime-pay-calc .calc-input-col input.calc-field,
.overtime-pay-calc .calc-input-col select.calc-field {
    width: 100%; padding: 0.75rem 1rem; font-size: 1rem; border: 1px solid #e0e0e0;
    border-radius: 8px; background-color: #fff; height: 46px; font-family: inherit;
}
.overtime-pay-calc .calc-input-col input.calc-field:focus,
.overtime-pay-calc .calc-input-col select.calc-field:focus {
    outline: none; border-color: #303F9F; box-shadow: 0 0 0 3px rgba(48, 63, 159, 0.15);
}
.overtime-pay-calc .calc-input-col label { display: block; margin-bottom: 0.5rem; font-weight: 700; color: #1e293b; font-size: 0.95rem; }
.overtime-pay-calc .ovt-hint { display: block; margin-top: 0.4rem; font-size: 0.78rem; color: #64748b; }
.overtime-pay-calc .input-with-symbol { position: relative; }
.overtime-pay-calc .input-with-symbol .suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #64748b; font-weight: 600; pointer-events: none; }
.overtime-pay-calc .input-with-symbol input { padding-right: 30px; }

/* HEADLINE */
.overtime-pay-calc .ovt-headline-result { background: #303F9F; color: #fff; padding: 1.5rem 2rem; border-radius: 14px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; box-shadow: 0 6px 20px rgba(48, 63, 159, 0.25); flex-wrap: wrap; }
.overtime-pay-calc .ovt-headline-result .headline-label { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.92; }
.overtime-pay-calc .ovt-headline-result .headline-value { font-size: 2.4rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -0.02em; }

/* RESULT LIST */
.overtime-pay-calc .calc-result-list { list-style: none; margin: 0 0 10px; padding: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.overtime-pay-calc .calc-result-list:last-of-type { margin-bottom: 1rem; }
.overtime-pay-calc .calc-result-list li { display: flex; justify-content: space-between; align-items: baseline; padding: 0.95rem 1.25rem; border-bottom: 1px solid #f1f5f9; gap: 1.25rem; }
.overtime-pay-calc .calc-result-list li:last-child { border-bottom: none; }
.overtime-pay-calc .calc-result-list li:nth-child(odd) { background: #fafbfc; }
.overtime-pay-calc .calc-result-list .r-label { color: #475569; font-weight: 600; font-size: 0.95rem; text-align: left; flex: 1; }
.overtime-pay-calc .calc-result-list .r-label small { font-weight: 500; color: #94a3b8; font-size: 0.82em; }
.overtime-pay-calc .calc-result-list .r-value { color: #1e293b; font-weight: 700; font-size: 1.05rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.overtime-pay-calc .calc-result-list .r-value.text-muted { color: #64748b; font-weight: 600; }
.overtime-pay-calc .calc-result-list--secondary { background: #fdfdfe; }
.overtime-pay-calc .calc-result-list--secondary li:nth-child(odd) { background: #f5f7fa; }

/* SERBEST ZAMAN KARTI */
.overtime-pay-calc .ovt-free-time-card {
    display: flex; align-items: center; gap: 1.25rem; margin-top: 1rem; padding: 1.25rem 1.5rem;
    background: #FFF8E1; border: 1px solid #FFE082; border-radius: 12px;
}
.overtime-pay-calc .ovt-free-time-card.d-none { display: none; }
.overtime-pay-calc .ovt-free-time-icon { font-size: 2.4rem; color: #303F9F; flex-shrink: 0; }
.overtime-pay-calc .ovt-free-time-content { flex: 1; }
.overtime-pay-calc .ovt-free-time-label { font-size: 0.85rem; font-weight: 700; color: #5d4037; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.overtime-pay-calc .ovt-free-time-value { font-size: 1.85rem; font-weight: 800; color: #303F9F; font-variant-numeric: tabular-nums; line-height: 1.1; margin-bottom: 6px; }
.overtime-pay-calc .ovt-free-time-hint { font-size: 0.85rem; color: #5d4037; line-height: 1.45; }

@media (max-width: 1024px) {
    .overtime-pay-calc .overtime-row.calc-input-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .overtime-pay-calc .overtime-row.calc-input-row { grid-template-columns: 1fr; gap: 1rem; }
    .overtime-pay-calc .ovt-headline-result .headline-value { font-size: 1.85rem; }
    .overtime-pay-calc .ovt-free-time-card { flex-direction: column; text-align: center; }
}
