* {
    margin: 0;                /* 清除所有元素默认外边距 */
    padding: 0;               /* 清除所有元素默认内边距 */
    box-sizing: border-box;   /* 内边距边框不撑开元素尺寸 */
    user-select: none;        /* 禁止页面文字被选中 */
}

html, body {
    width: 100%;             /* 宽度占满浏览器窗口 */
    height: 100%;            /* 高度占满浏览器窗口 */
    overflow: hidden;        /* 隐藏滚动条，禁止页面滑动 */
    margin: 0;               /* 清除默认外边距 */
    padding: 0;              /* 清除默认内边距 */
}

body {
    background-image: url("../img/bg.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    font-family: "微软雅黑", sans-serif;
}

.desktop {
    width: 100px;
    height: calc(100% - 45px);
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: absolute;
    top: 0;
    left: 0;
}

.folder-item {
    width: 70px;
    text-align: center;
    cursor: pointer;
}

.folder-icon {
    font-size: 32px;
    color: #ffd300;
    margin-bottom: 3px;
}

.folder-name {
    color: #fff;
    font-size: 12px;
    text-shadow: 1px 1px 2px #000;
}

.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-image: url("../img/bgbottom.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    z-index: 999;
}

.start-btn {
    width: 45px;
    height: 45px;
    background-image: url("../img/BeginIcon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
    background-color: transparent;  /* 保证默认透明，不遮图标 */
}

.start-btn:hover {
    background-color: transparent;  /* 背景完全透明，不盖住图标 */
    box-shadow: inset 0 -3px 0 #444444;  /* 只在底部内嵌深灰横线 */
}

.task-active-icon {
    font-size: 20px;
    color: #fff;
    margin-left: 10px;
    display: flex;
    align-items: center;
    height: 45px;
    cursor: pointer;
    position: relative;
}

.task-active-icon:hover {
    box-shadow: inset 0 -3px 0 #444444;
}

.task-active-icon:hover::after {
    content: attr(data-title);
    position: absolute;
    top: -30px;
    left: 0;
    background: #fff9cc;
    color: #333;
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid #ccc;
    white-space: nowrap;
    z-index: 9999;
}

.start-menu {
    position: fixed;
    bottom: 45px;
    left: 0;
    width: 220px;
    background: #fff;
    box-shadow: 0 0 10px #333;
    border: 1px solid #999;
    display: none;
    z-index: 1000;
    padding: 5px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 14px 20px;
    cursor: pointer;
    font-size: 14px;
}

.menu-icon {
    font-size: 24px;
    width: 24px;
    text-align: center;
}

.menu-item:hover {
    background-color: #0078d7;
    color: #fff;
}

.wrap-layout {
    display: flex;
    width: 100%;
    height: calc(100vh - 45px);
    background: #fff;
    overflow: hidden;
}

.wrap-left {
    width: 240px;
    background-color: #fff;
    border-right: 1px solid #ddd;
    padding: 10px;
    overflow-y: auto;
}

.wrap-right {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    overflow: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    font-size: 14px;
    color: #000;
    cursor: pointer;
}

.nav-item:hover {
    background-color: #f0f0f0;
}

.nav-item .folder-icon {
    font-size: 32px;
}

.nav-item .icon {
    font-size: 32px;
}

.folder-text {
    white-space: nowrap;
}

.empty-text {
    font-size: 14px;
    color: #333;
    padding: 20px;
    background: #fff;
}
