@import url('https://fonts.googleapis.com/css2?family=Arial:wght@400;700;900&display=swap');

* {
    box-sizing: border-box;
}

/* ==================== BODY & THEMES ==================== */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

body.default {
    background: linear-gradient(#0b2b5f, #1c4a92 30%, #0b2b5f);
}

body.light {
    background: linear-gradient(#e0e8f5, #a8c0e0 30%, #e0e8f5);
    color: #1a2a4a;
}

body.dark {
    background: linear-gradient(#0a0a0a, #1f1f1f 30%, #0a0a0a);
    color: #cccccc;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: linear-gradient(to bottom, #0a264f, #1e4a8c);
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 3px solid #5a9eff;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

body.light .top-bar { background: linear-gradient(to bottom, #c0d0e8, #8aa8d0); border-bottom-color: #3a6ab0; color: #1a2a4a; }
body.dark .top-bar  { background: linear-gradient(to bottom, #1a1a1a, #333333); border-bottom-color: #555555; }

.top-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(#4a8cff, #1e4a8c);
    border: 2px solid #ffffff;
    box-shadow: 0 0 6px #4a8cff;
}



body.light .user-icon { background: linear-gradient(#3a6ab0, #1a4a80); border-color: #1a2a4a; }
body.dark .user-icon  { background: linear-gradient(#555555, #222222); border-color: #888888; }

.date-time {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px #000;
}

body.light .date-time { text-shadow: 1px 1px 2px #fff; color: #1a2a4a; }

/* Theme Buttons */
.theme-buttons {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.theme-btn {
    width: 68px;
    height: 26px;
    background: #555555;
    color: #ffffff;
    border: 2px solid #aaaaaa;
    cursor: pointer;
    font-weight: bold;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5), inset 1px 1px 2px rgba(255,255,255,0.3);
    transition: all 0.2s;
}

.theme-btn:hover {
    background: #777777;
    transform: scale(1.08);
}

/* ==================== HEADER ==================== */
.header {
    background: linear-gradient(to right, #1e4a8c, #4a8cff, #1e4a8c);
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 4px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
    transition: all 0.4s ease;
}

body.light .header { background: linear-gradient(to right, #6a9ad0, #a8c0e0, #6a9ad0); border-bottom-color: #1a2a4a; color: #1a2a4a; }
body.dark .header { background: linear-gradient(to right, #333333, #555555, #333333); border-bottom-color: #777777; }

.header-icon {
    width: 32px;
    height: 32px;
    background: #ffffff;
    color: #0a2a5e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 3px solid #0a2a5e;
    margin-right: 12px;
}

/* ==================== MAIN LAYOUT ==================== */
.main {
    flex: 1;
    display: flex;
    position: relative;
    overflow: hidden;
}

body.light .main { background: linear-gradient(#e0e8f5, #c0d0e8); }
body.dark .main  { background: linear-gradient(#1f1f1f, #2a2a2a); }

/* ==================== SIDEBAR ==================== */
.sidebar {
    width: 218px;
    background: rgba(20, 50, 110, 0.9);
    border-right: 4px solid #5a9eff;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: inset -4px 0 10px rgba(0,0,0,0.6);
    transition: all 0.4s ease;
}

body.light .sidebar { background: rgba(180, 200, 230, 0.95); border-right-color: #3a6ab0; }
body.dark .sidebar  { background: rgba(40, 40, 40, 0.95); border-right-color: #555555; }

.menu-item {
    background: linear-gradient(to right, #4a8cff, #2a6acc);
    border: 3px solid #ffffff;
    color: #ffffff;
    padding: 11px 16px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.6), inset 2px 2px 5px rgba(255,255,255,0.4);
    transition: all 0.2s;
    text-decoration: none;
    border-radius: 8px;
}

body.light .menu-item { background: linear-gradient(to right, #6a9ad0, #4a7ab0); color: #1a2a4a; border-color: #1a2a4a; }
body.dark .menu-item { background: linear-gradient(to right, #444444, #222222); color: #cccccc; border-color: #777777; }

.menu-item:hover { transform: translateX(5px); }
body.light .menu-item:hover { background: linear-gradient(to right, #8ab8e0, #6a9ad0); }
body.dark .menu-item:hover { background: linear-gradient(to right, #666666, #444444); }

/* ==================== CONTENT AREA ==================== */
.content-area {
    flex: 1;
    padding: 30px 40px;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

.orb {
    position: absolute;
    left: 50%;
    top: 40%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(120, 200, 255, 0.18) 10%, transparent 65%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(30px);
    pointer-events: none;
}

body.light .orb { background: radial-gradient(circle, rgba(80, 140, 220, 0.25) 10%, transparent 65%); }
body.dark .orb  { background: radial-gradient(circle, rgba(100, 100, 100, 0.25) 10%, transparent 65%); }

.content-wrapper {
    position: relative;
    z-index: 2;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(to bottom, #0a264f, #0a1e40);
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 12.5px;
    border-top: 3px solid #5a9eff;
    transition: all 0.4s ease;
}

body.light .footer { background: linear-gradient(to bottom, #c0d0e8, #a0b0d0); border-top-color: #3a6ab0; color: #1a2a4a; }
body.dark .footer  { background: linear-gradient(to bottom, #1a1a1a, #0f0f0f); border-top-color: #555555; }