.form-success {
    text-align: center;
    font-size: 20px;
    color: #27ae60;
    padding: 40px 20px;
}

.loyalty-form {
    background: #f5f5f5;
    padding: 40px 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.loyalty-form__inner {
    max-width: 700px;
    margin: 0 auto;
}

.loyalty-form__title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 5px;
}

.loyalty-form__subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    align-items: center;
}

.form-row label {
    width: 150px;
    margin-top: 0;
}

.form-row:has(textarea) {
    align-items: baseline;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-field input {
    height: 40px;
    border: none;
    background: #eee;
    border-radius: 6px;
    padding: 0 12px;
}

.form-field textarea {
    min-height: 100px;
    border: none;
    background: #eee;
    border-radius: 6px;
    padding: 12px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    background: #e8e8e8;
}

.input-error {
    border: 1px solid #e74c3c !important;
    background: #fff5f5 !important;
}

.form-error-text {
    color: #e74c3c;
    margin-top: 4px;
}

.form-checkbox {
    margin-bottom: 10px;
}

.form-checkbox label {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.checkbox-error {
    outline: 1px solid #e74c3c;
    padding: 6px;
    border-radius: 6px;
}

.form-text {
    margin: 20px 0;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.form-submit button {
    background: #f37021;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .form-row {
        display: block;
    }

    .form-row label {
        width: 100%;
        margin-top: 0;
    }

    .form-submit button {
        width: 100%;
    }

    .form-field input {
        width: 100%;
    }

    .form-field textarea {
        width: 100%;
    }
}


.form-attachment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.form-attachment__icon {
    flex-shrink: 0;
    color: #607d8b;
    display: flex;
    align-items: center;
}

.form-attachment__text {
    color: #444;
    line-height: 1.5;
}

.form-attachment__text a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.form-attachment__text a:hover {
    text-decoration: underline;
}
