.registration-modal.modal-overlay,
.registration-section .registration-form__alert {
    box-sizing: border-box;
}

.registration-modal.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.registration-modal__content {
    background: #fff;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

.registration-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    color: #666;
    background: none;
    border: none;
    padding: 0;
}

.registration-modal__title {
    margin: 0 0 10px;
}

.registration-modal__subtitle {
    margin: 0 0 20px;
    color: #666;
}

.registration-form__field {
    margin-bottom: 20px;
}

.registration-form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.registration-form__required {
    color: #c00;
}

.registration-form__input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.registration-form__input.error {
    border-color: #c00;
}

.registration-form__footer {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.registration-form__price-label {
    color: #666;
}

.registration-form__price-value {
    font-size: 24px;
    margin-left: 10px;
}

.registration-form__submit,
.registration-pay-btn {
    padding: 12px 30px;
    background: #5a9678;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.registration-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.registration-form__consent {
    margin-top: 20px;
}

.registration-form__alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.registration-form__alert--error {
    background: #fee;
    color: #c00;
}

.registration-form__alert--info {
    background: #eef6f1;
    color: #2d5a42;
}

.registration-form__payment {
    text-align: center;
    padding: 24px 0;
}

.registration-form__payment-title {
    margin: 0 0 12px;
    font-size: 20px;
}

.registration-form__payment-text {
    margin: 0 0 24px;
    color: #666;
}

.registration-form__payment .robokassa-payment-form {
    display: none;
}

.registration-page-message {
    max-width: 640px;
    margin: 200px auto 80px;
    padding: 0 16px;
    text-align: center;
}

.registration-page-message h1 {
    margin-bottom: 16px;
}

.registration-page-message p {
    margin-bottom: 15px;
}

.registration-page-message .registration-pay-btn {
    margin-top: 20px;
}
