/* NotHesaplama.com - YDS aracı özel form tasarımı */
.yds-score-tool {
    --yds-primary: var(--primary-color, #2563eb);
    --yds-text: var(--text-color, #172033);
    --yds-muted: var(--muted-color, #64748b);
    --yds-border: var(--border-color, #e2e8f0);
    --yds-surface: var(--card-bg, #ffffff);
    width: 100%;
    color: var(--yds-text);
}
.yds-score-tool *, .yds-score-tool *::before, .yds-score-tool *::after { box-sizing: border-box; }
.yds-score-tool [hidden] { display: none !important; }
.yds-score-intro { margin: 0 0 20px; }
.yds-score-kicker { display: inline-block; margin-bottom: 7px; color: var(--yds-primary); font-size: .72rem; font-weight: 800; letter-spacing: .09em; }
.yds-score-intro h2 { margin: 0 0 7px; font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.25; }
.yds-score-intro p { margin: 0; color: var(--yds-muted); line-height: 1.6; }
.yds-score-notice { display: flex; gap: 12px; align-items: flex-start; padding: 15px 16px; margin: 0 0 16px; border: 1px solid #bfdbfe; border-radius: 12px; background: #eff6ff; color: #1e3a8a; }
.yds-notice-icon { display: inline-flex; flex: 0 0 24px; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: #dbeafe; color: #1d4ed8; font-weight: 800; }
.yds-score-notice strong { display: block; margin: 1px 0 4px; font-size: .94rem; }
.yds-score-notice p { margin: 0; color: #1e40af; font-size: .88rem; line-height: 1.55; }
.yds-score-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.yds-meta-item { display: flex; min-height: 70px; flex-direction: column; justify-content: center; padding: 11px 14px; border: 1px solid var(--yds-border); border-radius: 11px; background: var(--yds-surface); }
.yds-meta-item strong { font-size: 1.15rem; line-height: 1.2; }
.yds-meta-item span { margin-top: 4px; color: var(--yds-muted); font-size: .78rem; }
.yds-score-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px; }
.yds-field-card { min-width: 0; padding: 16px; border: 1px solid var(--yds-border); border-radius: 12px; background: var(--yds-surface); }
.yds-field-card label { display: block; margin: 0 0 9px; font-size: .91rem; font-weight: 700; }
.yds-field-card input { display: block; width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; color: #0f172a; font: inherit; font-size: 1.08rem; font-weight: 650; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.yds-field-card input:focus { border-color: var(--yds-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .13); }
.yds-field-card small { display: block; min-height: 2.6em; margin-top: 8px; color: var(--yds-muted); font-size: .78rem; line-height: 1.45; }
.yds-score-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.yds-score-tool .yds-calculate-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 12px 20px; border: 0; border-radius: 9px; background: var(--yds-primary); color: #fff; font: inherit; font-weight: 750; cursor: pointer; transition: filter .15s ease, transform .15s ease; }
.yds-score-tool .yds-calculate-button:hover { filter: brightness(.94); }
.yds-score-tool .yds-calculate-button:active { transform: translateY(1px); }
.yds-score-tool .yds-calculate-button:focus-visible { outline: 3px solid rgba(37, 99, 235, .3); outline-offset: 3px; }
.yds-action-note { color: var(--yds-muted); font-size: .8rem; }
.yds-score-result { margin-top: 22px; padding: 18px; border: 1px solid var(--yds-border); border-radius: 14px; background: var(--yds-surface); box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
.yds-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 15px; border-bottom: 1px solid var(--yds-border); }
.yds-result-heading h3 { margin: 0; font-size: 1.15rem; }
.yds-score-total { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.yds-score-total strong { color: var(--yds-primary); font-size: clamp(1.7rem, 5vw, 2.25rem); line-height: 1; }
.yds-score-total span { color: var(--yds-muted); font-size: .82rem; }
.yds-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.yds-result-card { display: flex; min-height: 76px; flex-direction: column; justify-content: center; padding: 12px; border: 1px solid var(--yds-border); border-radius: 10px; background: rgba(148, 163, 184, .07); }
.yds-result-card span { color: var(--yds-muted); font-size: .77rem; }
.yds-result-card strong { margin-top: 5px; font-size: 1.2rem; }
.yds-result-message { margin: 14px 0 0; color: var(--yds-muted); font-size: .86rem; line-height: 1.55; }
@media (max-width: 640px) {
    .yds-score-fields { grid-template-columns: 1fr; gap: 10px; }
    .yds-field-card { padding: 14px; }
    .yds-field-card small { min-height: 0; }
    .yds-score-notice { padding: 13px; }
    .yds-score-meta { gap: 7px; }
    .yds-meta-item { min-height: 64px; padding: 9px; }
    .yds-meta-item strong { font-size: 1.05rem; }
    .yds-meta-item span { font-size: .72rem; }
    .yds-score-actions { align-items: stretch; flex-direction: column; }
    .yds-score-tool .yds-calculate-button { width: 100%; }
    .yds-action-note { text-align: center; }
    .yds-score-result { padding: 14px; }
    .yds-result-grid { gap: 7px; }
    .yds-result-card { min-height: 70px; padding: 9px; }
    .yds-result-card span { font-size: .7rem; }
    .yds-result-card strong { font-size: 1.05rem; }
}
