* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    overflow: hidden;
    background: #f0f4f8;
    width: 100vw;
    height: 100vh;
}

.loading-circle {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 120, 212, 0.2);
    border-top: 4px solid #0078d4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 30px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.restart-animation {
    text-align: center;
    color: #333;
}

.restart-animation p {
    font-size: 18px;
    font-weight: 300;
    margin-top: 20px;
    color: #333;
}

.windows-logo-large {
    margin-bottom: 20px;
}

.windows-logo-large .windows-squares {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.windows-logo-large .windows-squares .square {
    background: #0078d4;
}

.screen {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none !important;
    z-index: 1;
}

.screen.active {
    display: flex !important;
    z-index: 10;
}

#screen-setup,
#setup-screen,
#restart-screen,
#boot-screen,
#screen-boot,
#screen-logging-in,
#screen-getting-ready {
    background: #f0f4f8;
    color: #333;
}

#screen-setup.active,
#setup-screen.active,
#restart-screen.active,
#boot-screen.active,
#screen-boot.active,
#screen-logging-in.active,
#screen-getting-ready.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.boot-screen,
.login-progress-screen,
.getting-ready-screen {
    text-align: center;
    color: #333;
}

.boot-screen p,
.login-progress-screen p,
.getting-ready-screen p {
    margin-top: 20px;
    font-size: 16px;
    color: #666;
}

.login-progress-screen h2,
.getting-ready-screen h2 {
    margin: 20px 0 10px;
    font-weight: 400;
    font-size: 24px;
}

.user-avatar-large {
    margin-bottom: 20px;
}

.setup-container {
    text-align: center;
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
}

.container {
    width: 100%;
    height: 100%;
}

.setup-logo {
    margin-bottom: 40px;
}

.windows-logo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 8px;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.logo-square {
    background: #0078d4;
}

.windows-logo .square {
    background: #0078d4;
}

.setup-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 40px;
}

.setup-step {
    display: none;
}

.setup-step.active {
    display: block;
    animation: fadeIn 0.5s;
}

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

.setup-step h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}

.setup-step p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.setup-select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    margin-bottom: 30px;
    border-radius: 4px;
}

.setup-select option {
    background: #0078d4;
    color: white;
}

.setup-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    color: white;
    margin-bottom: 20px;
    outline: none;
}

.setup-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.setup-input:focus {
    border-bottom-color: white;
}

.btn-primary {
    background: white;
    color: #0078d4;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

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

.loading-container {
    margin: 40px 0;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }
.dot:nth-child(4) { animation-delay: 0.16s; }
.dot:nth-child(5) { animation-delay: 0.32s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.3s;
}

.progress-text {
    font-size: 14px;
    opacity: 0.8;
}

.install-message {
    font-size: 18px;
}

.wifi-list {
    max-width: 500px;
    margin: 20px auto;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.wifi-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
}

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

.wifi-item:last-child {
    border-bottom: none;
}

.wifi-icon {
    font-size: 20px;
}

.wifi-name {
    flex: 1;
    font-size: 16px;
}

.wifi-lock {
    font-size: 16px;
    opacity: 0.8;
}

.drive-list {
    max-width: 600px;
    margin: 20px auto;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.drive-item {
    padding: 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
}

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

.drive-item.selected {
    background: rgba(255,255,255,0.2);
    border-left: 4px solid white;
}

.drive-item:last-child {
    border-bottom: none;
}

.drive-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.drive-name {
    font-size: 16px;
    font-weight: 500;
}

.drive-size {
    font-size: 16px;
    opacity: 0.9;
}

.drive-details {
    font-size: 13px;
    opacity: 0.7;
}

.account-type-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 30px auto;
}

.account-type-card {
    background: rgba(255,255,255,0.1);
    padding: 30px 20px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.account-type-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.3);
}

.account-type-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.account-type-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.account-type-card p {
    font-size: 13px;
    opacity: 0.8;
}

