/* Game-specific styles */

/* Sidebar container */
#sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 28px; /* Above taskbar */
    width: 280px;
    display: flex;
    flex-direction: column;
    z-index: 50;
}

/* Sidebar windows (locked to left edge) */
.sidebar-window {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    border-radius: 0;
    flex-shrink: 0;
}

.sidebar-window .title-bar {
    cursor: default;
}

.sidebar-window .window-body {
    overflow-y: auto;
}

#stats-window {
    flex-shrink: 0;
}

#upgrades-window {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#upgrades-window .window-body {
    flex: 1;
    min-height: 0;
}

/* Stat display */
.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
}

.stat-label {
    color: #000;
}

.stat-value {
    font-weight: bold;
    color: #000080;
}

/* Request Window Styles */
.request-window {
    width: 320px;
}

.request-info {
    margin-bottom: 8px;
}

.request-field {
    display: flex;
    margin-bottom: 4px;
}

.request-field-label {
    width: 80px;
    color: #808080;
}

.request-field-value {
    flex-grow: 1;
    color: #000;
}

.request-type {
    font-size: 12px;
    font-weight: bold;
    color: #000080;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #808080;
}

.request-progress {
    margin: 12px 0;
}

.request-progress-label {
    margin-bottom: 4px;
    font-size: 10px;
    color: #808080;
}

.request-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

/* Slider minigame (vendor risk assessment) */
.slider-header {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.slider-header-label {
    width: 60px;
    flex-shrink: 0;
}

.slider-header-values {
    flex: 1;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #808080;
    padding: 0 4px;
}

.slider-header-spacer {
    width: 24px;
    flex-shrink: 0;
}

.slider-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.slider-row {
    display: flex;
    align-items: center;
}

.slider-label {
    width: 60px;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: bold;
    color: #000;
}

.slider-track-wrapper {
    flex: 1;
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.slider-target {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    background: rgba(0, 128, 0, 0.2);
    border-radius: 2px;
    pointer-events: none;
    z-index: 0;
}

.risk-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: #c0c0c0;
    border: 1px solid;
    border-color: #808080 #fff #fff #808080;
    outline: none;
    z-index: 1;
}

.risk-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 20px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    cursor: pointer;
}

.risk-slider::-moz-range-thumb {
    width: 14px;
    height: 20px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    cursor: pointer;
}

.slider-value {
    width: 24px;
    flex-shrink: 0;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    color: #000080;
}

/* Upgrades list - scrollable */
#upgrades-list {
    overflow-y: auto;
}

/* Upgrade item */
.upgrade-item {
    padding: 6px;
    margin-bottom: 6px;
    border: 1px solid;
    border-color: #808080 #fff #fff #808080;
    background-color: #d4d4d4;
}

.upgrade-item:last-child {
    margin-bottom: 0;
}

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

.upgrade-name {
    font-weight: bold;
    color: #000080;
}

.upgrade-cost {
    color: #808000;
    font-size: 10px;
}

.upgrade-cost::before {
    content: 'Cost: ';
}

.upgrade-desc {
    font-size: 10px;
    color: #404040;
    margin-bottom: 6px;
}

.upgrade-btn {
    width: 100%;
}

.upgrade-item.purchased {
    opacity: 0.6;
}

.upgrade-item.purchased .upgrade-btn {
    display: none;
}

.upgrade-item.purchased::after {
    content: '[PURCHASED]';
    display: block;
    text-align: center;
    color: #008000;
    font-weight: bold;
    margin-top: 4px;
}

.upgrade-item.locked {
    opacity: 0.7;
}

.upgrade-prereq {
    font-size: 9px;
    color: #800000;
    font-style: italic;
    margin-top: 2px;
    margin-bottom: 4px;
}

/* Notification popup */
.notification {
    position: fixed;
    right: 10px;
    background-color: #ffffcc;
    border: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    padding: 8px 12px;
    z-index: 10000;
    animation: slideIn 0.3s ease-out;
    max-width: 250px;
}

