/* ==========================================================================
   NETHINAT SERVICE — PEARL CITY THEME FOR ADMIN PANEL (paneltikdiwa)
   ========================================================================== */

:root {
    --pink-primary: #2557e8;
    --pink-bright: #3e86ff;
    --pink-soft: #e6f0ff;
    --pink-pastel: #f0f6ff;
    --pink-border: #c5dcff;
    --bg-main: #f4fbfe;
    --text-main: #102f46;
    --text-muted: #5a788d;
    --radius-xl: 23px;
}

body {
    font-family: "Noto Sans Thai", -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(
        180deg,
        #f8fdff 0%,
        #e5f6fc 20%,
        #c3eaf7 52%,
        #8bcce8 82%,
        #4e9ec9 100%
    ) !important;
    color: var(--text-main);
}

.admin-layout {
    position: relative;
    z-index: 1;
}

.admin-sidebar {
    background: rgba(255, 255, 255, 0.86) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-right: 1px solid #cce6f0 !important;
    box-shadow: 6px 0 28px rgba(16, 47, 70, 0.06);
}

.top-bar,
.topbar,
.admin-card,
.stat-card,
.panel-card,
.card {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid #c5e2ee !important;
    border-radius: 23px !important;
    box-shadow: 0 10px 28px -10px rgba(16, 47, 70, 0.1) !important;
}

.top-bar {
    padding: 16px 22px !important;
    margin-bottom: 18px !important;
}

.top-bar-title {
    color: #102f46 !important;
    font-family: "Kodchasan", "Noto Sans Thai", sans-serif;
}

.top-bar-sub {
    color: #4f6f86 !important;
}

.nav-item.active,
.sidebar-link.active,
.btn-primary {
    background: linear-gradient(135deg, #3e86ff 0%, #2557e8 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(37, 105, 255, 0.28) !important;
}

/* Pearl City Floating Bubbles */
.sea-bubbles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sea-bubbles i {
    position: absolute;
    left: var(--x, 50%);
    bottom: -48px;
    width: var(--size, 20px);
    height: var(--size, 20px);
    border-radius: 50%;
    border: 1px solid rgba(119, 191, 255, 0.55);
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), rgba(145, 206, 255, 0.25) 68%, rgba(62, 134, 255, 0.08));
    box-shadow: 0 0 14px rgba(117, 218, 255, 0.24);
    animation: panelBubbleRise var(--speed, 28s) linear infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0.6;
}

.sea-bubbles i:nth-child(1) { --x: 6%; --size: 24px; --speed: 24s; --delay: -4s; }
.sea-bubbles i:nth-child(2) { --x: 18%; --size: 14px; --speed: 31s; --delay: -17s; }
.sea-bubbles i:nth-child(3) { --x: 33%; --size: 20px; --speed: 26s; --delay: -8s; }
.sea-bubbles i:nth-child(4) { --x: 54%; --size: 15px; --speed: 35s; --delay: -20s; }
.sea-bubbles i:nth-child(5) { --x: 74%; --size: 22px; --speed: 28s; --delay: -14s; }
.sea-bubbles i:nth-child(6) { --x: 91%; --size: 28px; --speed: 27s; --delay: -6s; }

@keyframes panelBubbleRise {
    0% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0; }
    10% { opacity: 0.6; }
    100% { transform: translate3d(-10px, -112vh, 0) scale(1.08); opacity: 0; }
}
