/* 
 * EAGLE CSP Safe CSS
 * Extracted inline styles and JS style manipulations
 */

/* ================== Chatbot Component (views/layouts/public.php) ================== */
.eagle-chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
}

.eagle-chatbot-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: none;
    white-space: nowrap;
    background: #071B30;
    border: 1px solid rgba(254, 107, 0, 0.3);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.eagle-chatbot-tooltip-show {
    display: block !important;
}

.eagle-chatbot-tooltip-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eagle-chatbot-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    display: inline-block;
}

.eagle-chatbot-title {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.eagle-chatbot-subtitle {
    color: #94a3b8;
    font-size: 10px;
    margin: 0;
    margin-top: 2px;
    line-height: 1;
}

.eagle-chatbot-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0A2540 0%, #1a3a5c 50%, #FE6B00 100%);
    box-shadow: 0 8px 24px rgba(254, 107, 0, 0.3);
    transition: transform 0.2s;
    text-decoration: none;
}

/* Chatbot button interactions classes toggled by JS */
.eagle-chatbot-btn-hover {
    transform: scale(1.1);
}

.eagle-chatbot-btn-active {
    transform: scale(0.95);
}

.eagle-chatbot-btn img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.eagle-chatbot-btn-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    border: 2px solid #0A2540;
}

/* ================== Utilities Component ================== */
.eagle-layout-h-16 {
    height: 4rem !important;
}

.eagle-avatar-32 {
    width: 32px !important;
    height: 32px !important;
}

.eagle-badge-20 {
    width: 20px !important;
    height: 20px !important;
}

/* ================== Top Bar Component (views/partials/top-bar.php) ================== */
.eagle-topbar-wrapper {
    border-color: rgba(255, 255, 255, 0.05) !important;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    justify-content: space-between;
}

.eagle-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.eagle-topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eagle-h-16px {
    height: 16px;
}