.privacy-options {
    max-width: 600px;
    margin: 30px auto;
}

.privacy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 12px;
    border-radius: 4px;
}

.privacy-label {
    flex: 1;
    margin-right: 20px;
}

.privacy-label strong {
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.privacy-label p {
    font-size: 13px;
    opacity: 0.8;
    margin: 0;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.3);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle input:checked + .toggle-slider {
    background-color: #0078d4;
}

.toggle input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

#screen-lock {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%230078d4" width="1920" height="1080"/></svg>');
    background-size: cover;
    cursor: pointer;
}

#screen-lock.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.lock-screen {
    text-align: center;
    color: white;
}

.lock-time {
    font-size: 120px;
    font-weight: 300;
    margin-bottom: 10px;
}

.lock-date {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 100px;
}

.lock-hint {
    font-size: 18px;
    opacity: 0.8;
}

#screen-login {
    background: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-left-panel {
    position: absolute;
    left: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#login-user-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 20px;
    cursor: pointer;
    color: white;
    transition: 0.2s;
}

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

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.btn-add-user {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.login-container {
    text-align: center;
    color: white;
    background: rgba(0,0,0,0.2);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.user-avatar {
    margin-bottom: 20px;
}

.user-name {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 30px;
}

.password-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.password-input {
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
    color: white;
    outline: none;
    width: 250px;
}

.password-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.password-input:focus {
    border-color: white;
}

.btn-submit {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    font-size: 20px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: rgba(255,255,255,0.3);
}

.login-error {
    color: #ff6b6b;
    font-size: 14px;
    min-height: 20px;
    margin-bottom: 20px;
}

.btn-text {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    padding: 8px;
}

.btn-text:hover {
    opacity: 0.8;
}

#screen-desktop {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%231e90ff" width="1920" height="1080"/></svg>');
    background-size: cover;
}

.desktop {
    width: 100%;
    height: 100%;
    position: relative;
}

.desktop-icons {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 100px);
    gap: 20px;
}

.desktop-icon {
    width: 80px;
    text-align: center;
    cursor: pointer;
    padding: 8px;
    transition: background 0.2s;
}

.desktop-icon:hover {
    background: rgba(255,255,255,0.1);
    outline: 1px solid rgba(255,255,255,0.2);
}

.desktop-icon.selected {
    background: rgba(255,255,255,0.2);
    outline: 1px solid rgba(255,255,255,0.4);
}

.taskbar-item:hover {
    background: rgba(255,255,255,0.1);
    box-shadow: inset 0 -2px 0 var(--accent-color);
}

.icon-img {
    font-size: 48px;
    margin-bottom: 4px;
}

