/* ===========================================
   LPM — Additional Utility Styles
   =========================================== */

/* Scroll indicator */
.scroll-indicator {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 999;
    height: 3px; background: var(--bg2);
}
.scroll-progress {
    height: 100%;
    background: var(--grad-gold);
    width: 0%; transition: width .1s;
}

/* Page header for inner pages */
.page-header {
    background: var(--grad);
    padding: calc(var(--nav-h) + 3rem) 0 3rem;
    text-align: center; position: relative; overflow: hidden;
}
.page-header::after {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header h1 { font-size: 2.2rem; font-weight: 800; color: #fff; position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,.7); margin-top: .5rem; position: relative; z-index: 1; }
.breadcrumb-nav { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; position: relative; z-index: 1; }
.breadcrumb-nav a, .breadcrumb-nav span { font-size: .8rem; color: rgba(255,255,255,.6); }
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

/* Alert boxes */
.alert {
    padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1rem;
    display: flex; align-items: flex-start; gap: .75rem; font-size: .88rem;
}
.alert-info { background: rgba(14,108,59,.08); color: var(--primary); border: 1px solid rgba(14,108,59,.15); }
.alert-gold { background: rgba(196,149,58,.1); color: #92610a; border: 1px solid rgba(196,149,58,.2); }

/* Quick links / icon cards */
.quick-link-card {
    background: var(--bg-surface); border-radius: 16px;
    padding: 1.5rem; text-align: center;
    border: 1px solid var(--border-light); box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    cursor: pointer;
}
.quick-link-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.quick-link-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--grad); color: #fff; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.quick-link-card h4 { font-size: .9rem; font-weight: 700; color: var(--txt1); margin-bottom: .3rem; }
.quick-link-card p { font-size: .75rem; color: var(--txt3); }

/* ISO cert cards */
.iso-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px; padding: 1.5rem; text-align: center;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
}
.iso-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.iso-logo {
    height: 64px; width: auto; margin: 0 auto 1rem;
    object-fit: contain;
}
.iso-card h3 { font-size: 1rem; font-weight: 700; color: var(--txt1); margin-bottom: .25rem; }
.iso-card p { font-size: .8rem; color: var(--txt3); }

/* Notification banner */
.marquee-banner {
    background: var(--grad-gold);
    padding: .5rem 0; overflow: hidden;
}
.marquee-content {
    display: flex; gap: 3rem; white-space: nowrap;
    animation: marquee 30s linear infinite;
}
.marquee-item {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--dark); font-size: .8rem; font-weight: 600;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Tooltips on hover */
[data-tooltip] { position: relative; cursor: help; }
[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: var(--dark); color: #fff;
    font-size: .72rem; white-space: nowrap;
    padding: .35rem .7rem; border-radius: 6px; z-index: 100;
}

/* Pulse animation for new badges */
.badge-new {
    display: inline-block; background: #ef4444; color: #fff;
    font-size: .6rem; font-weight: 800; padding: .15rem .45rem;
    border-radius: 50px; letter-spacing: .5px; text-transform: uppercase;
    animation: badgePulse 2s ease infinite;
}
@keyframes badgePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,.4); }
    50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg2) 25%, var(--border-light) 50%, var(--bg2) 75%);
    background-size: 200% 100%;
    border-radius: 8px; animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
