body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}
.desktop-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: url('img/wallpaper.jpg') no-repeat center center fixed;
    background-size: cover;
    z-index: 0;
}
.night-mode .desktop-bg {
    background: url('img/wallpaper_dark.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
}
.night-mode .desktop-bg::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 18, 40, 0.55);
    pointer-events: none;
    z-index: 1;
}
.notepad.window {
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    min-width: 320px;
    max-width: 400px;
}
.taskbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 40px;
    background: linear-gradient(to top, #245edb 80%, #3a6ea5 100%);
    border-top: 2px solid #1a4a8a;
    display: flex;
    align-items: center;
    z-index: 10;
    font-family: Tahoma, Arial, sans-serif;
}
.start-btn {
    background: linear-gradient(to bottom, #e7e7e7 0%, #b5b5b5 100%);
    border: 1px solid #888;
    border-radius: 4px;
    margin-left: 8px;
    padding: 2px 16px 2px 8px;
    font-weight: bold;
    color: #006400;
    font-size: 16px;
    box-shadow: 1px 1px 0 #fff inset;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.taskbar-apps {
    flex: 1;
    display: flex;
    align-items: center;
    margin-left: 12px;
}
.taskbar-app {
    background: #e7e7e7;
    border: 1px solid #888;
    border-radius: 3px 3px 0 0;
    margin-right: 6px;
    padding: 2px 12px;
    font-size: 15px;
    color: #222;
    box-shadow: 0 2px 4px #bbb inset;
    cursor: pointer;
}
.taskbar-app.active {
    background: #fff;
    border-bottom: 2px solid #245edb;
    color: #245edb;
}
.taskbar-clock {
    margin-right: 18px;
    margin-left: auto;
    color: #fff;
    font-size: 15px;
    font-family: monospace;
    text-shadow: 1px 1px 2px #000;
}
textarea[readonly] {
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    color: #222;
}
.notepad-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.notepad-link {
    background: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    padding: 7px 14px;
    font-size: 15px;
    color: #245edb;
    text-decoration: none;
    font-family: 'Consolas', 'Courier New', monospace;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 6px #e0e0e0;
    width: fit-content;
}
.notepad-link:hover {
    background: #e7f0ff;
    color: #003399;
}
.profile-window.window {
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    min-width: 370px;
    max-width: 420px;
    padding-bottom: 10px;
}
.profile-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 10px 10px 10px;
}
.profile-avatar img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #b5b5b5;
    background: #fff;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px #bbb;
}
.profile-name {
    font-size: 1.7em;
    font-weight: bold;
    color: #222;
    text-shadow: 1px 1px 0 #fff, 0 0 8px #b5b5b5;
    margin-bottom: 2px;
    font-family: Tahoma, Arial, sans-serif;
}
.profile-desc {
    font-size: 1.1em;
    color: #245edb;
    margin-bottom: 18px;
    font-family: 'Consolas', 'Courier New', monospace;
}
.profile-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
}
.profile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    padding: 8px 18px;
    font-size: 16px;
    color: #245edb;
    text-decoration: none;
    font-family: 'Consolas', 'Courier New', monospace;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 6px #e0e0e0;
    width: 90%;
    justify-content: flex-start;
}
.profile-link span {
    font-size: 1.2em;
}
.profile-link:hover {
    background: #e7f0ff;
    color: #003399;
}
.profile-link .icon {
    width: 22px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25em;
    margin-right: 8px;
}
.profile-link i {
    color: #245edb;
    transition: color 0.2s;
}
.profile-link:hover i {
    color: #003399;
}
.start-menu {
    position: fixed;
    left: 8px;
    bottom: 48px;
    width: 240px;
    background: linear-gradient(to right, #e7e7e7 80%, #b5b5b5 100%);
    border: 2px solid #245edb;
    border-radius: 6px 6px 12px 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    z-index: 100;
    padding-bottom: 10px;
    animation: startMenuIn 0.18s cubic-bezier(.4,2,.6,1) both;
}
@keyframes startMenuIn {
    0% { opacity: 0; transform: translateY(30px) scale(0.98); }
    100% { opacity: 1; transform: none; }
}
.start-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 6px 12px;
    border-bottom: 1px solid #b5b5b5;
    background: #245edb;
    color: #fff;
    border-radius: 6px 6px 0 0;
}
.start-menu-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #fff;
}
.start-menu-username {
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 1px 1px 0 #003399;
}
.start-menu-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 12px 0 12px;
}
.start-menu-item {
    background: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    padding: 8px 12px;
    font-size: 15px;
    color: #245edb;
    text-align: left;
    cursor: pointer;
    margin-bottom: 2px;
    transition: background 0.2s, color 0.2s;
    font-family: 'Consolas', 'Courier New', monospace;
}
.start-menu-item:hover {
    background: #e7f0ff;
    color: #003399;
}
.night-mode .profile-window,
.night-mode .window-body,
.night-mode .taskbar,
.night-mode .start-menu {
    background: #232b3a !important;
    color: #e0e6f0 !important;
    border-color: #1a2233 !important;
}
.night-mode .title-bar {
    background: #1a2233 !important;
    color: #e0e6f0 !important;
}
.night-mode .profile-link,
.night-mode .start-menu-item {
    background: #232b3a !important;
    color: #b0c4e7 !important;
    border-color: #1a2233 !important;
}
.night-mode .profile-link:hover,
.night-mode .start-menu-item:hover {
    background: #2d3750 !important;
    color: #fff !important;
}
.night-mode .taskbar-clock {
    color: #b0c4e7 !important;
}

body {
  cursor: url('files/default_arrow.cur'), auto;
}

a, .profile-link {
  cursor: url('files/default_link.cur'), pointer;
}

input, textarea {
  cursor: url('files/default_ibeam.cur'), text;
}

button, .start-btn, .start-menu-item, .taskbar-app {
  cursor: url('files/default_arrow.cur'), pointer;
}

.profile-window, .window, .taskbar {
  cursor: url('files/default_arrow.cur'), auto;
}

.profile-avatar:active, .window:active, .taskbar-app:active {
  cursor: url('files/default_move.cur'), move;
}

body.wait, .wait {
  cursor: url('files/default_wait.cur'), wait;
}

body.no, .no {
  cursor: url('files/default_no.cur'), not-allowed;
}