/* REWF Institute — Registration form styles */

.reg-section {
    padding: 96px 24px 120px;
    background: var(--bg-base, #050810);
    color: var(--fg-base, #e8eaef);
    min-height: 80vh;
}

.reg-container {
    max-width: 720px;
    margin: 0 auto;
}

.reg-note {
    font-size: 13px;
    letter-spacing: 0.04em;
    color: rgba(232, 234, 239, 0.55);
    margin-top: 16px;
    text-transform: uppercase;
}

.reg-error {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-left: 2px solid #c2392c;
    background: rgba(194, 57, 44, 0.08);
    color: #f1c8c4;
    font-size: 14px;
    line-height: 1.55;
}

.reg-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reg-row {
    display: grid;
    gap: 20px;
}

.reg-row-2 {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
    .reg-row-2 {
        grid-template-columns: 1fr;
    }
}

.reg-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reg-field label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(232, 234, 239, 0.65);
    font-weight: 500;
}

.reg-field input[type="text"],
.reg-field input[type="email"],
.reg-field select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(232, 234, 239, 0.22);
    color: var(--fg-base, #e8eaef);
    font-family: inherit;
    font-size: 15px;
    padding: 10px 0 10px;
    outline: none;
    transition: border-color 160ms ease, color 160ms ease;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
}

.reg-field select {
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(232,234,239,0.6) 50%),
        linear-gradient(135deg, rgba(232,234,239,0.6) 50%, transparent 50%);
    background-position:
        calc(100% - 14px) 50%,
        calc(100% - 9px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 28px;
}

.reg-field select option {
    background: #0a1020;
    color: #e8eaef;
}

.reg-field input:focus,
.reg-field select:focus {
    border-bottom-color: rgba(232, 234, 239, 0.85);
}

.reg-field input.invalid,
.reg-field select.invalid {
    border-bottom-color: #c2392c;
}

.reg-hint {
    font-size: 12px;
    color: rgba(232, 234, 239, 0.45);
    letter-spacing: 0.02em;
}

.reg-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 13px;
    color: rgba(232, 234, 239, 0.78);
    line-height: 1.55;
    cursor: pointer;
}

.reg-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #e8eaef;
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.reg-checkbox a {
    color: rgba(232, 234, 239, 0.95);
    border-bottom: 1px solid rgba(232, 234, 239, 0.35);
    padding-bottom: 1px;
    text-decoration: none;
}

.reg-actions {
    margin-top: 24px;
}

.reg-actions .btn {
    min-width: 220px;
    justify-content: center;
}

.reg-actions .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