.notification-title {
    font-weight: bold;
    color: #000080;
    margin-bottom: 4px;
}

.notification-body {
    font-size: 11px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification.hiding {
    animation: slideOut 0.3s ease-in forwards;
}

/* Points popup animation */
.points-popup {
    position: absolute;
    color: #00cc00;
    font-weight: bold;
    font-size: 28px;
    pointer-events: none;
    animation: floatUp 1.2s ease-out forwards;
    z-index: 9998;
    text-shadow:
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        0 0 10px #00ff00;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    20% {
        transform: translateY(-10px) scale(1.3);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.8);
    }
}

/* Level badge colors */
.level-junior {
    color: #808080;
}

.level-mid {
    color: #008000;
}

.level-senior {
    color: #000080;
}

.level-lead {
    color: #800080;
}

.level-director {
    color: #c00000;
}

.level-enlightenment {
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700, 0 0 20px #ff8c00;
    animation: enlightenmentGlow 1s ease-in-out infinite alternate;
}

@keyframes enlightenmentGlow {
    from {
        text-shadow: 0 0 10px #ffd700, 0 0 20px #ff8c00;
    }
    to {
        text-shadow: 0 0 20px #ffd700, 0 0 40px #ff8c00, 0 0 60px #ff4500;
    }
}

/* Window explosion animation */
@keyframes windowExplode {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(15deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(720deg);
        opacity: 0;
    }
}

.window.exploding {
    animation: windowExplode 1s ease-in forwards;
    pointer-events: none;
}

/* Enlightenment end screen */
#enlightenment-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/lotus-flower.jpg') center center / cover no-repeat;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.enlightenment-message {
    font-family: 'Papyrus', 'Papyrus EG', fantasy;
    font-size: 42px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.play-again-btn {
    margin-top: 40px;
    padding: 12px 32px;
    font-size: 16px;
    cursor: pointer;
}

/* Request type colors */
.type-dev {
    background-color: #e6ffe6;
}

.type-slack {
    background-color: #f0e6ff;
}

.type-github {
    background-color: #e6e6e6;
}

.type-standup {
    background-color: #fff9e6;
}

.type-phishing {
    background-color: #ffe6f0;
}

.type-vendor {
    background-color: #e6fff9;
}

.type-bug {
    background-color: #ffe6e6;
}

.type-jira {
    background-color: #e6f0ff;
}

.type-staging {
    background-color: #fff3e6;
}

.type-meeting {
    background-color: #ffffe6;
}

.type-security {
    background-color: #ffe6e6;
}

.type-privacy {
    background-color: #f3e6ff;
}

.type-vulnerability {
    background-color: #ffcccc;
}

/* Vulnerability remediation minigame */
.vuln-header {
    background: #800000;
    margin: -8px -8px 8px -8px;
    padding: 6px 8px;
}

.vuln-cve-label {
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 4px;
}

.vuln-timer-bar {
    height: 8px;
    background: #400000;
    border: 1px solid #600000;
    overflow: hidden;
}

.vuln-timer-fill {
    height: 100%;
    width: 100%;
    background: repeating-linear-gradient(
        -45deg,
        #ff4444,
        #ff4444 4px,
        #cc0000 4px,
        #cc0000 8px
    );
}

.vuln-timer-text {
    color: #ffcccc;
    font-size: 10px;
    text-align: right;
    margin-top: 2px;
}

.vuln-timer-critical {
    color: #ff4444;
    font-weight: bold;
    animation: vuln-blink 0.5s step-end infinite;
}

@keyframes vuln-blink {
    50% { opacity: 0; }
}

.vuln-card {
    background: #fff;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    padding: 6px 8px;
    margin-bottom: 8px;
    font-size: 11px;
}

.vuln-card-row {
    margin-bottom: 2px;
}

.vuln-card-label {
    font-weight: bold;
    margin-right: 4px;
}

