/* ============================================
   ShirazGate - استایل‌های صفحه ورود / ثبت‌نام
   ============================================ */

/* --- ۱. کانتینر اصلی باکس ورود / ثبت‌نام --- */
.max-w-\[420px\] > .border.rounded-lg {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 5px solid #002e57 !important;
    border-radius: 24px !important;
    box-shadow: 0 16px 40px rgba(0, 46, 87, 0.08) !important;
    padding: 32px 28px !important;
}

/* --- ۲. لوگو و عنوان فرم --- */
.max-w-\[420px\] img[alt*="شیراز"] {
    transition: transform 0.3s ease !important;
}
.max-w-\[420px\] img[alt*="شیراز"]:hover {
    transform: scale(1.04) !important;
}

.max-w-\[420px\] .text-normal.font-bold.text-secondary {
    color: #002e57 !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
}

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

form[name="authentication"] .form-control {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #002e57 !important;
    letter-spacing: 0.05em !important;
    transition: all 0.25s ease !important;
}

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

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

/* --- ۵. دکمه اصلی مرحله بعد --- */
form[name="authentication"] 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: 0.98rem !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;
}

form[name="authentication"] 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;
}