/* STOB Registrácia na kurz – v2.0.0 */

.stob-reg-wrap {
    max-width: 680px;
    margin: 0 auto;
    font-family: inherit;
}

.stob-reg-header {
    margin-bottom: 28px;
}

.stob-reg-header h3 {
    color: #ce141a;
    font-size: 1.4em;
    margin-bottom: 8px;
}

.stob-reg-header p {
    color: #555;
    margin: 0;
}

/* Honeypot – musí byť neviditeľné */
.stob-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* Riadky a stĺpce */
.stob-reg-row {
    margin-bottom: 18px;
}

.stob-reg-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width: 540px) {
    .stob-reg-two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Polia */
.stob-reg-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #333;
}

.stob-reg-field input[type="text"],
.stob-reg-field input[type="email"],
.stob-reg-field input[type="tel"] {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: #fff;
}

.stob-reg-field input:focus {
    outline: none;
    border-color: #ce141a;
    box-shadow: 0 0 0 3px rgba(206, 20, 26, 0.1);
}

/* Povinné / nepovinné */
.stob-required {
    color: #ce141a;
    margin-left: 2px;
}

.stob-optional {
    color: #888;
    font-weight: 400;
    font-size: 0.85em;
}

/* Rádio tlačidlá – profesia */
.stob-reg-radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.stob-radio-label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    padding: 9px 16px;
    border: 1.5px solid #ccc;
    border-radius: 5px;
    font-size: 0.9em;
    transition: border-color 0.2s, background 0.2s;
    background: #fff;
    user-select: none;
}

.stob-radio-label input[type="radio"] {
    accent-color: #ce141a;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.stob-radio-label:has(input:checked) {
    border-color: #ce141a;
    background: #fff5f5;
}

.stob-radio-label:hover {
    border-color: #ce141a;
}

/* GDPR checkbox */
.stob-reg-gdpr {
    background: #f8f8f8;
    border-radius: 6px;
    padding: 14px 16px;
}

.stob-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88em;
    line-height: 1.5;
    color: #444;
}

.stob-checkbox-label input[type="checkbox"] {
    accent-color: #ce141a;
    width: 17px;
    height: 17px;
    min-width: 17px;
    margin-top: 2px;
    cursor: pointer;
}

.stob-checkbox-label a {
    color: #ce141a;
    text-decoration: underline;
}

/* Správy */
.stob-reg-notice {
    padding: 12px 16px;
    border-radius: 5px;
    font-size: 0.92em;
    margin-bottom: 10px;
}

.stob-reg-notice.stob-error {
    background: #fff0f0;
    border: 1px solid #f5c6c7;
    color: #c0392b;
}

.stob-reg-notice.stob-info {
    background: #fff9e6;
    border: 1px solid #ffe082;
    color: #7b6000;
}

/* Tlačidlo */
.stob-reg-submit-row {
    margin-top: 6px;
}

.stob-reg-btn {
    background: #ce141a;
    color: #fff;
    border: none;
    padding: 13px 32px;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: inline-block;
}

.stob-reg-btn:hover {
    background: #a81015;
}

.stob-reg-btn:active {
    transform: scale(0.98);
}

.stob-reg-btn:disabled {
    background: #e88;
    cursor: not-allowed;
}

/* Disclaimer */
.stob-reg-disclaimer {
    color: #888;
    font-size: 0.8em;
    margin-top: 14px;
}

/* Úspešný stav */
.stob-reg-success-box {
    text-align: center;
    padding: 40px 20px;
    background: #f0fff4;
    border: 2px solid #38a169;
    border-radius: 10px;
}

.stob-success-icon {
    font-size: 3em;
    margin-bottom: 12px;
}

.stob-reg-success-box h3 {
    color: #276749;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.stob-reg-success-box p {
    color: #2f855a;
    line-height: 1.6;
}