.vuln-card-desc {
    font-style: italic;
    margin-top: 4px;
    color: #660000;
}

.vuln-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 8px;
}

.vuln-action-btn {
    font-size: 11px;
    padding: 4px 6px;
    min-height: 28px;
}

.vuln-action-correct {
    background: #90ee90 !important;
    border-color: #2e8b57 !important;
}

.vuln-action-wrong {
    background: #ffb0b0 !important;
    border-color: #cc0000 !important;
}

.vuln-toggles {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 10px;
}

.vuln-toggles label {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
}

.vuln-toggles input[type="checkbox"] {
    margin: 0;
}

.vuln-outcome {
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    padding: 4px;
    min-height: 18px;
}

.vuln-applying {
    color: #808080;
    font-style: italic;
    font-weight: normal;
}

.vuln-success {
    color: #fff;
    background: #2e8b57;
}

.vuln-fail {
    color: #fff;
    background: #cc0000;
}

.type-production {
    background-color: #ffd6d6;
}

.type-backlog {
    background-color: #e6f7ff;
}

.type-interview {
    background-color: #fff0e6;
}

/* Zoom-like Interview Window */
.zoom-window .window-body {
    padding: 0 !important;
    background-color: #c0c0c0;
}

.zoom-meeting {
    display: flex;
    flex-direction: column;
    background-color: #404040;
}

.zoom-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    background-color: #c0c0c0;
    border-bottom: 2px solid;
    border-color: #808080 #fff #fff #808080;
}

.zoom-meeting-id {
    font-size: 10px;
    color: #000;
}

.zoom-view-btn {
    font-size: 10px;
    padding: 2px 8px;
}

.zoom-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 4px;
    background-color: #000;
    min-height: 200px;
}

.zoom-video-tile {
    background-color: #404040;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 120px;
    border: 1px solid #555;
}

.zoom-avatar {
    width: 64px;
    height: 64px;
    border-radius: 0;
    background-color: #808080;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
}

.zoom-avatar-icon {
    width: 48px;
    height: 48px;
    position: relative;
}

.zoom-avatar-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background-color: #a0a0a0;
    border-radius: 50%;
}

.zoom-avatar-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 20px;
    background-color: #a0a0a0;
    border-radius: 17px 17px 0 0;
}

.zoom-participant-name {
    position: absolute;
    bottom: 4px;
    left: 4px;
    color: #fff;
    font-size: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1px 6px;
}

.zoom-progress-area {
    background-color: #c0c0c0;
    padding: 6px 8px;
    border-top: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
}

.zoom-progress-area .request-progress-label {
    font-size: 10px;
    margin-bottom: 4px;
    color: #000;
}

.zoom-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 6px;
    background-color: #c0c0c0;
    border-top: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    flex-wrap: wrap;
}

.zoom-toolbar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3px 6px;
    cursor: pointer;
    border: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #fff;
    background-color: #c0c0c0;
    min-width: 48px;
}

.zoom-toolbar-btn:active {
    border-color: #000 #dfdfdf #dfdfdf #000;
    box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
}

.zoom-toolbar-btn-active {
    border-color: #000 #dfdfdf #dfdfdf #000;
    box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
    background-color: #a0a0a0;
}

.zoom-toolbar-btn span {
    font-size: 9px;
    color: #000;
    margin-top: 1px;
}

.zoom-toolbar-icon {
    width: 18px;
    height: 14px;
    position: relative;
}

.zoom-icon-mic {
    background: none;
}
.zoom-icon-mic::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 8px;
    height: 10px;
    border: 2px solid #000;
    border-radius: 4px 4px 0 0;
    background: none;
}
.zoom-icon-mic::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 4px;
    background-color: #000;
}

.zoom-icon-video::before {
    content: '';
    position: absolute;
    left: 1px;
    top: 1px;
    width: 10px;
    height: 10px;
    border: 2px solid #000;
}
.zoom-icon-video::after {
    content: '';
    position: absolute;
    right: 2px;
    top: 3px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #000;
}

