/* E-ofis ERP — Paylaşılan Stillər */

html { font-size: 17px; }

body {
    background-color: #cbd5e1;
    color: #0f172a;
    margin: 0;
    height: 100vh;
    overflow: hidden;
    position: relative;
    font-size: 1rem;
}

/* Aurora Arxa Fon — Mesh Gradient */
.aurora-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 78% 18%, rgba(8,145,178,0.32) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 18% 78%, rgba(163,230,53,0.22) 0%, transparent 65%),
        linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 45%, #94a3b8 100%);
}

.aurora-bg::before,
.aurora-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    animation: float 22s infinite ease-in-out alternate;
}

.aurora-bg::before {
    top: -12%; left: -8%;
    width: 65vw; height: 65vh;
    background: radial-gradient(circle, rgba(163,230,53,0.45) 0%, transparent 70%);
    opacity: 0.65;
}

.aurora-bg::after {
    bottom: -15%; right: -10%;
    width: 70vw; height: 70vh;
    background: radial-gradient(circle, rgba(126,34,206,0.40) 0%, transparent 70%);
    opacity: 0.55;
    animation-delay: -11s;
}

@keyframes float {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(3%, 5%) scale(1.05); }
    100% { transform: translate(6%, 10%) scale(1.12); }
}

/* Çat açılanda arxa fon blur overlay */
#page-blur-overlay {
    position: fixed;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    opacity: 0;
    background: rgba(203, 213, 225, 0.25);
    backdrop-filter: blur(14px) saturate(110%);
    -webkit-backdrop-filter: blur(14px) saturate(110%);
    transition: opacity 0.4s ease;
}

#page-blur-overlay.is-active {
    opacity: 1;
}

/* Şüşə Kartlar */
.gen-panel {
    background: rgba(248, 250, 252, 0.78);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

.gen-panel:hover {
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Scrollbar */
.stream-scroll::-webkit-scrollbar { width: 4px; }
.stream-scroll::-webkit-scrollbar-track { background: transparent; }
.stream-scroll::-webkit-scrollbar-thumb { background: rgba(15,23,42,0.18); border-radius: 10px; }
