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

        body {
            font-family: "Segoe UI", Tahoma, sans-serif;
            overflow: hidden;
            position: relative;
        }

        .background-slideshow {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .background-slideshow img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
        }

        .background-slideshow img.active {
            opacity: 1;
        }

        .desktop {
            width: 100vw;
            height: 100vh;
            position: relative;
            padding: 20px;
        }

        .icon {
            width: 80px;
            text-align: center;
            cursor: pointer;
            position: absolute;
            user-select: none;
        }

        .icon:hover .icon-image {
            filter: brightness(1.1);
        }

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

        .icon-image {
            width: 48px;
            height: 48px;
            margin: 0 auto 5px;
            transition: all 0.1s;
        }

        .icon-label {
            color: white;
            font-size: 11px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
            word-wrap: break-word;
            line-height: 1.2;
        }

        #documents {
            top: 20px;
            left: 20px;
        }

        #browser {
            top: 110px;
            left: 20px;
        }

        #paint {
            top: 200px;
            left: 20px;
        }

        #minesweeper {
            top: 290px;
            left: 20px;
        }

        .taskbar {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 30px;
            background: linear-gradient(to bottom, #3a6ea5 0%, #2e5c8a 50%, #1e4e7a 100%);
            border-top: 1px solid #5c9cd8;
            display: flex;
            align-items: center;
            padding: 0 5px;
            box-shadow: 0 -2px 5px rgba(0,0,0,0.3);
        }

        .start-button {
            height: 24px;
            background: linear-gradient(to bottom, #5ebc6f 0%, #3d9e4f 50%, #2d8a3f 100%);
            border: 1px solid #fff;
            border-radius: 3px;
            color: white;
            font-weight: bold;
            font-size: 11px;
            padding: 0 15px 0 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.3);
        }

        .start-button:hover {
            background: linear-gradient(to bottom, #6fcf7f 0%, #4db05f 50%, #3d9e4f 100%);
        }

        .start-button:active {
            background: linear-gradient(to bottom, #3d9e4f 0%, #2d8a3f 100%);
        }

        .windows-logo {
            width: 18px;
            height: 18px;
            display: inline-block;
        }

        .system-tray {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 0 8px;
            height: 100%;
            color: white;
            font-size: 11px;
        }

        .tray-icon {
            width: 16px;
            height: 16px;
        }

        .clock {
            padding: 0 5px;
            background: rgba(0,0,0,0.1);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 2px;
        }

        /* Estilos da janela pop-up */
        .window-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            pointer-events: none;
        }

        .window-overlay.active {
            display: flex;
            pointer-events: all;
        }

        .program-window {
            width: 520px;
            background: #ece9d8;
            border: 3px solid;
            border-color: #ffffff #0a246a #0a246a #ffffff;
            box-shadow: 3px 3px 12px rgba(0,0,0,0.7);
            font-family: "Tahoma", sans-serif;
            animation: windowAppear 0.3s ease;
            position: absolute;
            pointer-events: all;
        }

        @keyframes windowAppear {
            from {
                transform: scale(0.9);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .window-titlebar {
            background: linear-gradient(to bottom, #245edb 0%, #1941a5 50%, #15317e 100%);
            padding: 3px 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #000;
            cursor: move;
            user-select: none;
        }

        .window-title {
            color: white;
            font-size: 12px;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 6px;
            text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
        }

        .window-title img {
            width: 18px;
            height: 18px;
        }

        .window-buttons {
            display: flex;
            gap: 2px;
        }

        .window-button {
            width: 21px;
            height: 20px;
            background: linear-gradient(to bottom, #f0f0f0 0%, #d8d8d8 100%);
            border: 1px solid;
            border-color: #ffffff #404040 #404040 #ffffff;
            font-size: 11px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #000;
        }

        .window-button:hover {
            background: linear-gradient(to bottom, #f8f8f8 0%, #e0e0e0 100%);
        }

        .window-button:active {
            border-color: #404040 #ffffff #ffffff #404040;
        }

        .window-content {
            padding: 25px;
            background: #ece9d8;
            min-height: 250px;
        }

        .program-icon-large {
            width: 72px;
            height: 72px;
            margin: 0 auto 20px;
            display: block;
            filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
        }

        .program-description {
            text-align: center;
            margin-bottom: 20px;
            font-size: 13px;
            line-height: 1.5;
            color: #000;
            font-weight: bold;
            padding: 0 10px;
        }

        .warning-box {
            background: linear-gradient(to bottom, #2a1515 0%, #1a0a0a 100%);
            border: 2px solid #8b0000;
            padding: 18px;
            margin: 20px 0;
            box-shadow: inset 0 0 15px rgba(139,0,0,0.3), 0 2px 6px rgba(0,0,0,0.4);
        }

        .warning-title {
            color: #ff4444;
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 12px;
            text-align: center;
            letter-spacing: 1px;
            text-shadow: 0 0 8px rgba(255,68,68,0.6), 1px 1px 2px rgba(0,0,0,0.8);
            animation: warningPulse 2s ease-in-out infinite;
        }

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

        .warning-text {
            color: #d4d4d4;
            font-size: 11px;
            line-height: 1.6;
            text-align: center;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
        }

        .program-info {
            background: #fff;
            border: 2px solid;
            border-color: #808080 #ffffff #ffffff #808080;
            padding: 15px;
            margin-bottom: 20px;
            font-size: 11px;
            box-shadow: inset 1px 1px 2px rgba(0,0,0,0.1);
        }

        .program-info-title {
            font-weight: bold;
            margin-bottom: 10px;
            color: #000080;
            font-size: 12px;
        }

        .program-info p {
            color: #000;
            line-height: 1.5;
        }

        .window-actions {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 25px;
        }

        .action-button {
            padding: 7px 25px;
            background: linear-gradient(to bottom, #f0f0f0 0%, #d8d8d8 100%);
            border: 2px solid;
            border-color: #ffffff #404040 #404040 #ffffff;
            font-size: 11px;
            cursor: pointer;
            min-width: 100px;
            font-weight: normal;
            transition: all 0.1s;
        }

        .action-button:hover {
            background: linear-gradient(to bottom, #f8f8f8 0%, #e0e0e0 100%);
        }

        .action-button:active {
            border-color: #404040 #ffffff #ffffff #404040;
            background: linear-gradient(to bottom, #d0d0d0 0%, #c0c0c0 100%);
        }

        .action-button.primary {
            font-weight: bold;
        }

        /* Tela de Login */
        .login-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, #5a8fd4 0%, #3a6fb0 50%, #2a5f9e 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            transition: opacity 0.5s ease;
        }

        .login-screen.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .login-header {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 60px;
            background: linear-gradient(to bottom, #2449a0 0%, #1a357a 100%);
            border-bottom: 2px solid #4a7bc0;
        }

        .login-footer {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 60px;
            background: linear-gradient(to bottom, #1a357a 0%, #0d1a3d 100%);
            border-top: 2px solid #4a7bc0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
        }

        .windows-logo-login {
            display: flex;
            align-items: center;
            gap: 10px;
            color: white;
            font-size: 18px;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        }

        .windows-logo-login img {
            width: 32px;
            height: 32px;
        }

        .login-buttons {
            display: flex;
            gap: 10px;
        }

        .login-footer-button {
            padding: 8px 15px;
            background: linear-gradient(to bottom, #4a7bc0 0%, #3a6ba8 100%);
            border: 1px solid;
            border-color: #6a9bd8 #2a4b78 #2a4b78 #6a9bd8;
            color: white;
            font-size: 11px;
            cursor: pointer;
            border-radius: 3px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .login-footer-button:hover {
            background: linear-gradient(to bottom, #5a8bd0 0%, #4a7bb8 100%);
        }

        .user-profile {
            text-align: center;
        }

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

        .user-avatar {
            width: 128px;
            height: 128px;
            border: 4px solid white;
            border-radius: 8px;
            margin: 0 auto 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.4);
            background: linear-gradient(135deg, #ff8c00, #ffd700);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 64px;
        }

        .user-name {
            color: white;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 25px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
        }

        .login-form {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .login-input-row {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            justify-content: center;
        }

        .username-input,
        .password-input {
            width: 250px;
            padding: 8px 12px;
            font-size: 14px;
            border: 2px solid;
            border-color: #7a9abd #4a6a8d #4a6a8d #7a9abd;
            background: white;
            font-family: "Tahoma", sans-serif;
            box-shadow: inset 1px 1px 3px rgba(0,0,0,0.2);
        }

        .username-input:focus,
        .password-input:focus {
            outline: none;
            border-color: #5a8abd #3a5a7d #3a5a7d #5a8abd;
        }

        .login-button {
            width: 40px;
            height: 40px;
            background: linear-gradient(to bottom, #4a9a4a 0%, #3a8a3a 100%);
            border: 2px solid;
            border-color: #6aba6a #2a6a2a #2a6a2a #6aba6a;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            font-weight: bold;
            box-shadow: 0 2px 4px rgba(0,0,0,0.3);
            transition: all 0.2s;
            flex-shrink: 0;
        }

        .login-button:hover {
            background: linear-gradient(to bottom, #5aaa5a 0%, #4a9a4a 100%);
            transform: scale(1.05);
        }

        .login-button:active {
            border-color: #2a6a2a #6aba6a #6aba6a #2a6a2a;
            transform: scale(0.95);
        }

        .login-message {
            margin-top: 15px;
            color: white;
            font-size: 12px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
            min-height: 20px;
        }