.zoom-icon-participants::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 1px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #000;
}
.zoom-icon-participants::after {
    content: '';
    position: absolute;
    left: 1px;
    top: 7px;
    width: 9px;
    height: 5px;
    border-radius: 5px 5px 0 0;
    background-color: #000;
}

.zoom-icon-chat::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 1px;
    width: 12px;
    height: 9px;
    border: 2px solid #000;
}
.zoom-icon-chat::after {
    content: '';
    position: absolute;
    left: 4px;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 4px solid #000;
    border-right: 4px solid transparent;
    border-top: 4px solid #000;
}

.zoom-icon-share::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 6px solid #000;
}
.zoom-icon-share::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: #000;
}

.zoom-icon-record::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #000;
}
.zoom-icon-record::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #000;
}

.zoom-icon-reactions::before {
    content: ':)';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: bold;
    color: #000;
}

.zoom-leave-btn {
    background-color: #c00000 !important;
    color: #fff !important;
    font-weight: bold;
    padding: 3px 12px !important;
    margin-left: auto;
    font-size: 10px;
}

.type-policy {
    background-color: #f5f5dc;
}

/* Scroll-to-acknowledge minigame */
.scroll-container {
    height: 180px;
    overflow-y: auto;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    background-color: #fff;
    padding: 8px;
    margin: 8px 0;
    font-size: 10px;
    line-height: 1.4;
}

.scroll-container h3 {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: #000080;
}

.scroll-container p {
    margin: 0 0 8px 0;
}

.scroll-container strong {
    color: #000080;
}

.scroll-hint {
    text-align: center;
    font-size: 10px;
    color: #808080;
    animation: pulse 1.5s ease-in-out infinite;
    margin-bottom: 8px;
}

/* Checkbox grid minigame */
.checkbox-section {
    margin: 8px 0;
}

.checkbox-instructions {
    font-size: 10px;
    color: #808080;
    margin-bottom: 6px;
}

.checkbox-grid {
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    background-color: #fff;
}

.checkbox-grid-row {
    display: flex;
}

.checkbox-grid-row.header-row {
    background-color: #d4d4d4;
    border-bottom: 1px solid #808080;
}

.checkbox-grid-cell {
    flex: 1;
    padding: 6px 4px;
    text-align: center;
    font-size: 10px;
    border-right: 1px solid #c0c0c0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-grid-cell:last-child {
    border-right: none;
}

.checkbox-grid-cell.corner-cell {
    background-color: #c0c0c0;
    flex: 0 0 50px;
}

.checkbox-grid-cell.header-cell {
    font-weight: bold;
    color: #000080;
}

.checkbox-grid-cell.header-cell.repo-header {
    font-size: 9px;
    padding: 6px 2px;
}

.checkbox-grid-cell.row-label {
    background-color: #e8e8e8;
    font-weight: bold;
    color: #000080;
    flex: 0 0 50px;
}

.checkbox-grid-cell.disabled {
    background-color: #e0e0e0;
    color: #a0a0a0;
}

.checkbox-grid-cell.disabled.header-cell,
.checkbox-grid-cell.disabled.row-label {
    color: #a0a0a0;
}

.checkbox-disabled {
    color: #c0c0c0;
    font-size: 14px;
}

.checkbox-grid input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

/* Training slides minigame */
.training-container {
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    background-color: #fff;
    padding: 12px;
    margin: 8px 0;
    min-height: 180px;
}

.training-slide {
    margin-bottom: 8px;
}

.training-slide-header {
    font-weight: bold;
    color: #000080;
    font-size: 12px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #c0c0c0;
}

.training-slide-content {
    font-size: 11px;
    line-height: 1.5;
    color: #000;
}

.training-progress {
    text-align: center;
    margin-bottom: 8px;
}

