.sfa-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    direction: rtl;
}

.sfa-form-container h3 {
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0073aa;
    color: #333;
    font-size: 24px;
}

.sfa-field {
    margin-bottom: 20px;
}

.sfa-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.sfa-field label .required {
    color: #dc3545;
}

.sfa-field input[type="text"],
.sfa-field input[type="email"],
.sfa-field input[type="tel"],
.sfa-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.sfa-field input:focus,
.sfa-field textarea:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
    outline: none;
}

.sfa-field textarea {
    resize: vertical;
    min-height: 120px;
}

.sfa-submit {
    width: 100%;
    padding: 15px 30px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

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

.sfa-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.sfa-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.sfa-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sfa-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.sfa-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: sfa-spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes sfa-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .sfa-form-container {
        padding: 20px;
        margin: 0 10px;
    }

    .sfa-form-container h3 {
        font-size: 20px;
    }

    .sfa-submit {
        font-size: 16px;
        padding: 12px 20px;
    }
}
