/* Registration forms - shared styles */

.registration-hero {
    padding: 120px 0 40px;
    text-align: center;
}
.registration-hero h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
.registration-hero p {
    font-size: 1.1rem;
    color: #34495e;
    max-width: 700px;
    margin: 0 auto;
}

/* Wizard step bar (full-program) */
.wizard-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 2rem 0 2.5rem;
    padding: 0 1rem;
}
.wizard-step {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.wizard-step-bubble {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(74, 155, 142, 0.2);
    border: 2px solid rgba(74, 155, 142, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #4a9b8e;
    transition: all 0.3s ease;
}
.wizard-step.active .wizard-step-bubble {
    background: linear-gradient(135deg, #4a9b8e, #6bb6ff);
    border-color: #4a9b8e;
    color: white;
    box-shadow: 0 6px 20px rgba(74, 155, 142, 0.4);
    transform: scale(1.08);
}
.wizard-step.completed .wizard-step-bubble {
    background: rgba(74, 155, 142, 0.5);
    border-color: #4a9b8e;
    color: white;
}
.wizard-step:hover:not(.active) .wizard-step-bubble {
    background: rgba(74, 155, 142, 0.35);
    border-color: #4a9b8e;
}
.wizard-step-label {
    display: none;
}
@media (min-width: 600px) {
    .wizard-step-label {
        display: block;
        margin-left: 8px;
        font-size: 0.95rem;
        color: #34495e;
        font-weight: 500;
    }
    .wizard-step.active .wizard-step-label {
        color: #2c3e50;
        font-weight: 600;
    }
}
.wizard-connector {
    width: 60px;
    height: 2px;
    background: rgba(74, 155, 142, 0.2);
    margin: 0 4px;
}
@media (min-width: 600px) {
    .wizard-connector {
        width: 80px;
    }
}

/* Form container */
.registration-form-wrap {
    max-width: 700px;
    margin: 0 auto 4rem;
    padding: 0 20px;
}
.registration-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 14px 40px rgba(74, 155, 142, 0.15);
    border: 1px solid rgba(74, 155, 142, 0.12);
}

/* Form steps (full-program wizard) */
.form-step {
    display: none;
}
.form-step.active {
    display: block;
}
.form-step h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Form sections (yoga-program flat form) */
.form-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 2rem 0 1.5rem;
    font-weight: 600;
}
.form-section h2:first-child {
    margin-top: 0;
}

.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}
.form-group label .required {
    color: #e74c3c;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(74, 155, 142, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a9b8e;
    box-shadow: 0 0 0 3px rgba(74, 155, 142, 0.15);
}
.form-group textarea {
    min-height: 100px;
    resize: vertical;
}
.form-group .radio-group,
.form-group .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group .radio-option,
.form-group .checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.form-group .radio-option input,
.form-group .checkbox-option input {
    width: auto;
    margin-top: 3px;
    accent-color: #4a9b8e;
}
.form-group .checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

/* Inline validation hints (optional spans with data-field-error) */
.field-error {
    display: block;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.8rem;
    color: #c0392b;
    margin-top: 0.35rem;
    min-height: 1.1em;
}

.form-group fieldset.fieldset-gender,
fieldset.form-group.fieldset-gender {
    border: none;
    margin: 0 0 1.25rem;
    padding: 0;
}
.fieldset-gender legend {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.radio-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}
.radio-inline label {
    font-weight: 500;
    margin: 0;
}

.form-hint {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.85rem;
    color: #34495e;
    margin: 0 0 0.5rem;
    line-height: 1.45;
}

.form-label-block {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.optional {
    font-weight: 500;
    color: #7f8c8d;
    font-size: 0.88em;
}
@media (min-width: 500px) {
    .form-group .checkbox-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Form navigation (full-program wizard) */
.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(74, 155, 142, 0.12);
}
.form-nav button {
    background: linear-gradient(135deg, #4a9b8e, #6bb6ff);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(74, 155, 142, 0.3);
}
.form-nav button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.4);
}
.form-nav button.btn-secondary {
    background: rgba(74, 155, 142, 0.2);
    color: #2c3e50;
    box-shadow: none;
}
.form-nav button.btn-secondary:hover {
    background: rgba(74, 155, 142, 0.3);
}
.form-nav button[type="submit"] {
    font-size: 1.05rem;
    padding: 14px 32px;
}
.form-nav button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.form-nav button[type="submit"]:disabled:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(74, 155, 142, 0.3);
}
.form-nav .nav-placeholder {
    width: 100px;
}

/* Form submit wrap (yoga-program) */
.form-submit-wrap {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(74, 155, 142, 0.12);
}
.form-submit-wrap button[type="submit"] {
    background: linear-gradient(135deg, #4a9b8e, #6bb6ff);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(74, 155, 142, 0.3);
}
.form-submit-wrap button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.4);
}
.form-submit-wrap button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.form-submit-wrap button[type="submit"]:disabled:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(74, 155, 142, 0.3);
}

.form-group.form-group-conditional {
    transition: opacity 0.2s ease;
}

/* Payment section */
.payment-section {
    background: rgba(74, 155, 142, 0.06);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(74, 155, 142, 0.15);
}
.form-help {
    font-size: 0.95rem;
    color: #34495e;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.payment-qr-wrap {
    text-align: center;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    border: 1px dashed rgba(74, 155, 142, 0.3);
}
.payment-qr-img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.payment-qr-placeholder {
    padding: 2rem;
    color: #7f8c8d;
}
.form-group input[type="file"] {
    padding: 10px;
    border: 1px dashed rgba(74, 155, 142, 0.3);
    border-radius: 10px;
    background: #fff;
}

/* Validation */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}
.form-validation-banner {
    display: none;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: #c0392b;
    font-weight: 500;
}
.form-validation-banner.show {
    display: block;
}

/* Terms & Conditions checkbox */
.form-group-terms {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(74, 155, 142, 0.12);
}
.form-group-terms .terms-checkbox-label {
    cursor: pointer;
    font-weight: 500;
}
.form-group-terms .terms-checkbox-label a {
    color: #4a9b8e;
    text-decoration: underline;
}
.form-group-terms .terms-checkbox-label a:hover {
    color: #3d8277;
}
.form-group.has-error .form-group-terms .terms-checkbox-label {
    color: #e74c3c;
}