.eagle-topbar-gov-text {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.eagle-topbar-text-muted {
    color: rgba(255, 255, 255, 0.45);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eagle-topbar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.eagle-topbar-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.eagle-topbar-social-link {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.eagle-topbar-social-link:hover {
    color: #C8A84B !important;
}

.eagle-icon-14 {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.eagle-topbar-divider-text {
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
}

.eagle-topbar-divider-line {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-block;
}

.eagle-topbar-action-link {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.eagle-topbar-action-link:hover {
    color: #C8A84B !important;
}

.eagle-zoom-controls {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    overflow: hidden;
    height: 22px;
}

.eagle-zoom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 22px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
    cursor: pointer;
    font-size: 9px;
    letter-spacing: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.15s, color 0.15s;
}

.eagle-zoom-btn:hover,
.eagle-zoom-btn.hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

.eagle-zoom-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 8px;
    min-width: 34px;
    text-align: center;
    cursor: default;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.eagle-zoom-btn-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 22px;
    border: none;
    background: transparent;
    color: rgba(200, 168, 75, 0.8);
    font-weight: 700;
    cursor: pointer;
    font-size: 9px;
    letter-spacing: 0;
    transition: background 0.15s, color 0.15s;
}

.eagle-zoom-btn-reset:hover,
.eagle-zoom-btn-reset.hover {
    background: rgba(200, 168, 75, 0.15) !important;
    color: #C8A84B !important;
}

/* ================== Page Banner Component (views/partials/page-banner.php) ================== */
.eagle-page-banner {
    background-color: var(--eagle-primary-container);
    padding: 3.5rem 0 2.5rem;
}

.eagle-page-banner-particles {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    pointer-events: none;
}

.eagle-z-1 {
    z-index: 1;
}

.eagle-breadcrumb-list {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

.eagle-breadcrumb-link {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.eagle-breadcrumb-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.eagle-icon-sm {
    font-size: 0.875rem;
    line-height: 1;
}

.eagle-breadcrumb-separator {
    font-size: 0.75rem;
    line-height: 1;
    opacity: 0.4;
}

.eagle-breadcrumb-active {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.eagle-page-banner-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    background-color: rgba(116, 91, 0, 0.25);
    color: var(--eagle-tertiary-fixed);
    border: 1px solid rgba(116, 91, 0, 0.35);
}

.eagle-page-banner-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.eagle-page-banner-subtitle {
    font-size: 1.0625rem;
    color: rgba(210, 228, 255, 0.7);
    max-width: 48rem;
}

/* ================== Header Component (views/partials/header.php) ================== */
.eagle-header-logo-img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.eagle-header-vr {
    height: 2.2rem;
}

.eagle-header-title {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--eagle-primary);
}

.eagle-header-subtitle {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--eagle-secondary);
}

.eagle-lang-toggle {
    font-size: 11px;
    border-color: var(--eagle-outline-variant) !important;
    color: var(--eagle-on-surface-variant);
    cursor: pointer;
}

.eagle-opacity-30 {
    opacity: 0.3;
}

.eagle-admin-login-btn {
    font-size: 12px;
    border-color: var(--eagle-outline-variant) !important;
    color: var(--eagle-primary);
}

.eagle-icon-13 {
    font-size: 13px;
    line-height: 1;
}

.eagle-helpline-btn {
    font-size: 13px;
    background-color: var(--eagle-primary);
    letter-spacing: 0.01em;
}

.eagle-icon-15 {
    font-size: 15px;
    line-height: 1;
}

.eagle-header-nav-bg {
    background-color: var(--eagle-primary-container);
    z-index: 1030;
}

.eagle-header-nav {
    min-height: 3.5rem;
}

.eagle-icon-14-lh1 {
    font-size: 14px;
    line-height: 1;
}

.eagle-icon-18 {
    font-size: 18px !important;
    line-height: 1;
}

.eagle-lang-switcher {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eagle-opacity-100 {
    opacity: 1;
}

.eagle-opacity-50 {
    opacity: 0.5;
}

.eagle-opacity-25 {
    opacity: 0.25;
}

/* ================== Alert Strip Component (views/partials/alert-strip.php) ================== */
.eagle-alert-strip {
    background-color: var(--eagle-secondary-container);
    padding: 0.5rem 3rem;
}

.eagle-alert-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    line-height: 1.4;
}

.eagle-alert-dismiss {
    border-radius: 50%;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s;
    z-index: 2;
}

.eagle-alert-dismiss:hover {
    opacity: 1;
}

.eagle-icon-1rem {
    font-size: 1rem;
}

.eagle-alert-strip-static {
    background-color: var(--eagle-secondary-container);
    padding: 0.5rem 2rem;
}

/* ================== Breadcrumb Component (views/partials/breadcrumb.php) ================== */
.eagle-breadcrumb-wrapper {
    background-color: var(--eagle-primary-container);
    padding: 2rem 0 1.75rem;
}

.eagle-breadcrumb-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ================== Public Page Headers ================== */
.eagle-page-header {
    background-color: var(--eagle-primary-container);
    padding: 3.5rem 0 2.5rem;
}

.eagle-page-header-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    background-color: rgba(116, 91, 0, 0.25);
    color: var(--eagle-tertiary-fixed);
    border: 1px solid rgba(116, 91, 0, 0.35);
}

.eagle-page-header-badge-alt {
    background-color: var(--eagle-secondary-container);
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.eagle-page-header-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.eagle-page-header-subtitle {
    font-size: 1.0625rem;
    color: rgba(210, 228, 255, 0.7);
    max-width: 48rem;
}

.eagle-page-header-divider {
    width: 4rem;
    height: 4px;
    background-color: var(--eagle-secondary-container);
    margin-top: 1.5rem;
    border-radius: 999px;
}

.eagle-breadcrumb-wrapper {
    background-color: var(--eagle-primary-container);
    padding: 2rem 0 1.75rem;
}

.eagle-breadcrumb-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ================== Footer Component (views/partials/footer.php) ================== */
.eagle-footer-main {
    background: #071B30;
    color: #fff;
    /* padding-top: 4.5rem; */
}

.eagle-color-accent {
    color: #FE6B00;
}

.eagle-footer-text-muted {
    color: #cbd5e1;
}

.eagle-footer-helpline-btn {
    border-radius: 9999px;
    border: 1px solid rgba(254, 107, 0, 0.4);
}

.eagle-footer-link {
    color: #cbd5e1;
    transition: color 0.2s;
}

.eagle-footer-link:hover {
    color: #fff !important;
}

.eagle-footer-bullet {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(254, 107, 0, 0.5);
    flex-shrink: 0;
    display: inline-block;
}

.eagle-footer-helpline-card {
    border-radius: 12px;
    border: 1px solid rgba(254, 107, 0, 0.3);
    background: rgba(254, 107, 0, 0.05);
    padding: 20px;
    margin-bottom: 16px;
}

.eagle-footer-divider {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.eagle-footer-bottom {
    background: #040F1C;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.eagle-footer-status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.6);
    display: inline-block;
}

/* ==========================================================================
   Home Page Components (CSP Refactor)
   ========================================================================== */

/* Hero Section */
.eagle-hero-section {
    min-height: 640px;
    background-color: var(--eagle-primary-container);
}

.eagle-hero-particles {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    pointer-events: none;
}

.eagle-hero-gradient {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(to right, var(--eagle-primary-container) 35%, rgba(10, 37, 64, 0.5) 100%);
}

.eagle-hero-content-wrapper {
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
}

.eagle-hero-row {
    /* padding-top: 5rem; */
    padding-bottom: 5rem;
}

.eagle-hero-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    width: fit-content;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.eagle-hero-badge-ping {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--eagle-secondary-container);
    display: inline-block;
}

.eagle-hero-title {
    font-size: clamp(2.75rem, 6vw, 4.75rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.eagle-hero-subtitle {
    color: rgba(210, 228, 255, 0.65);
    font-size: 1.125rem;
    max-width: 36rem;
    line-height: 1.7;
    font-weight: 300;
}

.eagle-hero-title-highlight {
    color: var(--eagle-secondary-container);
    font-style: italic;
}

.eagle-hero-btn-report {
    background: var(--eagle-secondary-container);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    box-shadow: 0 20px 40px rgba(254, 107, 0, 0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.eagle-hero-btn-report:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.eagle-hero-btn-helpline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    transition: background 0.2s ease;
}

.eagle-hero-btn-helpline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.eagle-hero-radar-glow {
    top: -5rem;
    left: -5rem;
    right: -5rem;
    bottom: -5rem;
    background: rgba(26, 75, 132, 0.18);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.eagle-hero-radar-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transform: rotate(1deg);
    transition: transform 0.7s ease;
}

.eagle-hero-radar-card:hover {
    transform: rotate(0deg);
}

.eagle-hero-radar-ping {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ef4444;
    display: inline-block;
}

.eagle-hero-radar-text {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.eagle-hero-radar-icon {
    font-size: 2.25rem;
    color: rgba(255, 255, 255, 0.22);
}

.eagle-hero-radar-emblem-wrapper {
    min-height: 280px;
}

.eagle-hero-radar-emblem {
    max-height: 260px;
    width: auto;
    object-fit: contain;
    /* opacity: 0.3; */
    /* filter: invert(1) brightness(3); */
    mix-blend-mode: screen;
}

/* Hero Carousel
 * Fixed 450px height container. Images adapt without distortion:
 *   - Larger than container → scaled down proportionally to fit
 *   - Smaller than container → shown at natural size, centered (never stretched up)
 *   - All images remain fully visible, centered, never cropped
 *
 * IMPORTANT: flex centering is on .eagle-carousel-img-frame (inner wrapper), NOT on
 * .carousel-item — putting display:flex on .carousel-item overrides Bootstrap's
 * display:none on inactive slides, causing all slides to show simultaneously.
 */
#heroCarousel {
    height: 450px;
    background-color: #0a2540;
}

#heroCarousel .carousel-inner {
    height: 100%;
}

#heroCarousel .carousel-item {
    height: 100%;
    position: relative;
    background-color: #0a2540;
    /* NO display:flex here — would break Bootstrap slide show/hide */
}

/* Inner wrapper handles flex centering safely */
.eagle-carousel-img-frame {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eagle-hero-carousel-img {
    /* scale-down: shrinks oversized images to fit, keeps small images at natural size */
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: scale-down;
    display: block;
}

.eagle-hero-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.75rem 1.75rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    text-align: left;
}

.eagle-hero-carousel-title {
    font-family: var(--font-manrope, 'Manrope', sans-serif);
    font-weight: 800;
    font-size: 1.125rem;
    color: #ffffff;
    margin-bottom: 0.375rem;
}

.eagle-hero-carousel-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.eagle-hero-carousel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fe6b00;
    text-decoration: none;
    transition: color 0.2s;
}

.eagle-hero-carousel-link:hover {
    color: #ff8c3a;
}

.eagle-hero-carousel-link .material-symbols-outlined {
    font-size: 1rem;
}

/* Carousel indicators — compact pill style
 * Bootstrap adds border-top/bottom: 10px transparent as invisible touch padding,
 * which makes the buttons render as large blocks. Must override with !important. */
#heroCarousel .carousel-indicators button {
    width: 20px !important;
    height: 3px !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-radius: 2px !important;
    background-clip: padding-box !important;
    opacity: 0.45 !important;
    transition: width 0.3s ease, opacity 0.3s ease !important;
}

#heroCarousel .carousel-indicators button.active {
    width: 32px !important;
    opacity: 1 !important;
}

@media (max-width: 991.98px) {
    #heroCarousel {
        height: 320px;
    }
}

