*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
}

/* Outer wrapper */
.form-outer {
    min-height: 100vh;
    background: #f0f2f5;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 16px;
}

/* Card */
.form-card {
    background: #ffffff;
    border: 1px solid #d6dde6;
    border-radius: 4px;
    padding: 24px 28px 32px;
    width: 100%;
    max-width: 540px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Section label */
.form-section-label {
    font-size: 13px;
    color: #1f0f4d;
    font-weight: 600;
    margin-bottom: 8px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 6px;
}

/* Field labels */
.field-label {
    font-size: 13px;
    color: #1f0f4d;
    font-weight: 500;
    margin-bottom: 3px;
}

.req {
    color: #1f0f4d;
}

/* Inputs */
.form-control,
.form-select {
    border: 1px solid #b8c6d6;
    border-radius: 2px;
    font-size: 13px;
    color: #333;
    background: #fff;
    padding: 5px 8px;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #4DBFBF;
        box-shadow: 0 0 0 2px rgba(77, 191, 191, 0.15);
        outline: none;
    }

/* Radio buttons */
.form-check-input[type="radio"] {
    accent-color: #4DBFBF;
}

.form-check-label {
    font-size: 13px;
    color: #444;
}

/* Checkboxes */
.form-check-input[type="checkbox"] {
    accent-color: #4DBFBF;
    border-radius: 2px;
}

.check-link {
    color: #4DBFBF;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
}

/* Submit button */
.btn-submit {
    background-color: #4DBFBF;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 10px;
    width: 100%;
    transition: background 0.2s;
}

    .btn-submit:hover:not(:disabled) {
        background-color: #3aacac;
        color: #fff;
    }

    .btn-submit:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        color: #fff;
    }

/* Success icon */
.success-icon {
    width: 56px;
    height: 56px;
    background: #4DBFBF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto;
}

/* Alert override */
.alert {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 3px;
}

/* Form page title */
.form-page-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f0f4d;
    margin-bottom: 16px;
}

/* Checkbox box */
.checkbox-box {
    border: 1px solid #d6dde6;
    border-radius: 3px;
    padding: 12px 16px;
    background: #fafbfc;
}
