/* ============================================================
   css/style.css — LEI OS Global Styles
   ============================================================ */

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

/* ── Start Menu ───────────────────────────────────────────── */
.start-menu {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 220px;
    background: #ECE9D8;
    border: 1px solid #0058EE;
    border-bottom: none;
    z-index: 99998;
    box-shadow: 3px -3px 10px rgba(0,0,0,0.4);
    font-family: Tahoma, sans-serif;
}

.start-menu-item {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    color: #000;
    white-space: nowrap;
}

.start-menu-item:hover {
    background: #316ac5;
    color: #fff;
}

.start-menu-separator {
    height: 1px;
    background: #ccc;
    margin: 3px 6px;
}

/* ── Window Glass Effect ──────────────────────────────────── */
.window.glass {
    backdrop-filter: blur(2px);
}

/* ── Settings Tabs ────────────────────────────────────────── */
.settings-tab {
    padding: 7px 10px;
    margin-bottom: 4px;
    cursor: pointer;
    font-size: 12px;
    font-family: Tahoma, sans-serif;
    border-radius: 2px;
    user-select: none;
}

.settings-tab:hover {
    background: #d0d8f0;
}

.settings-tab-content {
    font-family: Tahoma, sans-serif;
    font-size: 12px;
    color: #000;
}

/* ── Scrollbars (retro thin) ──────────────────────────────── */
::-webkit-scrollbar        { width: 12px; height: 12px; }
::-webkit-scrollbar-track  { background: #f0f0f0; border: 1px inset #ccc; }
::-webkit-scrollbar-thumb  { background: #b0b0b0; border: 1px outset #fff; }
::-webkit-scrollbar-thumb:hover { background: #888; }

/* ── XP Balloon notification ─────────────────────────────── */
#xp-balloon {
    animation: balloon-in 0.2s ease-out;
}

@keyframes balloon-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* ── Resizer handles ─────────────────────────────────────── */
.resizer { position: absolute; z-index: 999999; }

/* ── Selection marquee ───────────────────────────────────── */
.selection-marquee {
    position: absolute;
    border: 1px solid rgb(0, 120, 215);
    background: rgba(0, 120, 215, 0.2);
    pointer-events: none;
    z-index: 5;
}

/* ── Login page tweaks ───────────────────────────────────── */
.login-container {
    width: 420px;
}

/* ── Taskbar badge ───────────────────────────────────────── */
#tray-badge {
    position: absolute;
    bottom: 18px;
    right: 5px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 10000;
    pointer-events: none;
}

/* ── Desktop icon selected state ─────────────────────────── */
.desktop-icon.selected span {
    background-color: #0b61ff;
    outline: 1px dotted #fff;
    color: #fff;
}

/* ── Scrollable window bodies ────────────────────────────── */
.window .window-body {
    overflow: auto;
}

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-5  { margin-top: 5px; }
.mt-10 { margin-top: 10px; }
.mb-5  { margin-bottom: 5px; }
.mb-10 { margin-bottom: 10px; }
