/**
 * Saat Hesaplama Calculator
 * percentage.css ile aynı pattern, time picker'a özel ufak ayarlar
 */

.time-calc .time-row.calc-input-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Mod 4 (work) — 4 input yan yana */
.time-calc .time-row-work.calc-input-row {
    grid-template-columns: repeat(4, 1fr);
}

.time-calc .calc-input-col select.calc-field,
.time-calc .calc-input-col input.calc-field {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    color: #1e293b;
    height: 46px;
}

.time-calc .calc-input-col select.calc-field {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%2300897B' d='M8 11L3 6h10z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 14px;
}

.time-calc .calc-input-col select.calc-field:focus,
.time-calc .calc-input-col input.calc-field:focus {
    outline: none;
    border-color: var(--cat-bg, #00897B);
    box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.15);
}

.time-calc .calc-input-col label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}

.time-calc .time-results.calc-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.time-calc .res-formula {
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    word-break: break-word;
}

/* SEO içerik (percentage.css ile aynı pattern) */
.time-calc .calc-content-box {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem 2.25rem;
    margin-top: 2rem;
    line-height: 1.7;
    color: #334155;
}

.time-calc .calc-content-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cat-bg, #00897B);
    margin: 1.75rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.time-calc .calc-content-box h2:first-child {
    margin-top: 0;
}

.time-calc .calc-content-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.5rem 0 0.75rem;
}

.time-calc .calc-content-box p {
    margin: 0 0 1rem;
}

.time-calc .calc-content-box ul,
.time-calc .calc-content-box ol {
    margin: 0 0 1rem 1.5rem;
}

.time-calc .calc-content-box li {
    margin-bottom: 0.5rem;
}

.time-calc .calc-content-box code {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    font-family: inherit;
    font-size: 0.9em;
    color: #be185d;
}

.time-calc .calc-content-box strong {
    color: #1e293b;
    font-weight: 700;
}

@media (max-width: 768px) {
    .time-calc .time-row.calc-input-row,
    .time-calc .time-row-work.calc-input-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .time-calc .time-results.calc-results-grid {
        grid-template-columns: 1fr;
    }
    .time-calc .calc-content-box {
        padding: 1.5rem 1.25rem;
    }
    .time-calc .calc-content-box h2 {
        font-size: 1.25rem;
    }
}