/* Quick Action Tiles */
.eagle-quick-section {
    z-index: 30;
    margin-top: -6rem;
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto;
}

.eagle-quick-container {
    border-radius: 1rem;
    background-color: rgba(196, 198, 206, 0.15);
    border: 1px solid rgba(196, 198, 206, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.eagle-quick-tile-link {
    padding: 3rem;
    text-decoration: none;
    display: block;
}

.eagle-quick-tile-icon-report {
    font-size: 3rem;
    color: var(--eagle-secondary-container);
}

.eagle-quick-tile-icon-helpline {
    font-size: 3rem;
    color: var(--eagle-primary-container);
}

.eagle-quick-tile-icon-law {
    font-size: 3rem;
    color: var(--eagle-tertiary);
}

.eagle-quick-tile-title {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--eagle-primary);
}

.eagle-quick-tile-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--eagle-on-surface-variant);
}

/* Social Feed (Global) */
.eagle-social-grid {
    margin: 0 auto;
    width: 100%;
    /* max-width: 1200px; */
}

.eagle-social-ig-grid {
    margin: 0 auto;
    width: 100%;
    /* max-width: 1200px; */
}

@media (max-width: 1280px) {

    .eagle-social-grid,
    .eagle-social-ig-grid {
        padding: 0 40px;
    }
}

