/* ============================================================================
   AG® ARABIA GROUP — FACEBOOK IDENTITY WEBSITE, 1-ROW APP BAR & FOOTER POLISH
   ============================================================================ */
.ag-world-trust-bar {
    background: #FFFFFF !important;
    border-bottom: 1px solid #DADDE1 !important;
    padding: 8px 12px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    color: #1C1E21 !important;
}
.ag-gcc-reach-banner {
    background: linear-gradient(135deg, #1877F2 0%, #166FE5 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid #166FE5 !important;
    border-radius: 999px !important;
    padding: 4px 16px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-align: center !important;
    line-height: 1.5 !important;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.22) !important;
}
.ag-gcc-reach-banner strong { color: #FFFFFF !important; text-decoration: none !important; }
.ag-trust-items-row {
    display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: center !important;
    gap: 8px 16px !important; font-size: 12px !important; font-weight: 700 !important; color: #1C1E21 !important;
}
.ag-trust-items-row .ag-trust-link { color: #1877F2 !important; font-weight: 900 !important; text-decoration: underline !important; }

/* SINGLE-ROW COMPACT APP PREVIEW BAR WITH EXPRESSIVE BRAND COLORS */
.ag-quick-launch-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 1280px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    padding: 2px 6px !important;
}
.ag-quick-launch-row::-webkit-scrollbar { display: none; }
.ag-ql-btn {
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
    color: #FFFFFF !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.14) !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease !important;
}
.ag-ql-btn:hover { transform: translateY(-1px) !important; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.22) !important; color: #FFFFFF !important; }
.ag-ql-btn .ag-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; display: inline-block; box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.35); }

/* Distinct expressive brand color for each app */
html body #wrapwrap .ag-app-erp      { background: linear-gradient(135deg, #1877F2, #166FE5) !important; color: #FFFFFF !important; }
html body #wrapwrap .ag-app-aquantic { background: linear-gradient(135deg, #0891B2, #06B6D4) !important; color: #FFFFFF !important; }
html body #wrapwrap .ag-app-aquatec  { background: linear-gradient(135deg, #1D4ED8, #2563EB) !important; color: #FFFFFF !important; }
html body #wrapwrap .ag-app-masa     { background: linear-gradient(135deg, #7C3AED, #9333EA) !important; color: #FFFFFF !important; }
html body #wrapwrap .ag-app-yalla    { background: linear-gradient(135deg, #059669, #10B981) !important; color: #FFFFFF !important; }
html body #wrapwrap .ag-app-mira     { background: linear-gradient(135deg, #E11D48, #F43F5E) !important; color: #FFFFFF !important; }
html body #wrapwrap .ag-app-fannigo  { background: linear-gradient(135deg, #EA580C, #F59E0B) !important; color: #FFFFFF !important; }
html body #wrapwrap .ag-app-compare  { background: linear-gradient(135deg, #0F172A, #1E293B) !important; color: #FDE047 !important; border: 1px solid #FACC15 !important; }
html body #wrapwrap .ag-app-map      { background: linear-gradient(135deg, #475569, #64748B) !important; color: #FFFFFF !important; }

/* Crisp Gulf Profile Avatar in Website Header */
header#top .ag-gulf-avatar {
    width: 28px !important; height: 28px !important; border-radius: 50% !important; object-fit: cover !important;
    border: 2px solid #1877F2 !important; vertical-align: middle !important;
}

/* Clean Facebook-Style Footer Social Buttons */
footer#bottom .ag-fb-soc-btn {
    width: 36px !important; height: 36px !important; border-radius: 50% !important;
    background: #E7F3FF !important; color: #1877F2 !important; border: 1px solid #BFDBFE !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    font-size: 16px !important; text-decoration: none !important; transition: all 0.18s ease !important;
}
footer#bottom .ag-fb-soc-btn:hover { background: #1877F2 !important; color: #FFFFFF !important; border-color: #1877F2 !important; }
footer#bottom .ag-fb-soc-btn.ag-fb-soc-wa { background: #DCFCE7 !important; color: #16A34A !important; border-color: #BBF7D0 !important; }
footer#bottom .ag-fb-soc-btn.ag-fb-soc-wa:hover { background: #16A34A !important; color: #FFFFFF !important; }

@media (max-width: 1120px) {
    .ag-quick-launch-row { justify-content: flex-start !important; }
}
@media (max-width: 768px) {
    #wrapwrap header#top .navbar-brand img { height: 44px !important; max-height: 48px !important; width: auto !important; }
    .ag-gcc-reach-banner { font-size: 11px !important; border-radius: 14px !important; padding: 5px 10px !important; }
    #wrapwrap footer#bottom { text-align: right !important; }
}
