/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #e0e0e0;
    overflow: hidden;
    height: 100vh;
}

.screen {
    display: none;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}

.screen.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === MAIN MENU === */
.menu-container {
    text-align: center;
    padding: 40px;
    background: rgba(20, 20, 30, 0.9);
    border-radius: 20px;
    border: 2px solid #ff0040;
    box-shadow: 0 0 40px rgba(255, 0, 64, 0.5);
    min-width: 600px;
}

.game-title h1 {
    font-size: 4em;
    color: #ff0040;
    text-shadow: 0 0 20px rgba(255, 0, 64, 0.8);
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.subtitle {
    font-size: 1.4em;
    color: #00ff88;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.warning {
    font-size: 0.9em;
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
}

.main-nav {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-btn {
    padding: 18px 40px;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ff0040 0%, #cc0033 100%);
    color: #fff;
    border: 2px solid #ff0040;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 64, 0.4);
}

.menu-btn:hover {
    background: linear-gradient(135deg, #ff3366 0%, #ff0040 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 64, 0.6);
}

.menu-btn:active {
    transform: translateY(0);
}

/* === INFO SCREENS (HOW TO PLAY, CREDITS) === */
.info-container {
    background: rgba(20, 20, 30, 0.95);
    border-radius: 20px;
    border: 2px solid #00ff88;
    padding: 40px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.3);
}

.info-container h2 {
    font-size: 2.5em;
    color: #00ff88;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

.instructions {
    font-size: 1.1em;
    line-height: 1.8;
    color: #e0e0e0;
}

.instructions strong {
    color: #ff0040;
}

.instructions ul {
    margin: 20px 0;
    padding-left: 30px;
}

.instructions li {
    margin: 10px 0;
}

.disclaimer {
    margin-top: 30px;
    padding: 15px;
    background: rgba(255, 170, 0, 0.15);
    border-left: 4px solid #ffaa00;
    color: #ffaa00;
    font-weight: bold;
}

.credits-content {
    text-align: center;
}

.credit-main {
    font-size: 1.2em;
    color: #aaa;
    margin-bottom: 10px;
}

.credits-content h3 {
    font-size: 3em;
    color: #ff0040;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 0, 64, 0.6);
}

.credit-description {
    font-size: 1.3em;
    color: #00ff88;
    margin-bottom: 40px;
}

.credit-legal {
    font-size: 0.9em;
    color: #888;
    line-height: 1.6;
    margin-top: 40px;
}

.back-btn {
    margin-top: 30px;
    padding: 15px 50px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(135deg, #555 0%, #333 100%);
    color: #fff;
    border: 2px solid #666;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.back-btn:hover {
    background: linear-gradient(135deg, #666 0%, #444 100%);
    transform: translateY(-2px);
}

/* === VICTIM SELECTION === */
.selection-container {
    background: rgba(20, 20, 30, 0.95);
    border-radius: 20px;
    border: 2px solid #00ff88;
    padding: 40px;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.3);
    min-width: 900px;
}

.selection-container h2 {
    font-size: 2.5em;
    color: #00ff88;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

.victim-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.victim-card {
    background: rgba(30, 30, 40, 0.8);
    border: 3px solid #444;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.victim-card:hover {
    border-color: #ff0040;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 64, 0.5);
}

.victim-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.victim-info h3 {
    font-size: 1.5em;
    color: #00ff88;
    margin-bottom: 10px;
}

.victim-info p {
    color: #ccc;
    margin: 5px 0;
    font-size: 0.95em;
}

.victim-wealth {
    color: #ffaa00;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 10px;
}

/* === GAME SCREEN === */
#game-screen.active {
    display: block;
}

.game-hud {
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 2px solid #ff0040;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hud-left {
    display: flex;
    gap: 30px;
    font-size: 1.3em;
    font-weight: bold;
}

.money-display {
    color: #00ff88;
}

.time-display {
    color: #ffaa00;
}

.hud-btn {
    padding: 10px 25px;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    background: #ff0040;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hud-btn:hover {
    background: #ff3366;
    transform: translateY(-1px);
}

.game-layout {
    display: grid;
    grid-template-columns: 350px 1fr 300px;
    height: calc(100vh - 70px);
    overflow: hidden;
}

/* === CHAT PANEL === */
.chat-panel {
    background: rgba(15, 15, 20, 0.95);
    border-right: 2px solid #333;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.chat-header {
    background: rgba(255, 0, 64, 0.2);
    border-bottom: 2px solid #ff0040;
    padding: 15px;
    font-weight: bold;
    color: #ff0040;
    text-align: center;
    font-size: 1.1em;
}

.chat-messages {
    flex: 1;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 0;
}

.message {
    padding: 12px 15px;
    border-radius: 10px;
    max-width: 85%;
    line-height: 1.5;
    word-wrap: break-word;
}

.message.player {
    background: linear-gradient(135deg, #ff0040 0%, #cc0033 100%);
    align-self: flex-end;
    color: #fff;
}

.message.victim {
    background: rgba(60, 60, 80, 0.8);
    align-self: flex-start;
    color: #e0e0e0;
    border: 1px solid #555;
}

.message.system {
    background: rgba(255, 170, 0, 0.2);
    border: 1px solid #ffaa00;
    color: #ffaa00;
    align-self: center;
    max-width: 100%;
    text-align: center;
    font-style: italic;
    font-size: 0.9em;
}

.chat-input-area {
    border-top: 2px solid #333;
    padding: 15px;
    background: rgba(10, 10, 15, 0.95);
    flex-shrink: 0;
}

.chat-input {
    width: 100%;
    padding: 12px;
    background: rgba(30, 30, 40, 0.9);
    border: 2px solid #444;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1em;
    font-family: inherit;
    resize: none;
}

.chat-input:focus {
    outline: none;
    border-color: #ff0040;
}

.send-btn {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff0040 0%, #cc0033 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background: linear-gradient(135deg, #ff3366 0%, #ff0040 100%);
}

/* === VICTIM SCREEN === */
.victim-screen {
    background: #000;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 0;
}

.screen-locked {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    color: #666;
}

.screen-locked .lock-icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.screen-locked p {
    font-size: 1.5em;
}

/* Windows 11 Desktop Simulation */
.windows-desktop {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.windows-desktop.active {
    display: block;
}

#desktop-canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.desktop-wallpaper {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%234a90e2" width="1920" height="1080"/><circle cx="960" cy="540" r="300" fill="%23357abd" opacity="0.3"/></svg>');
    background-size: cover;
}

.windows-taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(240, 240, 245, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(200, 200, 210, 0.5);
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 5px;
}

.taskbar-icon {
    width: 40px;
    height: 40px;
    background: rgba(100, 100, 120, 0.3);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.taskbar-icon:hover {
    background: rgba(100, 100, 120, 0.5);
}

.desktop-icon {
    position: absolute;
    width: 80px;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.desktop-icon-img {
    font-size: 3em;
    margin-bottom: 5px;
}

.virus-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 100;
}

.error-popup {
    position: absolute;
    background: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    min-width: 300px;
    max-width: 500px;
}

.error-title {
    background: linear-gradient(180deg, #f00 0%, #c00 100%);
    color: #fff;
    padding: 8px 12px;
    margin: -20px -20px 15px -20px;
    border-radius: 6px 6px 0 0;
    font-weight: bold;
}

.error-message {
    color: #000;
    margin-bottom: 15px;
}

/* === CONTROL PANEL === */
.control-panel {
    background: rgba(15, 15, 20, 0.95);
    border-left: 2px solid #333;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 20px;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
}

.control-section {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 10px;
    border: 1px solid #444;
}

.control-section h3 {
    color: #00ff88;
    margin-bottom: 15px;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.control-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
    color: #e0e0e0;
    border: 2px solid #555;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.control-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #444 0%, #2a2a2a 100%);
    border-color: #ff0040;
    transform: translateX(2px);
}

.control-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.control-btn.danger {
    background: linear-gradient(135deg, #ff0040 0%, #cc0033 100%);
    border-color: #ff0040;
}

.control-btn.danger:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff3366 0%, #ff0040 100%);
}

.control-btn.success {
    background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    color: #000;
    border-color: #00ff88;
}

.control-btn.success:hover:not(:disabled) {
    background: linear-gradient(135deg, #33ffaa 0%, #00ff88 100%);
}

.status-indicator {
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.status-indicator.active {
    border-left: 4px solid #00ff88;
    color: #00ff88;
}

.status-indicator.inactive {
    border-left: 4px solid #666;
    color: #888;
}

/* === SCROLLBAR STYLING === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 30, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 64, 0.6);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 0, 64, 0.8);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message {
    animation: fadeIn 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.error-popup {
    animation: shake 0.3s ease;
}

/* === RESPONSIVE (for smaller screens) === */
@media (max-width: 1400px) {
    .game-layout {
        grid-template-columns: 300px 1fr 250px;
    }
}

@media (max-width: 1200px) {
    .victim-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   WIN11 WINDOW MANAGER — HTML windows layered over canvas
   ============================================================ */

#win-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none; /* pass-through by default; windows set their own */
    z-index: 10;
}

/* Individual window */
.win11-window {
    position: absolute;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: all;
    min-width: 360px;
    min-height: 220px;
    user-select: none;
}

.win11-window.focused {
    box-shadow: 0 12px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,120,212,0.5);
}

/* Title bar */
.win-titlebar {
    height: 34px;
    background: #f3f3f3;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    cursor: move;
    flex-shrink: 0;
    user-select: none;
}

.win-titlebar-icon { font-size: 14px; }
.win-titlebar-title {
    flex: 1;
    font-size: 12px;
    font-family: 'Segoe UI', sans-serif;
    color: #1f1f1f;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.win-controls {
    display: flex;
    gap: 0;
    margin-right: -8px;
}

.win-ctrl-btn {
    width: 46px;
    height: 34px;
    border: none;
    background: transparent;
    font-size: 12px;
    cursor: pointer;
    color: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.1s;
    pointer-events: all;
}
.win-ctrl-btn:hover { background: rgba(0,0,0,0.08); }
.win-ctrl-btn.close:hover { background: #c42b1c; color: #fff; }
.win-ctrl-btn.minimize:hover { background: rgba(0,0,0,0.08); }

/* Window body */
.win-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: #ffffff;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 13px;
    color: #1f1f1f;
}

/* File Explorer style */
.win-explorer-bar {
    background: #f3f3f3;
    border-bottom: 1px solid #e0e0e0;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #666;
    flex-shrink: 0;
}
.win-address-bar {
    flex: 1;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 12px;
    color: #1f1f1f;
    font-family: 'Segoe UI', sans-serif;
}

/* File list inside explorer */
.win-file-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 4px;
    padding: 8px;
}

.win-file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: background 0.1s;
    pointer-events: all;
}
.win-file-item:hover { background: rgba(0,120,212,0.12); }
.win-file-item:active { background: rgba(0,120,212,0.22); }
.win-file-item .fi-icon { font-size: 2.2em; margin-bottom: 4px; line-height: 1; }
.win-file-item .fi-label {
    font-size: 11px;
    color: #1f1f1f;
    word-break: break-word;
    line-height: 1.3;
    max-width: 90px;
}

/* Text file / notepad */
.win-notepad {
    padding: 12px 16px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    color: #1f1f1f;
    white-space: pre-wrap;
    line-height: 1.6;
    background: #fff;
    min-height: 200px;
}

/* Bank / browser window */
.win-browser-bar {
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.win-url-bar {
    flex: 1;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 12px;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
}
.win-lock-icon { color: #2e7d32; font-size: 13px; }

/* Bank page inside browser */
.bank-page {
    padding: 20px;
    background: #f4f6f8;
    min-height: 100%;
}
.bank-header {
    background: linear-gradient(135deg, #1a3a6b 0%, #0e2244 100%);
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.bank-header h2 { font-size: 1.1em; margin: 0; }
.bank-balance-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #dde1e7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.bank-balance-card h3 { font-size: 0.9em; color: #666; margin: 0 0 8px; }
.bank-balance-amount { font-size: 2em; font-weight: bold; color: #1a3a6b; }
.bank-transaction {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}
.bank-transaction:last-child { border-bottom: none; }
.bank-transaction .credit { color: #2e7d32; font-weight: bold; }
.bank-transaction .debit  { color: #c62828; font-weight: bold; }

/* Email client */
.email-client {
    display: flex;
    height: 100%;
    min-height: 300px;
}
.email-sidebar {
    width: 140px;
    background: #f0f0f0;
    border-right: 1px solid #ddd;
    padding: 8px 0;
    flex-shrink: 0;
}
.email-folder {
    padding: 7px 14px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    margin: 1px 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.email-folder:hover { background: rgba(0,0,0,0.08); }
.email-folder.active { background: rgba(0,120,212,0.15); font-weight: bold; }
.email-list {
    flex: 1;
    overflow-y: auto;
    border-right: 1px solid #ddd;
    min-width: 180px;
}
.email-row {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.1s;
}
.email-row:hover { background: #f5f5f5; }
.email-row.unread { font-weight: bold; background: #fafcff; }
.email-row.selected { background: rgba(0,120,212,0.12); }
.email-row .er-from { font-size: 12px; color: #1f1f1f; }
.email-row .er-subject { font-size: 11px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.email-row .er-date { font-size: 10px; color: #999; float: right; }
.email-preview {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #fff;
    font-size: 13px;
    line-height: 1.7;
    color: #1f1f1f;
}
.email-preview h4 { margin: 0 0 4px; font-size: 14px; }
.email-preview .ep-meta { font-size: 11px; color: #888; margin-bottom: 12px; }
.email-preview .ep-body { color: #333; }

/* Photo viewer */
.photo-viewer {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}
.photo-thumb {
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
    background: #eee;
    position: relative;
}
.photo-thumb:hover { border-color: #0078d4; transform: scale(1.03); }
.photo-thumb img { width: 100%; height: 100px; object-fit: cover; display: block; }
.photo-thumb .pt-caption {
    font-size: 10px; text-align: center; padding: 4px; color: #555;
    background: #f9f9f9;
}
.photo-placeholder {
    width: 100%; height: 100px;
    background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5em;
}

/* Settings page */
.settings-page {
    padding: 16px;
}
.settings-section {
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}
.settings-section h3 {
    background: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    padding: 10px 14px;
    font-size: 12px;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #eeeeee;
    font-size: 12px;
}
.settings-row:last-child { border-bottom: none; }
.settings-row .sr-label { color: #333; }
.settings-row .sr-value { color: #0078d4; font-family: 'Consolas', monospace; font-size: 11px; }

/* This PC / drives */
.drives-view {
    padding: 16px;
}
.drive-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}
.drive-card:hover { background: #f0f4ff; border-color: #0078d4; }
.drive-card .dc-icon { font-size: 2em; }
.drive-card .dc-info h4 { margin: 0 0 4px; font-size: 13px; }
.drive-card .dc-bar-wrap { background: #ddd; border-radius: 4px; height: 6px; width: 160px; margin-top: 4px; overflow: hidden; }
.drive-card .dc-bar { height: 6px; border-radius: 4px; background: #0078d4; }
.drive-card .dc-label { font-size: 11px; color: #888; }

/* Recycle bin */
.recycle-list { padding: 8px; }
.recycle-item {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 10px; border-bottom: 1px solid #f0f0f0;
    font-size: 12px; cursor: pointer; border-radius: 4px;
}
.recycle-item:hover { background: #f5f5f5; }
.recycle-item .ri-icon { font-size: 1.4em; }
.recycle-item .ri-name { flex: 1; color: #333; }
.recycle-item .ri-date { color: #999; font-size: 11px; }
.recycle-item .ri-size { color: #999; font-size: 11px; min-width: 60px; text-align: right; }

/* Media player */
.media-player {
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 260px;
}
.media-player .mp-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: #ccc;
    font-size: 1.2em;
}
.media-player .mp-controls {
    background: #252525;
    padding: 10px 16px;
    border-top: 1px solid #333;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mp-progress { background: #555; border-radius: 3px; height: 4px; }
.mp-progress-fill { background: #1db954; height: 4px; border-radius: 3px; width: 35%; }
.mp-btns { display: flex; justify-content: center; gap: 16px; }
.mp-btn { background: none; border: none; color: #ccc; font-size: 1.3em; cursor: pointer; }
.mp-btn:hover { color: #fff; }
.mp-track { font-size: 12px; color: #aaa; text-align: center; }

/* TeamViewer-style app */
.teamviewer-app {
    padding: 16px;
    background: #2d6cdf;
    min-height: 100%;
    color: #fff;
}
.tv-logo { font-size: 1.8em; font-weight: 900; letter-spacing: -1px; margin-bottom: 16px; }
.tv-section {
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.tv-section h3 { font-size: 0.9em; margin: 0 0 8px; opacity: 0.8; text-transform: uppercase; letter-spacing: 1px; }
.tv-id { font-size: 2em; font-weight: bold; letter-spacing: 4px; font-family: 'Consolas', monospace; }
.tv-password { font-size: 1.4em; font-family: 'Consolas', monospace; letter-spacing: 3px; }
.tv-status { font-size: 0.85em; opacity: 0.7; margin-top: 4px; }

/* Scrollbars inside windows use light theme */
.win-body::-webkit-scrollbar,
.email-list::-webkit-scrollbar,
.email-preview::-webkit-scrollbar {
    width: 8px;
}
.win-body::-webkit-scrollbar-track,
.email-list::-webkit-scrollbar-track,
.email-preview::-webkit-scrollbar-track { background: #f0f0f0; }
.win-body::-webkit-scrollbar-thumb,
.email-list::-webkit-scrollbar-thumb,
.email-preview::-webkit-scrollbar-thumb { background: #c0c0c0; border-radius: 4px; }
.win-body::-webkit-scrollbar-thumb:hover,
.email-list::-webkit-scrollbar-thumb:hover,
.email-preview::-webkit-scrollbar-thumb:hover { background: #a0a0a0; }
