/*
  =============================================================
  CepatCetak.ID — Standard Page Styles (cc-standard.css)
  =============================================================
  Satu-satunya sumber kebenaran untuk: background, font, layout,
  topbar, bottom bar safe area, particle canvas, glass card.
  Setiap halaman WAJIB meng-import: <link rel="stylesheet" href="/css/cc-standard.css">
  =============================================================
*/

/* Import Poppins font — single source for all pages */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* === ROOT VARIABLES === */
:root {
    --cc-bg: #F3F8FF;
    --cc-text-primary: #1E293B;
    --cc-text-secondary: #64748B;
    --content-max-width: 640px;
}

/* === BASE BODY === */
body {
    background-color: var(--cc-bg);
    color: var(--cc-text-primary);
    font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* === UTILS === */
.cc-fade-out {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* === LAYOUT CONTAINER === */
.frame {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.pad-x {
    padding-left: 12px;
    padding-right: 12px;
}

/* === SAFE AREA (Bottom Bar) === */
.cc-bottom-safe {
    padding-bottom: calc(var(--cc-bottom-height, 96px) + 24px);
}

/* === TOPBAR (Blue Gradient Header) === */
.topbar,
.cc-topbar {
    background: linear-gradient(90deg, #0ea5e9 0%, #2563eb 50%, #1d4ed8 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    padding: .5rem .75rem;
    box-shadow: 0 8px 22px rgba(2, 6, 23, .12);
}

.topbar h1,
.topbar p,
.topbar .material-symbols-outlined,
.cc-topbar h1,
.cc-topbar p,
.cc-topbar .material-symbols-outlined {
    color: #ffffff;
}

/* === STANDARD FIXED HEADER WRAPPER === */
.cc-fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    transition: all 0.3s ease;
    pointer-events: none;
}

.cc-fixed-header>.cc-header-inner {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    pointer-events: auto;
}

.cc-fixed-header .cc-header-bg {
    width: 100%;
    background: linear-gradient(90deg, #0ea5e9 0%, #2563eb 50%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(2, 6, 23, .10);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.cc-fixed-header .cc-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    height: 70px;
}

@media (min-width: 768px) {
    .cc-fixed-header .cc-header-row {
        padding: 0 16px;
    }
}

/* === BACKGROUND OVERLAY (soft radial gradients) === */
.cc-bg-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -10;
    background-image:
        radial-gradient(1200px 600px at 10% 10%, rgba(59, 130, 246, 0.10), transparent 60%),
        radial-gradient(1000px 500px at 90% 0%, rgba(14, 165, 233, 0.10), transparent 60%),
        radial-gradient(800px 400px at 80% 80%, rgba(251, 146, 60, 0.08), transparent 60%);
}

/* === PARTICLE CANVAS === */
#global-particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* === GLASS CARD === */
.glass-card {
    background: #FFFFFF;
    border: 1px solid #E6EEF8;
    box-shadow: 0 2px 14px -4px rgba(20, 60, 100, 0.06), 0 1px 3px -1px rgba(20, 60, 100, 0.03);
    border-radius: 22px;
    overflow: hidden;
}

/* === SCROLLBAR HIDE === */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* === AVATAR BORDER === */
.avatar-border {
    border-color: rgba(255, 255, 255, .35);
}