/* ── STOB Záväzná prihláška – Styles ───────────────────────────────────────── */

.stob-pri-wrap {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
    padding: 44px 48px;
    font-family: inherit;
}

/* ── Header ─────────────────────────────────────────────────────────────────── */
.stob-pri-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 3px solid #ce141a;
    text-align: center;
}
.stob-pri-header h2 {
    font-size: 1.5em;
    color: #ce141a;
    margin: 0 0 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.stob-pri-subtitle {
    color: #444;
    font-size: 0.97em;
    margin: 0;
    line-height: 1.6;
}

/* ── Section titles ─────────────────────────────────────────────────────────── */
.stob-pri-section-title {
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ce141a;
    border-bottom: 1px solid #f5d0d0;
    padding-bottom: 6px;
    margin-bottom: 16px;
    margin-top: 8px;
}

/* ── Rows & fields ─────────────────────────────────────────────────────────── */
.stob-pri-row {
    margin-bottom: 18px;
}
.stob-pri-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 580px) {
    .stob-pri-two-col { grid-template-columns: 1fr; }
    .stob-pri-wrap    { padding: 28px 20px; }
}

.stob-pri-field label:not(.stob-radio-label):not(.stob-checkbox-label) {
    display: block;
    font-size: 0.85em;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.stob-required { color: #ce141a; }

/* ── Inputs ─────────────────────────────────────────────────────────────────── */
.stob-pri-field input[type="text"],
.stob-pri-field input[type="email"],
.stob-pri-field input[type="tel"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #ddd;
    border-radius: 7px;
    font-size: 1em;
    color: #222;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.stob-pri-field input:focus {
    outline: none;
    border-color: #ce141a;
    box-shadow: 0 0 0 3px rgba(206,20,26,0.12);
    background: #fff;
}
.stob-pri-field input.stob-error {
    border-color: #ce141a;
    background: #fff8f8;
}

/* ── Radio buttons – kategória ──────────────────────────────────────────────── */
.stob-pri-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.stob-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border: 1.5px solid #ddd;
    border-radius: 9px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafafa;
    user-select: none;
}
.stob-radio-label input[type="radio"] {
    accent-color: #ce141a;
    margin-top: 3px;
    flex-shrink: 0;
    width: 17px;
    height: 17px;
}
.stob-radio-label:hover {
    border-color: #f5a0a0;
    background: #fff5f5;
}
.stob-radio-label:has(input:checked) {
    border-color: #ce141a;
    background: #fff0f0;
}
.stob-radio-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.stob-radio-title {
    font-weight: 700;
    font-size: 0.97em;
    color: #222;
}
.stob-radio-label:has(input:checked) .stob-radio-title {
    color: #ce141a;
}
.stob-radio-desc {
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
}

/* ── GDPR ───────────────────────────────────────────────────────────────────── */
.stob-pri-gdpr { margin-top: 4px; }
.stob-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9em;
    color: #444;
    line-height: 1.5;
}
.stob-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #ce141a;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}
.stob-checkbox-label a { color: #ce141a; }

/* ── reCAPTCHA ──────────────────────────────────────────────────────────────── */
.stob-pri-recaptcha-row {
    display: flex;
    justify-content: flex-start;
}

/* ── Notice ─────────────────────────────────────────────────────────────────── */
.stob-pri-notice {
    padding: 12px 16px;
    border-radius: 7px;
    font-size: 0.92em;
    margin-bottom: 12px;
}
.stob-pri-notice.is-error   { background: #fff0f0; color: #a01010; border-left: 4px solid #ce141a; }
.stob-pri-notice.is-success { background: #fff0f0; color: #a01010; border-left: 4px solid #ce141a; }

/* ── Submit button ──────────────────────────────────────────────────────────── */
.stob-pri-submit-row { margin-top: 8px; }
.stob-pri-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ce141a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 32px;
    font-size: 1.05em;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.01em;
}
.stob-pri-btn:hover:not(:disabled) {
    background: #a01010;
    transform: translateY(-1px);
}
.stob-pri-btn:disabled { opacity: 0.65; cursor: not-allowed; }

/* ── Disclaimer ─────────────────────────────────────────────────────────────── */
.stob-pri-disclaimer {
    font-size: 0.8em;
    color: #888;
    margin-top: 12px;
    text-align: center;
}

/* ── Success box ────────────────────────────────────────────────────────────── */
.stob-pri-success-box {
    text-align: center;
    padding: 40px 20px;
}
.stob-success-icon { font-size: 3em; margin-bottom: 16px; }
.stob-pri-success-box h3 {
    color: #ce141a;
    font-size: 1.4em;
    margin-bottom: 16px;
}
.stob-pri-success-box p {
    color: #444;
    font-size: 1em;
    line-height: 1.8;
}
