/* ==========================================================================
   AL-KARBALA STRUCTURAL UI PLATFORM ENGINE
   ========================================================================== */
:root {
    --white-canvas: #ffffff;
    --light-gray-bg: #FAFAFC;
    --text-dark-slate: #0F172A;
    --text-cool-muted: #64748B;
    --border-minimal: #E2E8F0;
    --border-selected: #0F172A;
    --font-suite: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--white-canvas);
    color: var(--text-dark-slate);
    font-family: var(--font-suite);
    padding-bottom: 80px;
    padding-top: 120px; /* Leave space for fixed application header layout */
}

/* 1. TOP BAR CONTAINER LAYOUT (Left-To-Right Alignment Rules) */
.mobile-top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white-canvas);
    z-index: 2050;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-minimal);
}
.app-brand-name {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-dark-slate);
    letter-spacing: -0.5px;
}
.btn-login-signup {
    text-decoration: none;
    color: var(--white-canvas);
    background-color: var(--text-dark-slate);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    transition: background-color 0.2s;
}
.notification-bell-icon {
    font-size: 1.25rem;
    color: var(--text-dark-slate);
    cursor: pointer;
}

/* Full Width Structural input */
.full-width-search-wrapper {
    position: relative;
    width: 100%;
}
.mobile-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-cool-muted);
    font-size: 0.95rem;
}
.mobile-input-field {
    width: 100%;
    padding: 8px 12px 8px 38px;
    border: 1px solid var(--border-minimal);
    border-radius: 20px;
    background-color: #F1F5F9;
    font-size: 0.85rem;
}

/* 2. HERO INTRO SPACE */
.hero-intro-shelf {
    padding: 24px 0 16px;
}
.btn-premium-action {
    background-color: var(--text-dark-slate);
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}
.btn-outline-action {
    background-color: transparent;
    border: 1px solid var(--border-minimal);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark-slate);
}

/* 3. CENTERED OPTION CHANNELS AND TRUST BLOCKS */
.parameter-box {
    background-color: var(--white-canvas);
    border: 1px solid var(--border-minimal);
    border-radius: 12px;
    padding: 14px;
}
.parameter-box h6 {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark-slate);
}
.parameter-box p {
    color: var(--text-cool-muted);
    font-size: 0.7rem;
}
.parameter-box.active-selection {
    border: 2px solid var(--border-selected);
    padding: 13px;
}
.trust-pill {
    background-color: var(--light-gray-bg);
    border: 1px solid var(--border-minimal);
    border-radius: 8px;
    padding: 6px 4px;
}
.trust-pill i {
    font-size: 0.85rem;
    display: block;
    margin-bottom: 2px;
}
.trust-pill span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-dark-slate);
}

/* 4. STRUCTURAL ROW CARD COMPONENTS (Middle Alignment Rules) */
.accent-center-header {
    position: relative;
}
.accent-center-header h5 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.zair-structural-card {
    background-color: var(--white-canvas);
    border: 1px solid var(--border-minimal);
    border-radius: 14px;
    padding: 12px;
    height: 100%;
}
.square-media-shell {
    background-color: var(--light-gray-bg);
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.structural-center-icon {
    font-size: 2.2rem;
    color: var(--text-dark-slate);
}
.structural-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}
.structural-card-meta {
    font-size: 0.7rem;
    margin-bottom: 0;
}
.btn-action-shelf {
    background-color: #F1F5F9;
    color: var(--text-dark-slate);
    border: none;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px;
    border-radius: 8px;
}

/* MINI SERVICE COMPONENT CARDS */
.feature-box-mini {
    background-color: var(--white-canvas);
    border: 1px solid var(--border-minimal);
    border-radius: 10px;
    padding: 12px;
}
.feature-box-mini i {
    font-size: 1.1rem;
}

/* 5. TIMELINE STRUCTURAL RULES */
.timeline-v-stack {
    max-width: 300px;
    margin: 0 auto;
}
.timeline-step {
    display: flex;
    align-items: center;
    gap: 12px;
}
.step-num {
    width: 24px;
    height: 24px;
    background-color: var(--text-dark-slate);
    color: var(--white-canvas);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.timeline-line {
    width: 2px;
    height: 16px;
    background-color: var(--border-minimal);
    margin: 4px 11px;
}

/* 6. MISC COMPONENT LAYOUT CORES */
.gallery-placeholder-frame {
    background-color: var(--light-gray-bg);
    border: 1px dashed var(--border-minimal);
    border-radius: 8px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-cool-muted);
}
.testimonial-card-standalone {
    background-color: var(--light-gray-bg);
    border-radius: 12px;
    padding: 14px;
    max-width: 400px;
}
.actionable-banner-base {
    background-color: var(--text-dark-slate);
    border-radius: 16px;
}

/* 7. APP VIEWPORT NAVIGATION MENU BOTTOM DOCK BAR */
.mobile-navigation-dock-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background-color: var(--white-canvas);
    border-top: 1px solid var(--border-minimal);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 2050;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.02);
}
.dock-item {
    text-decoration: none;
    color: #94A3B8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%;
    height: 100%;
}
.dock-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}
.dock-item span {
    font-size: 0.65rem;
    font-weight: 500;
}
.dock-item.active, .dock-item:hover {
    color: var(--text-dark-slate);
}

.main-footer {
    border-top: 1px solid var(--border-minimal);
    background-color: var(--white-canvas);
}