.training-progress-text {
    font-size: 10px;
    color: #808080;
}

.training-quiz {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #c0c0c0;
}

.training-quiz-question {
    font-size: 11px;
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
}

.training-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.training-quiz-option {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 6px 8px;
    border: 1px solid #c0c0c0;
    background-color: #f5f5f5;
    cursor: pointer;
    font-size: 10px;
    line-height: 1.3;
}

.training-quiz-option:hover {
    background-color: #e8e8e8;
}

.training-quiz-option input[type="radio"] {
    margin-top: 2px;
    cursor: pointer;
}

.training-quiz-option.selected {
    border-color: #000080;
    background-color: #e6e6ff;
}

.training-quiz-option.correct {
    border-color: #008000;
    background-color: #e6ffe6;
}

.training-quiz-option.incorrect {
    border-color: #c00000;
    background-color: #ffe6e6;
}

.type-training {
    background-color: #fff0f5;
}

/* Calendar Tetris minigame */
.calendar-instructions {
    font-size: 10px;
    color: #808080;
    margin-bottom: 6px;
}

.calendar-container {
    display: flex;
    gap: 10px;
    margin: 8px 0;
}

.calendar-grid {
    flex: 1;
    display: grid;
    gap: 1px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    padding: 2px;
    position: relative;
    min-height: 194px;
}

.calendar-cell {
    background-color: #fff;
}

.calendar-meeting {
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    color: #fff;
    user-select: none;
    box-sizing: border-box;
}

