:root {
  --hesav-red: #C8102E;
  --hesav-dark: #1a1a2e;
  --hesav-gray: #f5f5f5;
  --hesav-border: #ddd;
  --hesav-text: #333;
  --radius: 6px;
}
body { font-family: 'Segoe UI', Arial, sans-serif; font-size: 0.93rem; color: var(--hesav-text); background: #fff; padding: 2rem 1rem 4rem; }
h2.form-title { font-size: 1.4rem; font-weight: 700; color: var(--hesav-dark); border-left: 4px solid var(--hesav-red); padding-left: 0.75rem; margin-bottom: 1.75rem; }
.form-header { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; border-bottom: 1px solid var(--hesav-border); padding-bottom: 1.25rem; margin-bottom: 1.75rem; }
.form-header .form-title { margin-bottom: 0; }
.hesav-logo { height: 72px; width: auto; max-width: 100%; display: block; flex-shrink: 0; }
.section-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hesav-red); border-bottom: 1px solid var(--hesav-border); padding-bottom: 0.4rem; margin: 2rem 0 1.25rem; }
.form-label { font-weight: 600; font-size: 0.85rem; margin-bottom: 0.25rem; }
.form-control, .form-select { border-radius: var(--radius); border-color: var(--hesav-border); font-size: 0.88rem; padding: 0.45rem 0.75rem; }
.form-control:focus, .form-select:focus { border-color: var(--hesav-red); box-shadow: 0 0 0 0.2rem rgba(200,16,46,0.12); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #dc3545; }
.invalid-feedback { font-size: 0.78rem; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
.category-card { border: 2px solid var(--hesav-border); border-radius: var(--radius); padding: 1.1rem 1.25rem; cursor: pointer; background: #fff; transition: all 0.15s; text-align: left; display: flex; flex-direction: column; gap: 0.35rem; }
.category-card:hover { border-color: var(--hesav-red); box-shadow: 0 2px 10px rgba(200,16,46,0.08); }
.category-card .cat-name { font-size: 1rem; font-weight: 700; color: var(--hesav-dark); }
.category-card .cat-desc { font-size: 0.82rem; color: #666; line-height: 1.35; }
.category-summary { display: none; align-items: center; justify-content: space-between; gap: 1rem; background: var(--hesav-gray); border-left: 4px solid var(--hesav-red); border-radius: 0 var(--radius) var(--radius) 0; padding: 0.75rem 1.1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.category-summary .cs-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #888; }
.category-summary .cs-value { font-weight: 700; color: var(--hesav-dark); }
.btn-link-hesav { background: none; border: none; color: var(--hesav-red); font-weight: 600; font-size: 0.83rem; cursor: pointer; padding: 0; text-decoration: underline; }
.radio-card-group { display: flex; gap: 0.75rem; }
.radio-card input[type="radio"] { display: none; }
.radio-card label { border: 2px solid var(--hesav-border); border-radius: var(--radius); padding: 0.4rem 1.1rem; cursor: pointer; font-size: 0.85rem; font-weight: 500; display: block; transition: all 0.15s; }
.radio-card input[type="radio"]:checked + label { border-color: var(--hesav-red); background: var(--hesav-red); color: #fff; }
.btn-hesav { background: var(--hesav-red); color: #fff; border: none; border-radius: var(--radius); padding: 0.65rem 2.5rem; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; transition: background 0.2s; }
.btn-hesav:hover { background: #a50d25; color: #fff; }
.btn-hesav:disabled { background: #ccc; cursor: not-allowed; }
#alert-success, #alert-error { display: none; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.9rem; }
#alert-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
#alert-error   { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.required-note { font-size: 0.78rem; color: #666; margin-bottom: 1.5rem; }
.conditional-block { background: var(--hesav-gray); border-radius: var(--radius); padding: 1rem 1.25rem; margin-top: 1rem; border: 1px solid var(--hesav-border); }
.form-control[type="file"] { padding: 0.35rem 0.75rem; cursor: pointer; }
.form-check-input:checked { background-color: var(--hesav-red); border-color: var(--hesav-red); }
.spinner-border-sm { display: none; }
.btn-hesav.loading .spinner-border-sm { display: inline-block; }
.btn-hesav.loading .btn-text { display: none; }
.field[hidden], .form-section[hidden] { display: none !important; }
#statusScreen { display: none; max-width: 520px; margin: 2rem auto; border: 1px solid var(--hesav-border); border-top: 4px solid var(--hesav-red); border-radius: var(--radius); padding: 2.25rem 2rem; text-align: center; }
#statusScreen h1 { font-size: 1.3rem; font-weight: 700; color: var(--hesav-dark); margin: 0 0 0.75rem; }
#statusScreen .lead { color: #555; line-height: 1.5; margin: 0 auto 1.75rem; max-width: 40ch; }
#statusScreen .contact-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #888; margin: 1.5rem 0 0.75rem; border-top: 1px solid var(--hesav-border); padding-top: 1.5rem; }
#statusScreen a { color: var(--hesav-red); }
#loadingScreen { text-align: center; color: #888; padding: 3rem 0; }
@media (max-width: 576px) { .category-grid { grid-template-columns: 1fr; } .radio-card-group { flex-direction: column; gap: 0.5rem; } }
