/* ============================================
   ShirazGate - استایل‌های صفحه تماس با ما
   ============================================ */

/* --- ۱. کانتینر فرم تماس --- */
.lg\:max-w-\[576px\] > .border.p-24,
.lg\:max-w-\[576px\] > .border.p-24.lg\:p-32 {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 46, 87, 0.06) !important;
    position: relative;
    overflow: hidden;
}

.lg\:max-w-\[576px\] > .border.p-24::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #002e57 0%, #F4B860 100%);
    border-radius: 20px 20px 0 0;
}

/* --- ۲. لیبل فیلدها --- */
form[name="contact"] .form-label {
    color: #002e57 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* --- ۳. فیلدهای ورودی --- */
form[name="contact"] .form-control {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    color: #002e57 !important;
    transition: all 0.25s ease !important;
}

form[name="contact"] .form-control:focus {
    background: #ffffff !important;
    border-color: #002e57 !important;
    box-shadow: 0 0 0 3px rgba(0, 46, 87, 0.1) !important;
}

form[name="contact"] textarea.form-control {
    resize: vertical !important;
    min-height: 120px !important;
}

/* --- ۴. پیام‌های اعتبارسنجی --- */
form[name="contact"] .validation-inline {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
}

/* --- ۵. دکمه ارسال --- */
form[name="contact"] button.btn-primary {
    background: linear-gradient(135deg, #002e57 0%, #00407a 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 14px !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 8px 20px rgba(0, 46, 87, 0.2) !important;
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
}

form[name="contact"] button.btn-primary:hover {
    background: linear-gradient(135deg, #F4B860 0%, #e0a34b 100%) !important;
    color: #002e57 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(244, 184, 96, 0.35) !important;
}

form[name="contact"] button.btn-primary::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

form[name="contact"] button.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

/* --- ۶. پیام موفقیت --- */
.alert.alert-green.alert-sm {
    background: rgba(0, 46, 87, 0.06) !important;
    color: #002e57 !important;
    border: 1px solid rgba(0, 46, 87, 0.15) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    font-weight: 600 !important;
}

/* --- ۷. حالت لودینگ --- */
form[name="contact"] button.btn-primary.is-loading {
    pointer-events: none !important;
    opacity: 0.7 !important;
}