.calendar-meeting.fixed {
    background: linear-gradient(135deg, #808080 0%, #606060 100%);
    border: 1px solid #404040;
}

.calendar-meeting.movable {
    background: linear-gradient(135deg, #4a90d9 0%, #2060a0 100%);
    border: 1px solid #105080;
    cursor: grab;
}

.calendar-meeting.movable:hover {
    background: linear-gradient(135deg, #5aa0e9 0%, #3070b0 100%);
}

.calendar-meeting.new {
    background: linear-gradient(135deg, #50c050 0%, #308030 100%);
    border: 1px solid #206020;
    cursor: grab;
    width: 100%;
}

.calendar-meeting.dragging {
    cursor: grabbing;
    opacity: 0.8;
    z-index: 100;
}

.calendar-meeting.placed {
    background: linear-gradient(135deg, #50c050 0%, #308030 100%);
    border: 1px solid #206020;
}

.calendar-new-meeting {
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4px;
    background-color: #e8e8e8;
    border: 1px solid #c0c0c0;
}

.calendar-new-meeting.hidden {
    visibility: hidden;
}

.type-calendar {
    background-color: #f0f8ff;
}

/* Repro steps drag-and-drop minigame */
.repro-instructions {
    font-size: 10px;
    color: #808080;
    margin-bottom: 6px;
}

.repro-container {
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    background-color: #fff;
    padding: 4px;
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 60px;
}

.repro-step {
    display: flex;
    align-items: center;
    padding: 4px 6px;
    border: 1px solid;
    border-color: #808080 #fff #fff #808080;
    background-color: #f0f0f0;
    user-select: none;
    font-size: 11px;
    line-height: 1.3;
}

.repro-step-number {
    width: 20px;
    flex-shrink: 0;
    font-weight: bold;
    color: #000080;
    font-size: 11px;
}

.repro-step-text {
    flex: 1;
    color: #000;
}

.repro-step-hint {
    flex-shrink: 0;
    margin-left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #000080;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.repro-step-arrows {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex-shrink: 0;
    margin-left: 4px;
}

.repro-arrow {
    width: 18px;
    height: 14px;
    padding: 0;
    font-size: 8px;
    line-height: 1;
    cursor: pointer;
    background: #c0c0c0;
    border: 1px solid;
    border-color: #fff #808080 #808080 #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.repro-arrow:active:not(:disabled) {
    border-color: #808080 #fff #fff #808080;
}

.repro-arrow:disabled {
    color: #a0a0a0;
    cursor: default;
}

/* Empty state */
.empty-state {
    text-align: center;
    color: #808080;
    padding: 20px;
    font-style: italic;
}

/* Auto-approver indicator */
.auto-indicator {
    display: inline-block;
    background-color: #008000;
    color: #fff;
    font-size: 9px;
    padding: 1px 4px;
    margin-left: 8px;
    font-weight: bold;
}

/* Request queue counter */
.queue-counter {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #ff0000;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pulsing animation for new unlocks */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 128, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 128, 0, 0);
    }
}

.newly-unlocked {
    animation: pulse 1s ease-in-out 3;
}

/* Desktop icon style (for future use) */
.desktop-icon {
    position: absolute;
    width: 64px;
    text-align: center;
    cursor: pointer;
    padding: 4px;
}

.desktop-icon:hover {
    background-color: rgba(0, 0, 128, 0.3);
}

.desktop-icon img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
}

.desktop-icon span {
    display: block;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    font-size: 11px;
    margin-top: 4px;
    word-wrap: break-word;
}

/* ========== SPLASH SCREEN ========== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #008080;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#splash-screen.hidden {
    display: none;
}

.splash-window {
    width: 450px;
    animation: windowOpen 0.3s ease-out;
}

@keyframes windowOpen {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.splash-body {
    text-align: center;
    padding: 16px !important;
}

/* Logo Container */
.splash-logo {
    padding: 20px 0;
}

/* Pixel Art Computer Icon */
.logo-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.logo-monitor {
    width: 80px;
    height: 60px;
    background: linear-gradient(180deg, #c0c0c0 0%, #a0a0a0 100%);
    border: 3px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    border-radius: 4px 4px 0 0;
    padding: 6px;
    box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #606060;
}

.logo-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000080 0%, #1084d0 100%);
    border: 2px solid #000;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 4px;
    align-content: flex-start;
}

.logo-window {
    width: 18px;
    height: 12px;
    background-color: #c0c0c0;
    border: 1px solid;
    border-color: #fff #808080 #808080 #fff;
}

.logo-window:nth-child(1) {
    background-color: #ffe6e6;
}

.logo-window:nth-child(2) {
    background-color: #e6ffe6;
}

.logo-window:nth-child(3) {
    background-color: #e6f0ff;
}

.logo-keyboard {
    width: 70px;
    height: 8px;
    background: linear-gradient(180deg, #d0d0d0 0%, #a0a0a0 100%);
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    border-radius: 0 0 2px 2px;
    margin-top: -1px;
}

/* Logo Text */
.logo-text {
    font-size: 32px;
    font-weight: bold;
    margin: 8px 0 4px 0;
    letter-spacing: -1px;
}

.logo-remote {
    color: #000080;
    text-shadow: 2px 2px 0 #c0c0c0, 3px 3px 0 #808080;
}

.logo-worker {
    color: #008000;
    text-shadow: 2px 2px 0 #c0c0c0, 3px 3px 0 #808080;
}

.logo-version {
    font-size: 10px;
    color: #808080;
}

/* Tagline */
.splash-tagline {
    font-size: 13px;
    font-style: italic;
    color: #000080;
    margin: 12px 0 12px 0;
    font-weight: bold;
}

.splash-subtitle {
    font-size: 11px;
    color: #404040;
    margin-bottom: 8px;
}

/* Tips Section */
.splash-tips {
    text-align: left;
    background-color: #fff;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    padding: 8px 12px;
    margin: 12px 0;
}

.splash-tip-header {
    font-weight: bold;
    color: #000080;
    margin-bottom: 6px;
}

.splash-tip-list {
    margin: 0;
    padding-left: 20px;
    font-size: 11px;
    color: #000;
}

.splash-tip-list li {
    margin-bottom: 3px;
}

/* Buttons */
.splash-buttons {
    margin: 16px 0 12px 0;
}

.splash-buttons .win-btn {
    padding: 6px 24px;
    font-size: 12px;
}

/* Footer */
.splash-footer {
    font-size: 10px;
    color: #808080;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ========== START MENU ========== */
#start-menu {
    position: fixed;
    bottom: 28px;
    left: 2px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #000 #000 #dfdfdf;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080, 4px 4px 0 rgba(0,0,0,0.3);
    z-index: 99998;
    display: flex;
    min-width: 180px;
}

#start-menu.hidden {
    display: none;
}

/* Sidebar with vertical text */
.start-menu-sidebar {
    width: 24px;
    background: linear-gradient(180deg, #000080 0%, #1084d0 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
}

.sidebar-text {
    color: #c0c0c0;
    font-weight: bold;
    font-size: 14px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 #000;
}

/* Menu items container */
.start-menu-items {
    flex-grow: 1;
    padding: 4px 0;
}

/* Menu item button */
.start-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 6px 12px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 11px;
    text-align: left;
    cursor: pointer;
    gap: 8px;
}

.start-menu-item:hover {
    background-color: #000080;
    color: #fff;
}

/* Menu icons */
.menu-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
}

.reset-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #c00000 100%);
    border: 1px solid #800000;
}

.about-icon {
    background: linear-gradient(135deg, #6b9fff 0%, #000080 100%);
    border: 1px solid #000060;
    border-radius: 50%;
    position: relative;
}

.about-icon::after {
    content: '?';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    font-size: 11px;
}

.test-icon {
    background: linear-gradient(135deg, #ffa500 0%, #ff6600 100%);
    border: 1px solid #cc5500;
}

.portal-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border: 1px solid #1B5E20;
}

.hr-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #6A1B9A 100%);
    border: 1px solid #4A148C;
}

.expenses-icon {
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    border: 1px solid #FF8F00;
}

.pto-icon {
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    border: 1px solid #00838F;
}

.review-icon {
    background: linear-gradient(135deg, #FF5722 0%, #E64A19 100%);
    border: 1px solid #BF360C;
}

.intranet-icon {
    background: linear-gradient(135deg, #607D8B 0%, #455A64 100%);
    border: 1px solid #37474F;
}

/* Menu divider */
.start-menu-divider {
    height: 2px;
    margin: 4px 8px;
    background: linear-gradient(180deg, #808080 0%, #808080 50%, #fff 50%);
}

/* Active state for start button when menu is open */
.start-button.active {
    border-color: #000 #dfdfdf #dfdfdf #000;
    box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
}

/* Phishing minigame styles */
.phishing-prompt {
    font-size: 11px;
    color: #444;
    padding: 4px 12px;
    font-style: italic;
}

.phishing-email {
    background: #fff;
    border: 1px solid #808080;
    margin: 4px 12px 8px;
    padding: 8px;
    font-size: 11px;
    line-height: 1.5;
}

.phishing-field {
    margin-bottom: 4px;
}

.phishing-field-label {
    font-weight: bold;
    color: #444;
    margin-right: 4px;
}

.phishing-body {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #ccc;
}

.phishing-hotspot {
    cursor: pointer;
    padding: 1px 3px;
    border-radius: 2px;
    border: 1px solid transparent;
    transition: background-color 0.15s, border-color 0.15s;
}

.phishing-hotspot:hover:not(.locked) {
    background: #e8f0fe;
    border-color: #4285f4;
}

.phishing-hotspot.correct {
    background: #c8e6c9;
    border-color: #2e7d32;
    font-weight: bold;
}

.phishing-hotspot.incorrect {
    background: #ffcdd2;
    border-color: #c62828;
}

.phishing-hotspot.locked {
    cursor: default;
}

.phishing-feedback {
    font-size: 11px;
    padding: 4px 12px;
    min-height: 16px;
}

.phishing-feedback.correct {
    color: #2e7d32;
}

.phishing-feedback.incorrect {
    color: #c62828;
}
