/* ── STOB Registrácia – Styles ─────────────────────────────────────────────── */

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

.stob-reg-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #fde8e8;
}
.stob-reg-header h3 {
    font-size: 1.45em;
    color: #ce141a;
    margin: 0 0 8px;
}
.stob-reg-header p {
    color: #555;
    margin: 0;
    font-size: 0.95em;
}

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

.stob-reg-field label:not(.stob-radio-label):not(.stob-checkbox-label) {
    display: block;
    font-size: 0.88em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.stob-required { color: #ce141a; }
.stob-optional { color: #888; font-weight: 400; font-size: 0.9em; text-transform: none; letter-spacing: 0; }

.stob-reg-field input[type="text"],
.stob-reg-field input[type="email"],
.stob-reg-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-reg-field input:focus {
    outline: none;
    border-color: #ce141a;
    box-shadow: 0 0 0 3px rgba(206,20,26,0.12);
    background: #fff;
}
.stob-reg-field input.stob-error {
    border-color: #e53935;
    background: #fff8f8;
}

/* ── Radio buttons ─────────────────────────────────────────────────────────── */
.stob-reg-radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.stob-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 0.95em;
    color: #333;
    background: #fafafa;
    user-select: none;
}
.stob-radio-label:hover { border-color: #f5a0a0; background: #fff5f5; }
.stob-radio-label input[type="radio"] { accent-color: #ce141a; }
.stob-radio-label:has(input:checked) {
    border-color: #ce141a;
    background: #fff0f0;
    color: #a01010;
    font-weight: 600;
}

/* ── GDPR checkbox ─────────────────────────────────────────────────────────── */
.stob-reg-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; }

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

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

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

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