
.contact-fab {
    position: fixed;
    bottom: 250px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: background-color 0.3s, box-shadow 0.3s;
    z-index: 1000;
}

.contact-fab:hover {
    background-color: #1e40af;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: white;
}

.contact-fab i {
    font-size: 1.5rem;
}

/* استایل‌های RTL برای فیلدهای فرم */
.rtl-form input,
.rtl-form select,
.rtl-form textarea {
    text-align: right;
    direction: rtl;
}

.rtl-form .form-control {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.rtl-form .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.file-upload-label {
    cursor: pointer;
    border: 1px solid #d1d5db;
    background: white;
    transition: all 0.2s;
    height: 38px;
    margin: 0;
    font-size: 0.875rem;
    padding: 0.4rem 0.8rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.file-upload-label:hover {
    background-color: #f9fafb;
    border-color: #2563eb;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* استایل برای فیلدهای دارای خطا */
.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.is-valid {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* انیمیشن برای پاک شدن خطا */
.error-message {
    transition: opacity 0.3s ease;
}

/* استایل‌های کارت و هدر */
.instructor-card {
    border-radius: 0.5rem;
    overflow: hidden;
    border: none;
    max-width: 600px;
}

.instructor-card-header {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    padding: 1rem;
    border: none;
}

.instructor-card-title {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* استایل‌های فرم */
.form-label-custom {
    font-weight: 600;
    display: block;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.submit-btn {
    background-color: #2563eb;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.9rem;
    height: 46px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1e40af;
}

.alert-custom {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
    border-radius: 0.375rem;
    padding: 0.75rem;
    font-size: 0.875rem;
}

.form-text-custom {
    font-size: 0.75rem;
    color: #6b7280;
}