.sfa-container {
    direction: rtl;
    text-align: right;
    background: #f7f9fc;
    padding: 30px;
    border: 1px solid #dce4ec;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(30, 60, 90, 0.08);
    max-width: 960px;
    margin: 30px auto;
    font-family: Tahoma, Arial, sans-serif;
    box-sizing: border-box;
}

.sfa-container * {
    box-sizing: border-box;
}

.sfa-container h2 {
    color: #004a7c;
    border-bottom: 2px solid #0b6fa4;
    padding-bottom: 12px;
    margin: 0 0 25px;
    font-size: 22px;
}

.sfa-form-group {
    margin-bottom: 20px;
}

.sfa-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sfa-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #253544;
    font-size: 14px;
}

.sfa-container label small {
    color: #657786;
    font-weight: normal;
}

.sfa-container textarea,
.sfa-container select,
.sfa-container input[type="file"] {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #bdcad5;
    border-radius: 7px;
    background: #fff;
    color: #243442;
    font-family: inherit;
    font-size: 14px;
}

.sfa-container textarea {
    min-height: 110px;
    line-height: 1.9;
    resize: vertical;
}

.sfa-container textarea:focus,
.sfa-container select:focus,
.sfa-container input[type="file"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.12);
}

.sfa-help-text {
    display: block;
    color: #647586;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.7;
}

.sfa-submit {
    background: #0073aa;
    color: #fff;
    border: 0;
    border-radius: 7px;
    padding: 12px 24px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.sfa-submit:hover {
    background: #005f8d;
}

.sfa-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.sfa-notice {
    padding: 16px 18px;
    border-radius: 8px;
    margin-top: 22px;
    line-height: 1.9;
}

.sfa-notice h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.sfa-error {
    background: #fff1f1;
    border: 1px solid #e5a7a7;
    color: #8c2424;
}

.sfa-success {
    background: #eef9f1;
    border: 1px solid #98d0a6;
    color: #1f6332;
}

.sfa-download-link {
    margin: 14px 0 0;
}

.sfa-download-link a {
    display: inline-block;
    background: #137a4a;
    color: #fff !important;
    border-radius: 7px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 700;
}

.sfa-download-link a:hover {
    background: #0b6138;
}

@media (max-width: 640px) {
    .sfa-container {
        padding: 20px;
    }

    .sfa-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sfa-submit,
    .sfa-download-link a {
        width: 100%;
        text-align: center;
    }
}
