/* ================================================================
   hajj.css — زخرفة موسم الحج ١٤٤٧ هـ
   النخيل السبع التجارية | الإدارة المساعدة للإعاشة
   ================================================================ */

/* ──────────────────────────────────────────────────────────────
   شارة موسم الحج | Hajj Seal Badge
   ────────────────────────────────────────────────────────────── */
.hajj-seal {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.38);
    color: #c9a227;
    padding: 0.28rem 0.85rem;
    border-radius: 99px;
    font-size: 0.76rem;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

/* ──────────────────────────────────────────────────────────────
   المآذن الزخرفية | Decorative Minarets
   ────────────────────────────────────────────────────────────── */
.hajj-minarets {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hajj-minaret-l,
.hajj-minaret-r {
    position: absolute;
    bottom: 0;
    width: 56px;
    opacity: 0.1;
    fill: white;
}

.hajj-minaret-l  { left: 18px; }
.hajj-minaret-r  { right: 18px; transform: scaleX(-1); transform-origin: right center; }

/* ──────────────────────────────────────────────────────────────
   أنماط الهيدر العام | Admin Header Enhancements
   ────────────────────────────────────────────────────────────── */
header {
    position: relative;
    overflow: hidden;
}

/* نمط إسلامي خفي فوق كل الهيدرات */
header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70'%3E%3Cpath d='M35 17L38 28L48 23L42 32L52 35L42 38L48 47L38 42L35 53L32 42L22 47L28 38L18 35L28 32L22 23L32 28Z' fill='none' stroke='rgba(255%2C255%2C255%2C0.06)' stroke-width='0.8'/%3E%3C/svg%3E");
    background-size: 70px 70px;
    pointer-events: none;
    z-index: 0;
}

header > * { position: relative; z-index: 1; }

/* ──────────────────────────────────────────────────────────────
   خط ذهبي فاصل | Gold Decorative Rule
   ────────────────────────────────────────────────────────────── */
.hajj-gold-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #c9a227 25%, #f5e070 50%, #c9a227 75%, transparent 100%);
    opacity: 0.5;
    border: none;
    margin: 0;
}

/* ──────────────────────────────────────────────────────────────
   تحسينات بطاقات النماذج | Form Card Enhancements
   ────────────────────────────────────────────────────────────── */
.card-header,
.emergency-card .card-header,
.staff-card .card-header {
    position: relative;
    overflow: hidden;
}

.card-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70'%3E%3Cpath d='M35 17L38 28L48 23L42 32L52 35L42 38L48 47L38 42L35 53L32 42L22 47L28 38L18 35L28 32L22 23L32 28Z' fill='none' stroke='rgba(255%2C255%2C255%2C0.07)' stroke-width='0.8'/%3E%3C/svg%3E");
    background-size: 70px 70px;
    pointer-events: none;
}

/* زخرفة المآذن داخل بطاقة النموذج */
.form-minarets {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.form-minarets svg {
    position: absolute;
    bottom: 0;
    width: 50px;
    opacity: 0.08;
    fill: white;
}

.form-minarets .fm-l { left: 10px; }
.form-minarets .fm-r { right: 10px; transform: scaleX(-1); }

.card-header > * { position: relative; z-index: 1; }

/* ──────────────────────────────────────────────────────────────
   تصميم الكعبة للخلفية | Kaaba Background Watermark
   ────────────────────────────────────────────────────────────── */
.hajj-kaaba-bg {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.04;
    pointer-events: none;
    width: 200px;
}

/* ──────────────────────────────────────────────────────────────
   شريط بطاقة تسجيل الدخول | Login Card Hajj Style
   ────────────────────────────────────────────────────────────── */
.hajj-login-banner {
    background: linear-gradient(135deg, #0b1e09, #173315);
    border-radius: 16px 16px 0 0;
    padding: 1.1rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #c9a227;
    margin: -3rem -2.5rem 2rem;
}

.hajj-login-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70'%3E%3Cpath d='M35 17L38 28L48 23L42 32L52 35L42 38L48 47L38 42L35 53L32 42L22 47L28 38L18 35L28 32L22 23L32 28Z' fill='none' stroke='rgba(201%2C162%2C39%2C0.2)' stroke-width='0.8'/%3E%3C/svg%3E");
    background-size: 70px 70px;
}

.hajj-login-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

/* ──────────────────────────────────────────────────────────────
   زخرفة خط الذهب السفلي | Footer Gold Accent
   ────────────────────────────────────────────────────────────── */
.hajj-footer-strip {
    background: linear-gradient(135deg, #0b1e09, #173315);
    border-top: 2px solid #c9a227;
    padding: 0.6rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hajj-footer-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70'%3E%3Cpath d='M35 17L38 28L48 23L42 32L52 35L42 38L48 47L38 42L35 53L32 42L22 47L28 38L18 35L28 32L22 23L32 28Z' fill='none' stroke='rgba(201%2C162%2C39%2C0.18)' stroke-width='0.8'/%3E%3C/svg%3E");
    background-size: 70px 70px;
}

.hajj-footer-strip-inner {
    position: relative;
    z-index: 1;
    color: rgba(201, 162, 39, 0.7);
    font-size: 0.75rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

/* ──────────────────────────────────────────────────────────────
   استجابة الشاشات الصغيرة | Mobile Responsive
   ────────────────────────────────────────────────────────────── */
