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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Ubuntu", sans-serif;
    background: linear-gradient(135deg, #2c001e 0%, #5e2750 100%);
    background-size: cover;
    height: 100vh;
    overflow: hidden;
    color: white;
}

.status-bar {
    height: 28px;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 500;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.center-side {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.right-side:hover {
    background-color: rgba(138, 138, 138, 0.37);
    padding: 5px 10px;
    border-radius: 10px;
}

.center-side span:hover {
    background-color: rgba(138, 138, 138, 0.37);
    padding: 5px 10px;
    border-radius: 10px;
}

.right-side {
    padding: 5px 10px;
}

.right-side .icon {
    margin-left: 7px;
}

.left-side {
    display: flex;
    gap: 10px;
}

.desktop-area {
    display: flex;
    height: calc(100vh - 28px);
    margin-top: 28px;
    position: relative;
}

.launcher-dock {
    width: 68px;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    gap: 12px;
    z-index: 500;
}

.dock-item {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dock-item.active {
    background: rgba(255, 255, 255, 0.3);
    border-left: 3px solid #f5a623;
}

.spacer {
    flex-grow: 1;
}

.window-manager {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.os-window {
    background: #f2f2f2;
    color: #333;
    border-radius: 8px 8px 4px 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    position: absolute;
    min-width: 300px;
    min-height: 150px;
    z-index: 100;
    transition: box-shadow 0.2s;
    overflow: hidden;
}

.os-window.focused {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.os-window.minimized {
    display: none;
}

.os-window.maximized {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    top: 10px !important;
    left: 10px !important;
    border-radius: 0;
}

.os-window-header {
    background: linear-gradient(to right, #ebebeb, #d9d9d9);
    padding: 8px 15px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    cursor: move;
    user-select: none;
    gap: 10px;
}

.os-window-header i {
    font-size: 16px;
}

.os-window-title {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
    font-size: 14px;
}

.window-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.window-btn.close:hover {
    background: #e74c3c;
    color: white;
}

.os-window-content {
    padding: 0;
    flex-grow: 1;
    overflow: auto;
    background: #f9f9f9;
}

.taskbar {
    position: fixed;
    bottom: 0;
    left: 68px;
    right: 0;
    height: 40px;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    z-index: 900;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
}

.taskbar-item {
    height: 30px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.2s;
}

.taskbar-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.taskbar-item.active {
    background: rgba(255, 165, 0, 0.3);
    border-color: rgba(255, 165, 0, 0.6);
}

.taskbar-item i {
    font-size: 14px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.app-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.app-icon-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.app-icon-item i {
    font-size: 48px;
}

.app-icon-item span {
    font-size: 13px;
    text-align: center;
}

.apps-menu-popup {
    min-width: 320px;
    max-width: 420px;
}

.apps-menu-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f3f3f3;
}

.apps-menu-popup .app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.apps-menu-popup .app-icon-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f5f5f5;
    background: rgba(255, 255, 255, 0.06);
}

.apps-menu-popup .app-icon-item:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    transform: none;
}

.apps-menu-popup .app-icon-item i {
    font-size: 24px;
}

.apps-menu-popup .app-icon-item span {
    font-size: 12px;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.files-app {
    height: 100%;
    display: grid;
    grid-template-columns: 320px 1fr;
    background: #ffffff;
}

.files-sidebar {
    border-right: 1px solid #e8e8e8;
    background: #fbfbfb;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.files-toolbar {
    padding: 12px;
    border-bottom: 1px solid #ececec;
}

.files-btn {
    border: 1px solid #cdcdcd;
    background: #fff;
    color: #333;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.files-btn:hover {
    background: #f1f1f1;
}

.files-input {
    display: none;
}

.files-section {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.files-section h3 {
    margin-bottom: 8px;
    font-size: 13px;
    color: #444;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.files-item {
    border: 1px solid #e1e1e1;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #333;
}

.files-item:hover {
    background: #f5f7fb;
    border-color: #d6deee;
}

.files-item i {
    font-size: 18px;
    color: #5a6b8a;
}

.files-item-text {
    min-width: 0;
}

.files-item-title {
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.files-item-meta {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.files-list-empty {
    font-size: 12px;
    color: #777;
    padding: 8px 2px;
}

.files-preview {
    padding: 16px;
    overflow: auto;
    background: #ffffff;
    color: #333;
}

.files-empty {
    height: 100%;
    display: grid;
    place-items: center;
    color: #777;
    font-size: 14px;
}

.files-preview-header h2 {
    font-size: 20px;
    margin-bottom: 4px;
}

.files-preview-header span {
    color: #666;
    font-size: 13px;
}

.files-preview-actions {
    margin: 12px 0;
    display: flex;
    gap: 8px;
}

.files-preview-text {
    margin-top: 10px;
    background: #f8f9fb;
    border: 1px solid #e8ebf2;
    border-radius: 8px;
    padding: 12px;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 13px;
    line-height: 1.5;
    max-height: calc(100% - 90px);
    overflow: auto;
}

.files-preview-image {
    display: block;
    max-width: 100%;
    max-height: calc(100% - 120px);
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    margin-top: 12px;
}

.files-meta {
    margin-top: 12px;
    color: #555;
    font-size: 13px;
}

.file-item {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}

.file-item:hover {
    background: #e8e8e8;
}

.file-item i {
    font-size: 18px;
    color: #666;
}

.file-item-name {
    flex-grow: 1;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.calc-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 10px;
}

.calc-btn {
    padding: 15px;
    background: #e0e0e0;
    border: 1px solid #bbb;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.1s;
    font-size: 16px;
}

.calc-btn:active {
    transform: scale(0.98);
    background: #d0d0d0;
}

.calc-btn.operator {
    background: #ff9800;
    color: white;
}

.calc-btn.operator:active {
    background: #f57c00;
}

.calc-btn.equals {
    grid-column: span 2;
    background: #4caf50;
    color: white;
}

.calc-btn.equals:active {
    background: #45a049;
}

.calc-btn.clear {
    grid-column: span 2;
    background: #f44336;
    color: white;
}

.calc-btn.clear:active {
    background: #da190b;
}

.calc-display {
    width: 100%;
    padding: 15px;
    background: #333;
    color: #fff;
    text-align: right;
    font-size: 24px;
    border-radius: 4px;
    margin-bottom: 10px;
    border: 1px solid #555;
    overflow: hidden;
    white-space: nowrap;
}

.browser-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.browser-toolbar {
    padding: 8px;
    border-bottom: 1px solid #dedede;
    background: linear-gradient(to bottom, #f8f8f8, #ececec);
}

.browser-toolbar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-subtoolbar-row {
    margin-top: 8px;
    gap: 6px;
}

.browser-tool-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background: #fff;
    color: #555;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.browser-tool-btn:hover {
    background: #efefef;
}

.browser-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.browser-address {
    flex: 1;
    min-width: 160px;
    border: 1px solid #cfcfcf;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    color: #333;
    background: #ffffff;
}

.browser-address:focus {
    outline: none;
    border-color: #b8b8b8;
}

.browser-go {
    border: 1px solid #c9c9c9;
    background: #ffffff;
    color: #333;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
}

.browser-go:hover {
    background: #ececec;
}

.browser-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    overflow-x: auto;
    padding-bottom: 2px;
}

.browser-tab {
    border: 1px solid #cfcfcf;
    background: #f7f7f7;
    border-radius: 8px;
    height: 32px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    cursor: pointer;
    max-width: 220px;
}

.browser-tab.active {
    background: #ffffff;
    border-color: #bbbbbb;
}

.browser-tab-label {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.browser-tab-close {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.browser-tab-close:hover {
    background: #ececec;
}

.browser-select {
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 12px;
    padding: 6px 8px;
    min-width: 118px;
    max-width: 160px;
}

.browser-frame-wrap {
    flex: 1;
    background: #ffffff;
    border-top: 1px solid #efefef;
}

.browser-frame {
    width: 100%;
    height: 100%;
    border: 0;
}

.browser-status {
    height: 26px;
    border-top: 1px solid #e7e7e7;
    background: #f9f9f9;
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.os-window[data-app-id="notepad"] .os-window-content {
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

.notepad-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.notepad-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0;
    border-bottom: 1px solid #ebebeb;
    background: #fafafa;
    overflow-x: auto;
}

.notepad-btn {
    border: 1px solid #d9d9d9;
    background: #fff;
    border-radius: 4px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.notepad-btn:hover {
    background: #f3f3f3;
    border-color: #cfcfcf;
}

.notepad-meta {
    font-size: 12px;
    color: #666;
}

.notepad-title {
    min-width: 200px;
    width: 260px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 13px;
    color: #333;
    background: #fff;
}

.notepad-workspace {
    flex: 1;
    min-height: 0;
    background: #fff;
}

.notepad-editor {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.6;
    resize: none;
    background: #fff;
    color: #1f2937;
    white-space: pre-wrap;
}

.notepad-editor:focus,
.notepad-title:focus,
.terminal-input:focus {
    outline: none;
    border-color: #7b7b7b;
}

.notepad-status {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #ebebeb;
    background: #fafafa;
    padding: 0;
}

.terminal-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #101010;
    border-radius: 6px;
    border: 1px solid #1f1f1f;
    color: #c9f5cc;
    font-family: monospace;
    font-size: 13px;
    overflow: hidden;
}

.terminal-output {
    flex: 1;
    overflow: auto;
    padding: 0;
}

.terminal-line {
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 4px;
}

.terminal-command {
    color: #f0f0f0;
}

.terminal-error {
    color: #ff8a8a;
}

.terminal-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #262626;
    background: #0b0b0b;
    padding: 0;
}

.terminal-prompt {
    color: #87f08c;
    white-space: nowrap;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    color: #e7ffe9;
    padding: 6px 8px;
    font-family: inherit;
    font-size: 13px;
}

.setting-group {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.settings-app {
    height: 100%;
    padding: 16px;
    overflow: auto;
    background: #ffffff;
    color: #333;
}

.settings-select {
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 13px;
    background: #fff;
    color: #333;
}

.settings-note {
    font-size: 12px;
    color: #666;
}

.setting-group h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
}

.toggle-switch {
    width: 40px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch.on {
    background: #4caf50;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: left 0.3s;
}

.toggle-switch.on::after {
    left: 18px;
}

.text-editor-toolbar {
    display: flex;
    gap: 5px;
    padding: 8px;
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.toolbar-btn {
    width: 30px;
    height: 30px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar-btn:hover {
    background: #e8e8e8;
}

.text-area {
    width: 100%;
    height: 100%;
    border: none;
    padding: 10px;
    font-family: "Ubuntu", monospace;
    font-size: 13px;
    resize: none;
    background: white;
}

.resizer {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 50%, rgba(100, 100, 100, 0.8) 50%);
    z-index: 50;
}

.resizer.horizontal {
    width: 5px;
    height: 100%;
    right: 0;
    top: 0;
    cursor: ew-resize;
    background: transparent;
}

.resizer:hover {
    background: linear-gradient(135deg, transparent 50%, rgba(150, 150, 150, 1) 50%);
}

.popup-menu {
    position: fixed;
    background: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    min-width: 250px;
    padding: 10px;
    animation: popupFadeIn 0.15s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar-header {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.calendar-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 12px;
}

.calendar-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.calendar-nav-btn:active {
    transform: scale(0.95);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    padding: 5px;
}

.calendar-day-name {
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    padding: 5px;
    color: rgba(255, 255, 255, 0.7);
}

.calendar-day {
    text-align: center;
    padding: 8px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    color: white;
}

.calendar-day:not(.empty):hover {
    background: rgba(255, 255, 255, 0.1);
}

.calendar-day.today {
    background: #f5a623;
    font-weight: bold;
    color: black;
}

.calendar-day.empty {
    cursor: default;
}

.system-menu {
    min-width: 280px;
}

.menu-header {
    font-size: 13px;
    font-weight: bold;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 5px;
    color: white;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 13px;
    color: white;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-item.active {
    background: rgba(245, 166, 35, 0.3);
}

.menu-item i {
    width: 18px;
    text-align: center;
}

.menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

.volume-slider {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 12px;
    color: white;
}

.volume-slider input[type="range"] {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    -webkit-appearance: none;
}

.volume-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #f5a623;
    cursor: pointer;
}

.volume-slider input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #f5a623;
    cursor: pointer;
    border: none;
}

.battery-info {
    padding: 10px 12px;
    color: white;
}

#notification-center-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #f44336;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    display: none;
}

.notification-toast-container {
    position: fixed;
    right: 16px;
    bottom: 52px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-toast {
    width: 280px;
    background: rgba(26, 26, 26, 0.95);
    color: #f5f5f5;
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    animation: toastIn 0.18s ease-out;
}

.notification-toast.success {
    border-left: 4px solid #4caf50;
}

.notification-toast.warning {
    border-left: 4px solid #ff9800;
}

.notification-toast.info {
    border-left: 4px solid #42a5f5;
}

.notification-toast.hide {
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.2s, transform 0.2s;
}

.notification-toast-title {
    font-size: 12px;
    font-weight: 700;
}

.notification-toast-message {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.86);
    margin-top: 4px;
}

.notification-center {
    width: min(380px, calc(100vw - 24px));
}

.notification-center-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 13px;
    margin-bottom: 8px;
}

.notification-center-actions {
    display: inline-flex;
    gap: 6px;
}

.notification-clear-btn {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #fff;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 11px;
    cursor: pointer;
}

.notification-clear-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.notification-list {
    max-height: 360px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-center-toolbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.notification-search {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 7px;
    padding: 6px 9px;
    font-size: 12px;
}

.notification-search::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.notification-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.notification-filter-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
}

.notification-filter-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.notification-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.notification-item.unread {
    border-color: rgba(245, 166, 35, 0.65);
}

.notification-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.notification-item-remove {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    border-radius: 6px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.notification-item-remove:hover {
    background: rgba(255, 255, 255, 0.1);
}

.notification-item-title {
    font-size: 12px;
    font-weight: 700;
}

.notification-item-message {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

.notification-item-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
}

.notification-empty {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    padding: 12px;
}

.spotlight-overlay {
    position: fixed;
    inset: 0;
    z-index: 2800;
    background: rgba(0, 0, 0, 0.45);
    display: grid;
    place-items: start center;
    padding-top: 80px;
}

.spotlight-overlay.hidden {
    display: none;
}

.spotlight-modal {
    width: min(640px, calc(100vw - 32px));
    background: rgba(21, 21, 21, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
    overflow: hidden;
}

.spotlight-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 15px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.spotlight-results {
    max-height: 360px;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.spotlight-result-item {
    border: 0;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 10px 14px;
    cursor: pointer;
}

.spotlight-result-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.spotlight-result-item i {
    width: 20px;
    text-align: center;
}

.spotlight-result-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.spotlight-result-label {
    font-size: 13px;
    font-weight: 600;
}

.spotlight-result-description {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
}

.spotlight-empty {
    padding: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.task-manager-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #333;
}

.task-manager-toolbar {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid #ececec;
    background: #fafafa;
}

.task-manager-table {
    padding: 8px 12px 12px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.task-row {
    display: grid;
    grid-template-columns: minmax(160px, 2fr) minmax(100px, 1fr) minmax(100px, 1fr) minmax(90px, 1fr) minmax(90px, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 8px 10px;
}

.task-cell {
    font-size: 12px;
    color: #444;
}

.task-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #222;
}

.task-actions {
    display: flex;
    justify-content: flex-end;
}

.task-kill-btn {
    justify-content: center;
    min-width: 96px;
    padding: 6px 10px;
    font-size: 12px;
}

.task-manager-empty {
    font-size: 13px;
    color: #666;
    padding: 12px;
}

.todo-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #333;
}

.todo-toolbar {
    padding: 12px;
    border-bottom: 1px solid #ececec;
    background: #fafafa;
    display: flex;
    gap: 8px;
}

.todo-controls {
    padding: 10px 12px;
    border-bottom: 1px solid #ececec;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.todo-filters {
    display: inline-flex;
    gap: 6px;
}

.todo-filter-btn {
    border: 1px solid #cdcdcd;
    background: #fff;
    color: #333;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
}

.todo-filter-btn.active {
    background: #f1f1f1;
    border-color: #bdbdbd;
}

.todo-input {
    flex: 1;
    border: 1px solid #cdcdcd;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 13px;
}

.todo-list {
    padding: 10px 12px 12px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.todo-item {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.todo-actions {
    display: inline-flex;
    gap: 6px;
}

.todo-check-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
}

.todo-item.done .todo-check-row span {
    text-decoration: line-through;
    color: #777;
}

.todo-empty {
    font-size: 13px;
    color: #666;
    padding: 12px;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}