* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    user-select: none;
}

body {
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 🟦 TOP SYSTEM MENU BAR */
#top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    color: #ffffff;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#top-bar p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
}

/* 🌌 MAIN DESKTOP WALLPAPER LAYER */
#desktop {
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: url("./background.png");
    background-size: cover;
    background-position: center;
    padding: 20px;
    padding-top: 45px;
}

/* 🎛️ SIDEBAR NAVIGATION DOCK */
#side-dock {
    position: absolute;
    left: 15px;
    top: 65px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 500;
}

.shortcut-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 65px;
}

.shortcut-icon .icon-img {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: 0.2s;
}

.shortcut-icon:hover .icon-img {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.shortcut-icon span {
    color: white;
    font-size: 11px;
    margin-top: 4px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* 🪟 REUSABLE WINDOW CONTAINER CARD BLUEPRINT */
.window-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: absolute;
    overflow: hidden;
}

/* 📍 WINDOW CARD 1: CUSTOM ANCHORS FOR THE SYSTEM PROFILE CARD */
#window-welcome {
    width: 100%;
    max-width: 530px;
    left: calc(50% - 290px);
    top: calc(50% - 270px);
    z-index: 10;
}

/* 📍 WINDOW CARD 2: CUSTOM ANCHORS FOR THE OUTBOARD CALENDAR CARD */
#window-calendar {
    width: 100%;
    max-width: 360px; /* Slim and neat square layout proportions */
    
    /* 🚀 THIS LINE POSITION MAPS IT PERFECTLY TO THE RIGHT SIDE ON SCREEN! */
    left: calc(50% + 280px); 
    top: calc(50% - 240px);
    
    border: 2px solid #0077ff; /* Vivid neon blue outline coat frame! */
    box-shadow: 0 20px 50px rgba(0, 119, 255, 0.2);
    z-index: 20;
}

/* 🟦 SHARED APPLE MAC-STYLE TITLE BAR HEADER CONTROLLER */
.window-header {
    background: #e2e8f0;
    height: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    position: relative;
    cursor: move;
    border-bottom: 1px solid #cbd5e1;
}

.traffic-lights { display: flex; gap: 7px; align-items: center; }
.traffic-lights .dot { width: 12px; height: 12px; border-radius: 50%; cursor: pointer; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.window-title {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.window-content { padding: 25px; text-align: center; }

.window-content h1 { font-size: 24px; color: #0059b3; font-weight: 700; margin-bottom: 6px; }
.window-content h2 { font-size: 13px; color: #64748b; font-weight: normal; line-height: 1.5; margin-bottom: 15px; }

.display-image { width: 100%; border-radius: 10px; margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.greeting { color: #0077ff; font-weight: bold; font-size: 16px; margin-bottom: 15px; }
.link-buttons { display: flex; gap: 15px; justify-content: center; }

.action-btn {
    background-color: #0077ff;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.2);
    cursor: pointer;
}
.action-btn:hover { background-color: #0059d6; }

/* 🧱 CALENDAR GRID MATRIX CONFIGURATIONS */
#calendar-month-year {
    font-size: 20px;
    color: #0059b3;
    font-weight: 700;
    margin-bottom: 15px;
}

#calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 clean columns side-by-side (Sun-Sat) */
    gap: 6px;
    text-align: center;
    font-size: 13px;
}

.calendar-day-name { font-weight: bold; color: #64748b; padding-bottom: 5px; }
.calendar-date-cell { padding: 8px 0; color: #334155; border-radius: 6px; transition: background 0.2s; }
.calendar-date-cell:hover { background: #f1f5f9; cursor: pointer; }
.calendar-today { background: #0077ff !important; color: #ffffff !important; font-weight: bold; box-shadow: 0 4px 10px rgba(0, 119, 255, 0.3); }

/* 📥 BOTTOM DESKTOP TASKBAR DOCK */
#taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.task-btn {
    background: #0077ff;
    color: white;
    border: none;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

.hidden { display: none !important; }