.icon-label {
    color: white;
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.taskbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.start-button {
    background: none;
    border: none;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.start-button:hover {
    background: rgba(255,255,255,0.1);
}

.windows-icon {
    width: 16px;
    height: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
}

.win-square {
    background: white;
}

.search-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 12px;
    width: 300px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: text;
    transition: background 0.2s;
}

.search-box:hover {
    background: rgba(255,255,255,0.15);
}

.search-icon {
    font-size: 14px;
}

.search-text {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.taskbar-center {
    display: flex;
    gap: 4px;
}

.taskbar-app {
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 8px 16px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    border-bottom: 2px solid transparent;
}

.taskbar-app:hover {
    background: rgba(255,255,255,0.2);
}

.taskbar-app.active {
    border-bottom-color: #0078d4;
}

.taskbar-right {
    display: flex;
    align-items: center;
}

.system-tray {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 14px;
}

.tray-icon {
    cursor: pointer;
    padding: 8px;
    transition: background 0.2s;
}

.tray-icon:hover {
    background: rgba(255,255,255,0.1);
}

.clock {
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
    padding: 4px 8px;
    cursor: pointer;
}

.notification-button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

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

.start-menu {
    position: absolute;
    bottom: 48px;
    left: 0;
    width: 600px;
    height: 600px;
    background: rgba(30,30,30,0.95);
    backdrop-filter: blur(20px);
    display: none;
    animation: slideUp 0.2s;
}

.start-menu.active {
    display: block;
}

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

.start-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.start-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.start-avatar {
    width: 48px;
    height: 48px;
    background: #0078d4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.start-username {
    color: white;
    font-size: 16px;
}

.start-apps {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.start-apps h3 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.app-list {
    display: flex;
    flex-direction: column;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

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

.app-icon {
    font-size: 20px;
}

.start-power {
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.power-button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.power-button:hover {
    background: rgba(255,255,255,0.1);
}

.power-menu {
    position: absolute;
    bottom: 60px;
    left: 12px;
    background: rgba(30,30,30,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    display: none;
    min-width: 150px;
}

.power-menu.active {
    display: block;
}

.power-option {
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

.power-option:hover {
    background: rgba(255,255,255,0.1);
}

.notification-center {
    position: absolute;
    right: 0;
    bottom: 48px;
    width: 400px;
    height: 600px;
    background: rgba(30,30,30,0.95);
    backdrop-filter: blur(20px);
    display: none;
    animation: slideLeft 0.2s;
}

.notification-center.active {
    display: block;
}

@keyframes slideLeft {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.notification-header h3 {
    color: white;
    font-size: 18px;
}

.notification-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.notification-content {
    padding: 20px;
}

.notification {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 12px;
    border-radius: 4px;
}

.notification-icon {
    font-size: 24px;
}

.notification-text {
    flex: 1;
}

.notification-title {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.notification-body {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}

.window {
    position: absolute;
    background: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    min-width: 400px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.window.active {
    z-index: 2;
}

.window-titlebar {
    background: white;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    cursor: move;
    user-select: none;
    border-bottom: 1px solid #e0e0e0;
}

.window-title {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.window-controls {
    display: flex;
}

.window-control {
    width: 45px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 10px;
    transition: background 0.2s;
}

.window-control:hover {
    background: rgba(0,0,0,0.05);
}

.window-control.close:hover {
    background: #e81123;
    color: white;
}

.window-content {
    flex: 1;
    overflow: auto;
    padding: 20px;
}

#screen-shutdown {
    background: #f0f4f8;
}

#screen-shutdown.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.shutdown-screen {
    text-align: center;
    color: #333;
}

.shutdown-screen h2 {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 300;
    color: #333;
}

.shutdown-screen .loading-circle {
    width: 50px;
    height: 50px;
}

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

.calculator-display {
    grid-column: 1 / -1;
    background: white;
    padding: 20px;
    text-align: right;
    font-size: 32px;
    font-weight: 300;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.calc-btn {
    background: #f3f3f3;
    border: none;
    padding: 20px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.calc-btn:hover {
    background: #e5e5e5;
}

.calc-btn:active {
    background: #d0d0d0;
}

.calc-btn.operator {
    background: #e0e0e0;
}

.calc-btn.equals {
    background: #0078d4;
    color: white;
}

.calc-btn.equals:hover {
    background: #006cc1;
}

.notepad-content {
    padding: 0 !important;
}

.notepad-textarea {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    padding: 20px;
    resize: none;
}

.explorer-toolbar {
    background: #f3f3f3;
    padding: 8px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    gap: 8px;
}

.explorer-btn {
    background: white;
    border: 1px solid #d0d0d0;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
}

.explorer-btn:hover {
    background: #f0f0f0;
}

.explorer-content {
    display: flex;
    height: calc(100% - 45px);
}

.explorer-sidebar {
    width: 200px;
    background: #f8f8f8;
    border-right: 1px solid #e0e0e0;
    padding: 12px;
}

.explorer-main {
    flex: 1;
    padding: 20px;
}

.folder-item {
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.folder-item:hover {
    background: rgba(0,0,0,0.05);
}

.file-item {
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.file-item:hover {
    background: rgba(0,120,212,0.1);
}

.settings-sidebar {
    width: 250px;
    background: #f3f3f3;
    border-right: 1px solid #e0e0e0;
}

.settings-menu-item {
    padding: 12px 20px;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.settings-menu-item:hover {
    background: rgba(0,0,0,0.05);
}

.settings-menu-item.active {
    background: white;
    border-left-color: #0078d4;
}

.settings-content {
    flex: 1;
    padding: 40px;
}

.settings-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.setting-item {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.setting-label {
    font-size: 16px;
    margin-bottom: 8px;
}

.setting-description {
    font-size: 13px;
    color: #666;
}

.taskmgr-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.taskmgr-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 2px solid transparent;
}

.taskmgr-tab.active {
    border-bottom-color: #0078d4;
}

.taskmgr-tab:hover {
    background: rgba(0,0,0,0.05);
}

.taskmgr-content {
    padding: 20px;
}

.process-list {
    width: 100%;
    border-collapse: collapse;
}

.process-list th {
    text-align: left;
    padding: 8px;
    background: #f3f3f3;
    font-weight: 600;
    font-size: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.process-list td {
    padding: 8px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}

.cpu-usage, .mem-usage {
    font-weight: 600;
}

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

.performance-card {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 4px;
}

.performance-card h3 {
    font-size: 14px;
    margin-bottom: 12px;
    color: #666;
}

.performance-value {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 8px;
}

.performance-graph {
    height: 100px;
    background: white;
    border: 1px solid #e0e0e0;
    margin-top: 12px;
    position: relative;
    overflow: hidden;
}

.graph-line {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #0078d4, rgba(0,120,212,0.2));
    transition: height 0.5s;
}

.chrome-setup {
    padding: 40px;
    text-align: center;
    background: white;
    height: 100%;
}

.chrome-setup-header {
    margin-bottom: 40px;
}

.chrome-logo {
    display: flex;
    justify-content: center;
}

.chrome-download-info {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.chrome-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.chrome-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4285f4, #34a853);
    border-radius: 4px;
    transition: width 0.3s;
}

.chrome-browser {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
}

.chrome-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #f1f3f4;
    border-bottom: 1px solid #dadce0;
}

.chrome-nav-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #5f6368;
}

.chrome-nav-btn:hover {
    background: #e8eaed;
}

.chrome-url-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 6px 12px;
    border: 1px solid #dadce0;
}

.chrome-url-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
}

.chrome-content {
    flex: 1;
    overflow: auto;
    background: white;
}

.chrome-google-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.google-logo {
    margin-bottom: 30px;
    font-family: 'Product Sans', Arial, sans-serif;
}

.google-search-box {
    width: 100%;
    max-width: 500px;
}

/* Context Menu */
.context-menu {
    display: none;
    position: fixed;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 10000;
    border-radius: 4px;
    padding: 4px 0;
}

.context-menu.active {
    display: block;
}

.context-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
}

.context-item:hover {
    background: #e5f3ff;
}

.context-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 4px 0;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px;
}

.quick-action {
    padding: 12px 8px;
    text-align: center;
    background: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.quick-action.active {
    background: #0078d4;
    color: white;
}

.brightness-slider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
}

.brightness-slider input {
    flex: 1;
}

/* Command Prompt */
.cmd-window {
    background: #0c0c0c;
    color: #cccccc;
    font-family: 'Consolas', 'Courier New', monospace;
    height: 100%;
    padding: 10px;
    overflow-y: auto;
}

.cmd-output {
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.4;
}

.cmd-input-line {
    display: flex;
    margin-top: 5px;
}

.cmd-prompt {
    color: #cccccc;
    margin-right: 5px;
}

.cmd-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #cccccc;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

/* Paint App */
.paint-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f0f0f0;
}

.paint-toolbar {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: white;
    border-bottom: 1px solid #ccc;
    flex-wrap: wrap;
    align-items: center;
}

.paint-colors {
    display: flex;
    gap: 4px;
}

.paint-color {
    width: 24px;
    height: 24px;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 2px;
}

.paint-color.active {
    border-color: #333;
}

.paint-tools {
    display: flex;
    gap: 4px;
}

.paint-tool {
    padding: 4px 8px;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    border-radius: 2px;
}

.paint-tool.active {
    background: #0078d4;
    color: white;
}

.paint-size {
    width: 60px;
}

.paint-canvas-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow: auto;
}

.paint-canvas {
    background: white;
    border: 1px solid #ccc;
    cursor: crosshair;
}

/* Weather App */
.weather-app {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    height: 100%;
    padding: 30px;
    text-align: center;
}

.weather-temp {
    font-size: 72px;
    font-weight: 200;
    margin: 20px 0;
}

.weather-icon {
    font-size: 80px;
    margin: 20px 0;
}

.weather-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.weather-detail {
    text-align: center;
}

.weather-detail-value {
    font-size: 24px;
    font-weight: 300;
}

.weather-forecast {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.forecast-day {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 8px;
}

/* Snipping Tool */
.snipping-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
}

.snipping-toolbar {
    padding: 10px;
    background: white;
    border-bottom: 1px solid #ccc;
    display: flex;
    gap: 10px;
}

.snipping-btn {
    padding: 8px 16px;
    background: #0078d4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.snipping-btn:hover {
    background: #006cbd;
}

.snipping-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* WiFi Menu */
.wifi-menu, .volume-menu {
    display: none;
    position: fixed;
    bottom: 48px;
    right: 100px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    width: 320px;
    z-index: 9999;
}

.wifi-menu.active, .volume-menu.active {
    display: block;
}

.wifi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 22px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 22px;
    transition: 0.3s;
}

.toggle-slider::before {
    position: absolute;
    content: '';
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: #0078d4;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.wifi-list {
    max-height: 250px;
    overflow-y: auto;
}

.wifi-network {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.wifi-network:hover {
    background: #f5f5f5;
}

.wifi-network.connected {
    background: #e3f2fd;
}

.wifi-info {
    display: flex;
    flex-direction: column;
}

.wifi-name {
    font-weight: 500;
}

.wifi-status {
    font-size: 12px;
    color: #666;
}

.wifi-footer {
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.wifi-footer a {
    color: #0078d4;
    text-decoration: none;
    font-size: 13px;
}

.volume-header {
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
}

.volume-slider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.volume-slider input {
    flex: 1;
}

/* Photos App */
.photos-app {
    height: 100%;
    background: #1a1a1a;
    color: white;
    display: flex;
    flex-direction: column;
}

.photos-header {
    padding: 16px;
    background: #2d2d2d;
}

/* Photos App Styling */
.photos-app {
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.photo-item {
    aspect-ratio: 1;
    background: #222;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    cursor: pointer;
    transition: 0.2s;
}

.photo-item:hover {
    background: #333;
    transform: scale(1.05);
}

/* Camera App Styling */
.camera-app {
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

#camera-stream {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-controls {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 20px;
}

.camera-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 5px solid white;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: 0.2s;
}

.camera-btn:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

/* Calendar App */
.calendar-app {
    height: 100%;
    background: white;
    padding: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 2px;
}

.calendar-day:hover {
    background: #f0f0f0;
}

.calendar-day.header {
    font-weight: bold;
    color: #666;
    cursor: default;
}

.calendar-day.today {
    background: #0078d4;
    color: white;
}

.calendar-day.today:hover {
    background: #006cc1;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 2px;
}

.calendar-day:hover {
    background: #f0f0f0;
}

.calendar-day.header {
    font-weight: 600;
    color: #666;
}

/* Clock App */
.clock-app {
    height: 100%;
    background: #1a1a1a;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.clock-display {
    font-size: 96px;
    font-weight: 200;
}

.clock-date {
    font-size: 24px;
    opacity: 0.7;
    margin-top: 10px;
}

/* Maps App */
.maps-app {
    height: 100%;
    background: #e8f4e8;
    position: relative;
}

.maps-search {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 10;
}

.maps-search input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-size: 14px;
}

.maps-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    opacity: 0.5;
}

/* Store App */
.store-app {
    height: 100%;
    background: #f5f5f5;
    overflow-y: auto;
}

.store-header {
    background: linear-gradient(135deg, #0078d4, #00a4ef);
    color: white;
    padding: 30px;
    text-align: center;
}

.store-apps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
}

.store-app-item {
    background: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.store-app-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.store-app-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.store-app-name {
    font-weight: 500;
}

.store-app-rating {
    color: #ffc107;
    font-size: 12px;
}

/* Enhanced Notifications */
.notification-time {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.notification {
    cursor: pointer;
    transition: all 0.2s;
}

.notification:hover {
    background: #e8e8e8;
    transform: translateX(4px);
}

/* Night light overlay */
.night-light-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 180, 100, 0.15);
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.5s;
}

.night-light-overlay.active {
    opacity: 1;
}

/* Desktop icon hover effects */
.desktop-icon {
    transition: all 0.15s ease;
}

.desktop-icon:hover {
    background: rgba(0, 120, 215, 0.2);
    transform: scale(1.05);
}

.desktop-icon:active {
    transform: scale(0.95);
}

/* Window animations */
.window {
    animation: windowOpen 0.2s ease-out;
}

@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Taskbar app bounce effect */
.taskbar-app {
    transition: transform 0.1s;
}

.taskbar-app:active {
    transform: scale(0.9);
}

/* Loading cursor */
.loading-cursor {
    cursor: wait !important;
}

.loading-cursor * {
    cursor: wait !important;
}

/* Snap preview */
.snap-preview {
    position: fixed;
    background: rgba(0, 120, 215, 0.3);
    border: 2px solid #0078d7;
    border-radius: 8px;
    z-index: 9998;
    pointer-events: none;
    display: none;
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: #1a1a1a;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.tooltip.visible {
    opacity: 1;
}

/* Battery indicator styles */
.battery-popup {
    display: none;
    position: fixed;
    bottom: 48px;
    right: 60px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 16px;
    width: 280px;
    z-index: 9999;
}

.battery-popup.active {
    display: block;
}

.battery-icon-large {
    font-size: 48px;
    text-align: center;
    margin-bottom: 12px;
}

.battery-percentage {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.battery-status {
    text-align: center;
    color: #666;
    margin-top: 8px;
}

.battery-time {
    text-align: center;
    font-size: 14px;
    margin-top: 8px;
    color: #0078d4;
}

/* Improved quick actions grid */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px;
}

.quick-action {
    padding: 12px 8px;
    text-align: center;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    background: #f0f0f0;
    transition: all 0.2s;
}

.quick-action:hover {
    background: #e0e0e0;
}

.quick-action.active {
    background: #0078d4;
    color: white;
}

/* Brightness slider enhancement */
.brightness-slider {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f5f5f5;
    margin: 8px 12px;
    border-radius: 4px;
}

.brightness-slider input {
    flex: 1;
}

#brightness-value {
    min-width: 40px;
    text-align: right;
    font-size: 12px;
}

/* Focus assist indicator */
.focus-assist-active::before {
    content: '🔕';
    position: fixed;
    bottom: 52px;
    right: 10px;
    font-size: 14px;
    z-index: 9999;
}

/* Taskbar preview windows */
.taskbar-preview {
    display: none;
    position: fixed;
    bottom: 52px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 8px;
    z-index: 9998;
}

.taskbar-preview.visible {
    display: block;
}

.taskbar-preview-content {
    width: 200px;
    height: 120px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.taskbar-preview-title {
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
}

/* Ransomware Screen */
.ransomware-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a0000, #330000, #1a0000);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: white;
    animation: ransomPulse 2s infinite;
}

@keyframes ransomPulse {
    0%, 100% { background: linear-gradient(135deg, #1a0000, #330000, #1a0000); }
    50% { background: linear-gradient(135deg, #330000, #550000, #330000); }
}

.ransomware-skull {
    font-size: 120px;
    animation: skullBounce 1s infinite;
}

@keyframes skullBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ransomware-title {
    color: #ff0000;
    font-size: 36px;
    text-shadow: 0 0 20px #ff0000;
    margin: 20px 0;
    animation: titleFlash 0.5s infinite;
}

@keyframes titleFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.ransomware-content {
    max-width: 600px;
    background: rgba(0,0,0,0.5);
    padding: 30px;
    border-radius: 16px;
    border: 2px solid #ff0000;
}

.ransomware-content p {
    margin: 12px 0;
    line-height: 1.6;
}

.ransomware-timer {
    background: #000;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.timer-display {
    font-size: 48px;
    font-family: monospace;
    color: #ff0000;
    text-shadow: 0 0 10px #ff0000;
}

.ransomware-payment {
    background: rgba(255,0,0,0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.btc-address {
    display: block;
    background: #000;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    margin: 12px 0;
    word-break: break-all;
    color: #ffcc00;
}

.ransomware-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}

.ransom-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.ransom-btn:hover {
    transform: scale(1.05);
}

.pay-btn {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #000;
}

.close-btn {
    background: linear-gradient(135deg, #666, #444);
    color: white;
}

.ransomware-footer {
    margin-top: 20px;
    opacity: 0.7;
    font-size: 12px;
}

/* Sign Out Screen */
.signout-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0078d4, #004e8c);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.signout-screen h2 {
    margin-top: 30px;
    font-weight: 300;
    font-size: 24px;
}

/* BSOD Screen */
.bsod-screen {
    width: 100%;
    height: 100%;
    background: #0078d7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.bsod-content {
    color: white;
    max-width: 800px;
}

.bsod-sad {
    font-size: 120px;
    margin-bottom: 20px;
}

.bsod-content h1 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 20px;
}

.bsod-content p {
    font-size: 16px;
    margin: 10px 0;
    opacity: 0.9;
}

.bsod-progress {
    font-size: 18px;
    margin: 30px 0;
}

.bsod-qr {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.bsod-stop, .bsod-info {
    font-size: 12px;
    opacity: 0.8;
}

/* ========================================
   BROWSER TABS - EDGE & CHROME
   ======================================== */
.edge-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #d0d0d0;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    min-width: 120px;
    max-width: 200px;
    font-size: 12px;
    border: 1px solid #bbb;
    border-bottom: none;
    transition: background 0.15s;
}
.edge-tab.active {
    background: white;
    border-color: #ccc;
    z-index: 2;
    position: relative;
}
.edge-tab:hover:not(.active) { background: #c5c5c5; }
.edge-tab-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.edge-tab-close { font-size: 11px; color: #666; padding: 1px 3px; border-radius: 3px; }
.edge-tab-close:hover { background: rgba(0,0,0,0.1); color: #333; }
.edge-bookmark { 
    font-size: 12px; color: #333; cursor: pointer; 
    padding: 2px 8px; border-radius: 3px; white-space: nowrap;
    text-decoration: none; display: inline-flex; align-items: center;
}
.edge-bookmark:hover { background: #e8e8e8; }

.chrome-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #c5c8d1;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    min-width: 120px;
    max-width: 220px;
    font-size: 12px;
    border: 1px solid transparent;
    transition: background 0.15s;
}
.chrome-tab.active {
    background: white;
    border-color: #e0e0e0;
    border-bottom-color: white;
    z-index: 2;
    position: relative;
    margin-bottom: -1px;
}
.chrome-tab:hover:not(.active) { background: #c0c3cc; }
.chrome-tab-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chrome-tab-close { font-size: 11px; color: #666; padding: 1px 4px; border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }
.chrome-tab-close:hover { background: rgba(0,0,0,0.15); }

/* ========================================
   WINDOW RESIZE HANDLES
   ======================================== */
.window-resize-n, .window-resize-s, .window-resize-e, .window-resize-w,
.window-resize-ne, .window-resize-nw, .window-resize-se, .window-resize-sw {
    position: absolute;
    z-index: 100;
}
.window-resize-n  { top: -4px; left: 8px; right: 8px; height: 8px; cursor: ns-resize; }
.window-resize-s  { bottom: -4px; left: 8px; right: 8px; height: 8px; cursor: ns-resize; }
.window-resize-e  { right: -4px; top: 8px; bottom: 8px; width: 8px; cursor: ew-resize; }
.window-resize-w  { left: -4px; top: 8px; bottom: 8px; width: 8px; cursor: ew-resize; }
.window-resize-ne { top: -4px; right: -4px; width: 12px; height: 12px; cursor: nesw-resize; }
.window-resize-nw { top: -4px; left: -4px; width: 12px; height: 12px; cursor: nwse-resize; }
.window-resize-se { bottom: -4px; right: -4px; width: 12px; height: 12px; cursor: nwse-resize; }
.window-resize-sw { bottom: -4px; left: -4px; width: 12px; height: 12px; cursor: nesw-resize; }

/* ========================================
   WINDOW IMPROVEMENTS
   ======================================== */
.window {
    min-width: 300px !important;
    min-height: 200px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.15) !important;
}
.window.active {
    box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.2) !important;
}
.window-titlebar { user-select: none; }

/* ========================================
   TASKBAR PINNED APPS
   ======================================== */
.taskbar-pinned {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right: 8px;
    border-right: 1px solid rgba(255,255,255,0.15);
    padding-right: 8px;
}
.taskbar-pin-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.15s;
    border: none;
    background: transparent;
    color: white;
    position: relative;
}
.taskbar-pin-btn:hover { background: rgba(255,255,255,0.15); }
.taskbar-pin-btn::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
}

/* ========================================
   CMD / POWERSHELL
   ======================================== */
.cmd-window {
    background: #000000;
    color: #cccccc;
    font-family: 'Consolas', 'Courier New', monospace;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: text;
}
.cmd-output {
    flex: 1;
    padding: 8px 12px;
    white-space: pre-wrap;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.5;
}
.cmd-input-line {
    display: flex;
    align-items: center;
    padding: 4px 12px 8px;
}
.cmd-prompt {
    white-space: nowrap;
    font-size: 13px;
    font-family: 'Consolas', monospace;
}
.cmd-input {
    flex: 1;
    background: transparent;
    border: none;
    color: inherit;
    font-family: 'Consolas', monospace;
    font-size: 13px;
    outline: none;
    caret-color: #cccccc;
}

/* ========================================
   STICKY NOTES
   ======================================== */
.sticky-note {
    transition: box-shadow 0.2s;
}
.sticky-note:hover {
    box-shadow: 5px 5px 20px rgba(0,0,0,0.4) !important;
}

/* ========================================
   TASK MANAGER REDESIGN
   ======================================== */
.tm-tab {
    padding: 8px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 13px;
    color: #444;
    font-family: 'Segoe UI', sans-serif;
    transition: background 0.15s;
}
.tm-tab:hover { background: rgba(0,120,212,0.08); }
.tm-tab.active {
    border-bottom: 2px solid #0078d4;
    color: #0078d4;
    font-weight: 600;
}

/* keep old process-list / performance styles for compat */
.process-list { width: 100%; border-collapse: collapse; }
.process-list th, .process-list td { padding: 6px 10px; text-align: left; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.process-list th { background: #f3f3f3; font-weight: 600; color: #444; position: sticky; top: 0; }
.cpu-usage { color: #107c10; }
.mem-usage { color: #0078d4; }
