/* ============================================
   ShirazGate - استایل‌های بخش‌های کوچک باقی‌مانده
   ============================================ */

/* ============================================
   ۱. Breadcrumb (مسیر صفحه)
   ============================================ */
.breadcrumb {
    padding: 12px 0 !important;
    margin-bottom: 16px !important;
    font-size: 0.8rem !important;
}

.breadcrumb a {
    color: #64748b !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.breadcrumb a:first-child {
    color: #002e57 !important;
    font-weight: 700 !important;
}

.breadcrumb a:hover {
    color: #002e57 !important;
}

.breadcrumb span {
    color: #cbd5e1 !important;
    margin: 0 6px !important;
    font-size: 0.7rem !important;
}

/* ============================================
   ۲. صفحه رمز عبور (Password Page)
   ============================================ */
.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 !important;
    overflow: hidden !important;
}

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

.protection-form .form-label {
    color: #002e57 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.protection-form .form-control {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    color: #002e57 !important;
    transition: all 0.25s ease !important;
}

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

.protection-form 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;
}

.protection-form 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;
}

/* ============================================
   ۳. صفحه خبرنامه (Subscription Page)
   ============================================ */
.subscription-form .form-label {
    color: #002e57 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.subscription-form .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;
}

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

.subscription-form .validation-inline {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
}

.subscription-form 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;
}

.subscription-form 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;
}

.subscription-form button.btn-primary.is-loading {
    pointer-events: none !important;
    opacity: 0.7 !important;
}

/* ============================================
   ۴. استوری‌ها (Stories)
   ============================================ */
.stories-readmore-btn {
    background: #ffffff !important;
    color: #002e57 !important;
    border-radius: 100px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.stories-readmore-btn:hover {
    background: #F4B860 !important;
    color: #002e57 !important;
    transform: translateY(-2px) !important;
}

.stories-readmore-btn i {
    margin-right: 8px !important;
    transition: transform 0.2s ease !important;
}

.stories-readmore-btn:hover i {
    transform: translateX(-4px) !important;
}

.stories-close-btn {
    color: rgba(255, 255, 255, 0.75) !important;
    transition: color 0.2s ease !important;
}

.stories-close-btn:hover {
    color: #ffffff !important;
}

/* ============================================
   ۵. Page Header (هدر صفحات داخلی)
   ============================================ */
.sg-header ~ .scope,
main > .scope.headerType {
    position: relative !important;
}

/* متن عنوان صفحه */
.scope h1,
.scope .text-larger {
    color: #002e57 !important;
    font-weight: 900 !important;
}

/* ============================================
   ۶. Alert Styles (پیام‌ها)
   ============================================ */
.alert-green {
    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;
}

.alert-orange {
    background: rgba(244, 184, 96, 0.1) !important;
    color: #92400e !important;
    border: 1px solid rgba(244, 184, 96, 0.3) !important;
    border-radius: 12px !important;
}

.alert-red {
    background: rgba(220, 38, 38, 0.06) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
    border-radius: 12px !important;
}

/* ============================================
   ۷. Scrollbar (نوار اسکرول)
   ============================================ */
::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 100px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}