@media (max-width: 1024px) {

    .eagle-social-grid,
    .eagle-social-ig-grid {
        margin: 0 20px;
    }
}

@media (max-width: 991.98px) {

    .eagle-social-grid,
    .eagle-social-ig-grid {
        margin: 0;
    }

    /* Scale down section spacing on tablets (< lg breakpoint) */
    .py-24 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* Facebook Feed */
.eagle-social-fb-header {
    background: linear-gradient(135deg, #1877F2 0%, #1565D8 50%, #0d4dbf 100%);
}

.eagle-social-fb-circle-1 {
    background: rgba(255, 255, 255, 0.10);
}

.eagle-social-fb-circle-2 {
    background: rgba(255, 255, 255, 0.05);
}

.eagle-social-fb-icon-wrapper {
    background: #fff;
    border-radius: 0.875rem;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 6px 20px rgba(0, 0, 0, 0.3);
}

.eagle-social-fb-icon {
    fill: #1877F2;
}

.eagle-social-fb-subtitle {
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.25em;
}

.eagle-social-fb-title {
    color: #fff;
}

.eagle-social-fb-handle {
    color: rgba(255, 255, 255, 0.7);
}

.eagle-social-fb-follow-btn {
    background: #fff;
    color: #1877F2;
    padding: 0.625rem 1.125rem;
    border-radius: 0.625rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.eagle-social-fb-tagline {
    color: rgba(255, 255, 255, 0.65);
}

.eagle-social-fb-feed-wrapper {
    background: linear-gradient(to bottom, #F0F2F5 0%, #ffffff 100%);
    min-height: 400px;
}

.eagle-social-fb-loading {
    color: #1877F2;
}

/* X (Twitter) Feed */
.eagle-social-x-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
}

.eagle-social-x-circle-1 {
    background: rgba(255, 255, 255, 0.06);
}

.eagle-social-x-circle-2 {
    background: rgba(255, 255, 255, 0.03);
}

.eagle-social-x-icon-wrapper {
    background: #14171A;
    border-radius: 0.875rem;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.eagle-social-x-icon {
    fill: #fff;
}

.eagle-social-x-icon-b {
    fill: #000;
}

.eagle-social-x-subtitle {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.25em;
}

.eagle-social-x-title {
    color: #fff;
}

.eagle-social-x-handle {
    color: rgba(255, 255, 255, 0.6);
}

.eagle-social-x-follow-btn {
    background: #fff;
    color: #000;
    padding: 0.625rem 1.125rem;
    border-radius: 0.625rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.eagle-social-x-follow-btn:hover {
    background: #f8f9fa;
    opacity: 0.9;
}

.eagle-social-x-tagline {
    color: rgba(255, 255, 255, 0.6);
}

.eagle-social-x-feed-wrapper {
    background: linear-gradient(to bottom, #F8F9FA 0%, #ffffff 100%);
    min-height: 400px;
}

/* Instagram Feed */
.eagle-social-ig-header {
    background: linear-gradient(135deg, #FFB900 0%, #FF2600 40%, #E8006E 70%, #901C98 100%);
}

.eagle-social-ig-circle-1 {
    background: rgba(255, 255, 255, 0.12);
}

.eagle-social-ig-circle-2 {
    background: rgba(255, 255, 255, 0.08);
}

.eagle-social-ig-icon-wrapper {
    background: #fff;
    border-radius: 0.875rem;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 6px 20px rgba(0, 0, 0, 0.3);
}

.eagle-social-ig-icon {
    fill: none;
    stroke: url(#ig-gradient);
    stroke-width: 2;
    border-radius: 8px;
}

.eagle-social-ig-subtitle {
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.25em;
}

.eagle-social-ig-title {
    color: #fff;
}

.eagle-social-ig-handle {
    color: rgba(255, 255, 255, 0.8);
}

.eagle-social-ig-follow-btn {
    background: #fff;
    color: #E8006E;
    padding: 0.625rem 1.125rem;
    border-radius: 0.625rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.eagle-social-ig-follow-btn:hover {
    background: #fdf2f8;
    opacity: 0.9;
}

.eagle-social-ig-tagline {
    color: rgba(255, 255, 255, 0.7);
}

/* Instagram Post Styles */
.eagle-ig-post {
    position: relative;
    min-height: 540px;
}

.eagle-ig-post .instagram-media {
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    display: block;
}

.eagle-ig-post iframe {
    width: 100% !important;
    display: block;
}

.eagle-ig-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fafafa;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}

.eagle-ig-post.loaded .eagle-ig-placeholder {
    opacity: 0;
    pointer-events: none;
}

/* Instagram Posts Container Scrolling */
.eagle-social-ig-posts-container {
    max-height: 800px;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    display: grid !important;
    gap: 24px !important;
    padding: 24px !important;
    scrollbar-width: thin;
    scrollbar-color: #E8006E #f1f1f1;
    position: relative;
}

/* Custom scrollbar for Instagram section */
.eagle-social-ig-posts-container::-webkit-scrollbar {
    width: 6px;
}

.eagle-social-ig-posts-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.eagle-social-ig-posts-container::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #FFB900, #E8006E);
    border-radius: 10px;
}

/* Social Feed View All Buttons */
.eagle-social-fb-viewall-btn {
    background-color: #1877F2 !important;
    color: #ffffff !important;
}

.eagle-social-fb-viewall-btn:hover {
    background-color: #1565D8 !important;
    opacity: 0.9;
}

.eagle-social-x-viewall-btn {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.eagle-social-x-viewall-btn:hover {
    background-color: #1a1a1a !important;
    opacity: 0.9;
}

.eagle-social-ig-viewall-btn {
    background: linear-gradient(135deg, #FFB900 0%, #FF2600 40%, #E8006E 70%, #901C98 100%) !important;
    color: #ffffff !important;
}

.eagle-social-ig-viewall-btn:hover {
    opacity: 0.9;
}

/* Quiz & Layout Utilities */
.eagle-quiz-tracking {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.eagle-quiz-progress-bar {
    transition: width 0.3s ease-in-out;
}

.eagle-display-none {
    display: none !important;
}

.eagle-article-header-container {
    max-width: 800px;
    margin: 0 auto;
}

.eagle-report-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.eagle-pdf-viewer {
    height: 700px;
}

.eagle-opacity-0 {
    opacity: 0 !important;
}

/* Admin Utility Classes */
.eagle-admin-card {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.eagle-admin-stat-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
}

.eagle-admin-audit-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.eagle-admin-badge-sm {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
}

.eagle-admin-text-xs {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
}

.eagle-admin-text-sm {
    font-size: 12px !important;
    letter-spacing: 0.1em !important;
}

.eagle-settings-max-width {
    max-width: 56rem !important;
}

.eagle-admin-text-12 {
    font-size: 12px !important;
}


/* Audit Logs Page */
.eagle-audit-table tbody td {
    padding: 18px 20px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.eagle-audit-table tbody tr:last-child td {
    border-bottom: none !important;
}

.eagle-audit-table tbody tr:hover {
    background: rgba(6, 17, 42, 0.03) !important;
}

.audit-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.6;
    white-space: nowrap;
}

.audit-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e8eaf6;
    color: #3c4068;
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
    margin-right: 7px;
}

.eagle-audit-date {
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
}

.eagle-audit-time {
    font-size: 11px;
    color: #74777e;
    white-space: nowrap;
}

.eagle-audit-username {
    font-weight: 600;
    color: #1a1a2e;
}

.eagle-audit-mono-text {
    font-family: monospace;
    font-size: 12px;
    color: #74777e;
}

.eagle-audit-empty-state {
    text-align: center;
    padding: 40px 0;
    color: #74777e;
}

.eagle-audit-loading-state {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #74777e;
}

/* Action Badges */
.audit-action-login {
    background: #dcfce7;
    color: #14532d;
}

.audit-action-logout {
    background: #f1f5f9;
    color: #475569;
}

.audit-action-create {
    background: #dbeafe;
    color: #1e3a8a;
}

.audit-action-update {
    background: #ffedd5;
    color: #7c2d12;
}

.audit-action-delete {
    background: #fee2e2;
    color: #7f1d1d;
}

.audit-action-approve {
    background: #d1fae5;
    color: #064e3b;
}

.audit-action-publish {
    background: #ccfbf1;
    color: #134e4a;
}

.audit-action-export {
    background: #e0e7ff;
    color: #312e81;
}

.audit-action-upload {
    background: #cffafe;
    color: #164e63;
}

/* Module Badges */
.audit-module-auth {
    background: #ede9fe;
    color: #4c1d95;
}

.audit-module-content {
    background: #fef9c3;
    color: #713f12;
}

.audit-module-campaigns {
    background: #fce7f3;
    color: #831843;
}

.audit-module-news {
    background: #e0f2fe;
    color: #0c4a6e;
}

.audit-module-publications {
    background: #f0fdf4;
    color: #14532d;
}

.audit-module-analytics {
    background: #fff7ed;
    color: #7c2d12;
}

.audit-module-reports {
    background: #f5f3ff;
    color: #4c1d95;
}

.audit-module-users {
    background: #eff6ff;
    color: #1e3a8a;
}

.audit-module-settings {
    background: #f8fafc;
    color: #334155;
}

.audit-module-feedback {
    background: #fdf4ff;
    color: #701a75;
}

.audit-module-engagement {
    background: #ecfdf5;
    color: #064e3b;
}

.eagle-audit-module-badge {
    text-transform: capitalize;
    letter-spacing: 0;
}

/* CKEditor Styles */
.eagle-ck-min-height-250 .ck-editor__editable {
    min-height: 250px !important;
}

.eagle-ck-min-height-120 .ck-editor__editable {
    min-height: 120px !important;
}

.ck-editor__editable:focus {
    border-color: var(--eagle-primary, #1a73e8) !important;
}

/* DataTables CSP Utilities */
.eagle-dt-loading-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #74777e;
}

.eagle-dt-empty-wrapper {
    padding: 40px 0;
    text-align: center;
    color: #74777e;
}

.eagle-dt-empty-icon {
    font-size: 36px !important;
    display: block !important;
    margin-bottom: 8px;
    opacity: 0.4;
}

.eagle-text-18 {
    font-size: 18px !important;
}

.eagle-text-28 {
    font-size: 28px !important;
}

.eagle-text-20 {
    font-size: 20px !important;
}

/* RSS Feed Action Buttons */
.rss-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rss-btn-edit:hover {
    background-color: #000f22 !important;
    color: white !important;
    border-color: #000f22 !important;
}

.eagle-text-12 {
    font-size: 12px !important;
}

.eagle-text-10 {
    font-size: 10px !important;
}

.eagle-tracking-1 {
    letter-spacing: 0.1em !important;
}

.eagle-border-faint {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.eagle-rss-img {}

.eagle-display-none {
    display: none !important;
}

.rss-btn-publish:hover {
    background-color: #059669 !important;
    color: white !important;
    border-color: #059669 !important;
}

.rss-btn-unpublish:hover {
    background-color: #d97706 !important;
    color: white !important;
    border-color: #d97706 !important;
}

.rss-btn-archive:hover {
    background-color: #e11d48 !important;
    color: white !important;
    border-color: #e11d48 !important;
}

/* ==========================================================================
   Mobile Responsive Fixes (< 576px)
   ========================================================================== */
@media (max-width: 575.98px) {

    /* ── Fix 1: Pre-header (top-bar) — break into 2 rows on mobile ─────────
       Row 1: AP branding (left) — full width
       Row 2: Social icons + zoom controls (left) — full width             */
    .eagle-topbar-wrapper {
        height: auto;
        padding: 5px 1rem;
        flex-wrap: wrap;
        gap: 4px 0;
    }

    /* Row 1: AP branding takes full width */
    .eagle-topbar-left {
        width: 100%;
        flex-shrink: 0;
    }

    /* Row 2: Controls take full width, left-aligned */
    .eagle-topbar-right {
        width: 100%;
        gap: 0.625rem;
        justify-content: flex-start;
    }

    /* Hide "Skip to Main Content", "Screen Reader Access" and their divider lines */
    .eagle-topbar-action-link,
    .eagle-topbar-divider-line {
        display: none !important;
    }

    /* Hide the "|" text — nothing follows it on mobile (last-updated is d-none d-md-inline) */
    .eagle-topbar-divider-text {
        display: none !important;
    }

    /* ── Fix 2: Mobile nav brand ──────────────────────────────────────────
       Styled via the .eagle-mobile-nav-brand class added in header.php    */
    .eagle-mobile-nav-brand {
        color: #ffffff;
        font-size: 1.125rem;
        letter-spacing: -0.03em;
        text-decoration: none;
    }

    /* ── Fix 3: Carousel prev/next arrow controls ────────────────────────
       Bootstrap defaults are ~15% wide with 2rem icons — too large for a
       narrow mobile carousel. Shrink to a compact touch-friendly size.    */
    .carousel-control-prev,
    .carousel-control-next {
        width: 2rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* ── Fix 4: Carousel indicator dots — tighter on mobile */
    #heroCarousel .carousel-indicators {
        margin-bottom: 0.4rem;
    }

    #heroCarousel .carousel-indicators button {
        width: 14px !important;
    }

    #heroCarousel .carousel-indicators button.active {
        width: 22px !important;
    }

    /* ── Fix 5: Section vertical spacing — scale down py-24 on mobile ──────
       py-24 = 6rem (96px) on desktop looks fine; on mobile 3rem (48px) is
       comfortable without looking cramped between sections.                  */
    .py-24 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Also scale down large section heading margin-bottom */
    .mb-16 {
        margin-bottom: 2rem !important;
    }

    /* And section title font size — text-5xl (3rem) is too big on mobile */
    .text-5xl {
        font-size: 2rem !important;
    }
}