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

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

body {
    font-family: 'MS Sans Serif', 'Microsoft Sans Serif', sans-serif;
    overflow: hidden;
    background: #000;
    color: #fff;
}

/* General Screen Styles */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.screen.active {
    display: block;
}

/* ========== BIOS SCREEN ========== */
#bios-screen {
    background: #000;
    color: #aaa;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bios-content {
    max-width: 800px;
}

.bios-header {
    margin-bottom: 30px;
}

.bios-info {
    margin-bottom: 30px;
    line-height: 1.6;
}

.bios-boot {
    margin-top: 40px;
    line-height: 1.8;
}

.bios-menu {
    color: #fff;
    font-weight: bold;
}

.boot-option {
    color: #aaa;
    padding: 2px 0;
}

.boot-option.selected {
    background: #0000aa;
    color: #fff;
    padding: 2px 10px;
    margin-left: -10px;
}

/* ========== BOOT SCREEN ========== */
#boot-screen {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boot-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* DOS Terminal */
.dos-terminal {
    width: 100%;
    max-width: 600px;
    background: #000;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    text-align: left;
    padding: 10px;
    margin-top: 30px;
    min-height: 100px;
}

#dos-lines {
    line-height: 1.4;
}

.dos-line {
    opacity: 0;
    animation: fadeIn 0.1s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.win98-logo {
    font-family: Arial, sans-serif;
    font-size: 72px;
    color: #fff;
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 30px;
    letter-spacing: -3px;
}

.logo-98 {
    background: linear-gradient(135deg, #ff0000, #ff6600, #ffff00, #00ff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.boot-progress {
    width: 300px;
    margin-bottom: 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #000;
    border: 2px solid #808080;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #00ff00;
    width: 0;
    transition: width 2.4s ease-in-out;
}

.boot-progress p {
    margin-top: 10px;
    color: #fff;
    font-size: 12px;
}

/* ========== DESKTOP ========== */
#desktop {
    background: #008080;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 4px 4px;
    transition: background 0.3s ease;
}

/* Wallpaper backgrounds */
#desktop.bg-teal {
    background: #008080;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 4px 4px;
}

#desktop.bg-blue {
    background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%);
}

#desktop.bg-green {
    background: linear-gradient(180deg, #064e3b 0%, #10b981 100%);
}

#desktop.bg-purple {
    background: linear-gradient(180deg, #581c87 0%, #a855f7 100%);
}

#desktop.bg-clouds {
    background: linear-gradient(180deg, #0ea5e9 0%, #7dd3fc 50%, #e0f2fe 100%);
}

#desktop.bg-sunset {
    background: linear-gradient(180deg, #1e1b4b 0%, #7c2d12 30%, #ea580c 60%, #fbbf24 100%);
}

#desktop.bg-space {
    background: radial-gradient(ellipse at center, #1e1b4b 0%, #0c0a1f 100%);
    position: relative;
}

#desktop.bg-space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 90%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
}

#desktop.bg-pattern {
    background-color: #4a5568;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
}

#desktop.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
}

#desktop.bg-retro {
    background: #c084fc;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(0,0,0,.1) 20px, rgba(0,0,0,.1) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(0,0,0,.1) 20px, rgba(0,0,0,.1) 40px);
}

/* Desktop Icons */
.desktop-icons {
    position: relative;
    width: 100%;
    height: calc(100vh - 40px);
}

.icon {
    width: 80px;
    text-align: center;
    cursor: move;
    padding: 8px;
    user-select: none;
    touch-action: none;
}

.icon:hover {
    background: rgba(0, 0, 128, 0.3);
    outline: 1px dotted #fff;
}

.icon.selected {
    background: rgba(0, 0, 128, 0.5);
    outline: 1px dotted #fff;
}

.icon-image {
    font-size: 40px;
    margin-bottom: 5px;
    filter: drop-shadow(1px 1px 0 #000);
    pointer-events: none;
}

.icon-label {
    color: #fff;
    font-size: 11px;
    text-shadow: 1px 1px 2px #000;
    word-wrap: break-word;
    pointer-events: none;
}

/* Windows */
.window {
    position: absolute;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    min-width: 400px;
    min-height: 300px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.window-titlebar {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: #fff;
    padding: 3px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    font-size: 12px;
    font-weight: bold;
}

.window-title {
    flex: 1;
}

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

.window-btn {
    width: 16px;
    height: 14px;
    background: #c0c0c0;
    border: 1px solid;
    border-color: #fff #000 #000 #fff;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.window-btn:active {
    border-color: #000 #fff #fff #000;
}

.window-menubar {
    background: #c0c0c0;
    padding: 3px 5px;
    border-bottom: 1px solid #808080;
    font-size: 11px;
    display: flex;
    gap: 15px;
}

.window-menubar span {
    cursor: pointer;
    padding: 2px 5px;
    color: #000;
}

.window-menubar span:hover {
    background: #000080;
    color: #fff;
}

.menu-item {
    position: relative;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 25px;
    left: 5px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    min-width: 180px;
    z-index: 10000;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.menu-option {
    padding: 5px 25px 5px 10px;
    font-size: 11px;
    cursor: pointer;
    color: #000;
}

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

.menu-separator {
    height: 1px;
    background: #808080;
    margin: 2px 5px;
}

.win98-input {
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    padding: 4px;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 11px;
}

.window-content {
    padding: 10px;
    background: #fff;
    height: auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

/* Notepad */
.notepad-text {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    resize: none;
    background: #fff;
}

#notepad-window .window-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#notepad-window .notepad-text {
    flex: 1;
    height: auto;
}

/* About Window */
.about-content {
    font-size: 13px;
    line-height: 1.6;
}

.about-content h2 {
    color: #000080;
    margin-bottom: 15px;
}

.about-content p {
    margin-bottom: 8px;
}

/* Blog Window */
.blog-content {
    font-size: 13px;
    color: #000;
}

.blog-content h2 {
    color: #000080;
    margin-bottom: 20px;
    border-bottom: 2px solid #000080;
    padding-bottom: 5px;
}

.blog-post {
    margin-bottom: 25px;
    padding: 15px;
    background: #f0f0f0;
    border: 1px solid #c0c0c0;
}

.blog-post h3 {
    color: #000;
    margin-bottom: 5px;
}

.post-date {
    color: #808080;
    font-size: 11px;
    margin-bottom: 10px;
}

.blog-post p {
    color: #000;
}

.blog-post .win98-button {
    margin-top: 10px;
}

.blog-post .read-more {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    padding: 5px 15px;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
    cursor: pointer;
}

.blog-post .read-more:hover {
    background: #d0d0d0;
}

.blog-post .read-more:active {
    border-color: #000 #fff #fff #000;
}

/* Explorer Window */
.window-toolbar {
    background: #c0c0c0;
    padding: 4px 5px;
    border-bottom: 1px solid #808080;
    display: flex;
    gap: 5px;
}

.toolbar-btn {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    padding: 4px 8px;
    font-size: 10px;
    cursor: pointer;
    font-family: 'MS Sans Serif', sans-serif;
}

.toolbar-btn:active {
    border-color: #000 #fff #fff #000;
}

.window-address-bar {
    background: #c0c0c0;
    padding: 4px 5px;
    border-bottom: 1px solid #808080;
    display: flex;
    gap: 5px;
    align-items: center;
}

.address-label {
    font-size: 11px;
    font-weight: bold;
    color: #000;
}

.address-input {
    flex: 1;
    padding: 3px 5px;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
    background: #fff;
}

.address-input:focus {
    outline: none;
}

.explorer-content {
    padding: 0 !important;
    height: calc(100% - 125px);
    overflow: hidden;
    position: relative;
}

#explorer-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
}

/* Explorer Home Page */
.explorer-home {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 30px;
    background: #fff;
    color: #000;
}

.explorer-home h1 {
    color: #000080;
    border-bottom: 3px solid #000080;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.explorer-home h2 {
    color: #000080;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 16px;
}

.explorer-home p {
    margin-bottom: 15px;
    color: #000;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #f0f0f0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    text-decoration: none;
    color: #000;
    cursor: pointer;
    transition: background 0.2s;
}

.quick-link:hover {
    background: #e0e0e0;
    border-color: #808080 #fff #fff #808080;
}

.quick-link:active {
    border-color: #000 #fff #fff #000;
}

.link-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.link-text {
    font-size: 11px;
    text-align: center;
    font-weight: bold;
}

.explorer-note {
    margin-top: 30px;
    padding: 10px;
    background: #ffffcc;
    border: 1px solid #e0e0a0;
    font-size: 11px;
    color: #000;
}

/* Computer Window */
.computer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
}

.drive-icon {
    width: 80px;
    text-align: center;
    cursor: pointer;
}

.drive-icon .icon-image {
    font-size: 48px;
    margin-bottom: 8px;
}

.drive-icon .icon-label {
    font-size: 11px;
    color: #000;
}

/* Winamp */
.winamp-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.winamp-display {
    background: #000;
    color: #00ff00;
    padding: 10px;
    font-family: 'Courier New', monospace;
    border-bottom: 2px solid #333;
}

.winamp-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
    text-shadow: 0 0 5px #00ff00;
}

.winamp-time {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #00ff00;
}

.winamp-visualizer {
    height: 40px;
    background: #000;
    border: 1px solid #00ff00;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 2px;
    gap: 2px;
}

.visualizer-bar {
    width: 8px;
    background: linear-gradient(to top, #00ff00 0%, #00aa00 50%, #005500 100%);
    transition: height 0.1s ease;
    border-radius: 2px 2px 0 0;
}

.winamp-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #16213e;
}

.winamp-btn {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.1s;
}

.winamp-btn:hover {
    background: #d0d0d0;
}

.winamp-btn:active {
    border-color: #000 #fff #fff #000;
    background: #a0a0a0;
}

.winamp-volume {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #1a1a2e;
    border-top: 1px solid #333;
}

.winamp-volume label {
    font-size: 20px;
}

#winamp-volume {
    flex: 1;
    height: 8px;
}

.winamp-playlist {
    background: #000;
    color: #00ff00;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    border-top: 2px solid #333;
}

.playlist-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 12px;
    text-shadow: 0 0 5px #00ff00;
}

.playlist-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.playlist-item {
    padding: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    font-size: 11px;
}

.playlist-item:hover {
    background: #003300;
    border-color: #00ff00;
}

.playlist-item.active {
    background: #005500;
    border-color: #00ff00;
    font-weight: bold;
}

.playlist-item.playing {
    animation: pulse 1s infinite;
}

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

/* Chomikuj */
.chomikuj-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chomikuj-header {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.chomikuj-header h2 {
    margin: 0 0 10px 0;
    font-size: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.chomikuj-stats {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    font-size: 11px;
}

.chomikuj-files {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chomikuj-file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f0f0f0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
}

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

.file-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 3px;
    word-break: break-all;
    color: #000;
}

.file-size {
    font-size: 10px;
    color: #666;
}

.chomikuj-download {
    padding: 5px 10px;
    font-size: 10px;
    white-space: nowrap;
}

#chomikuj-download-area {
    background: #fff;
    padding: 15px;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
}

.chomikuj-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #000;
}

.progress-bar-container {
    height: 20px;
    background: #fff;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    padding: 2px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00a000 0%, #00ff00 50%, #00a000 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #000;
}

/* Buttons */
.win98-button {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    padding: 5px 15px;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
    cursor: pointer;
    margin-top: 10px;
}

.win98-button:active {
    border-color: #000 #fff #fff #000;
}

/* OLX Styles */
.olx-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    color: #000;
}

.olx-header {
    background: linear-gradient(to bottom, #002f34 0%, #003940 100%);
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
}

.olx-logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
}

.olx-slogan {
    font-size: 11px;
    margin-top: 5px;
    opacity: 0.9;
}

.olx-offer-card {
    background: white;
    border: 2px solid #002f34;
    padding: 15px;
    border-radius: 4px;
}

.olx-offer-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
    gap: 15px;
}

.olx-offer-header h3 {
    color: #002f34;
    font-size: 16px;
    margin: 0;
    flex: 1;
}

.olx-price {
    font-size: 24px;
    font-weight: bold;
    color: #23e5db;
    background: #002f34;
    padding: 8px 15px;
    border-radius: 4px;
    white-space: nowrap;
}

.olx-offer-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: #000;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.olx-description {
    color: #000;
    font-size: 13px;
    line-height: 1.6;
    padding: 10px;
    background: #f8f8f8;
    border-left: 3px solid #23e5db;
}

.olx-chat {
    background: white;
    border: 2px solid #002f34;
    padding: 15px;
    border-radius: 4px;
}

.olx-chat-header {
    background: #002f34;
    color: white;
    padding: 10px;
    margin: -15px -15px 15px -15px;
    font-weight: bold;
    font-size: 14px;
}

.olx-messages {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 15px;
    height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.olx-message {
    padding: 10px;
    border-radius: 8px;
    max-width: 80%;
    font-size: 13px;
    line-height: 1.4;
}

.olx-message-seller {
    background: #e8f4f8;
    align-self: flex-start;
    border: 1px solid #23e5db;
}

.olx-message-buyer {
    background: #002f34;
    color: white;
    align-self: flex-end;
    border: 1px solid #001a1d;
}

.olx-message-blocked {
    background: #ff4444;
    color: white;
    align-self: center;
    text-align: center;
    font-weight: bold;
    max-width: 90%;
}

.olx-quick-replies {
    margin-bottom: 15px;
}

.olx-quick-reply-label {
    font-size: 11px;
    color: #000;
    margin-bottom: 8px;
    font-weight: bold;
}

.olx-reply-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    background: white;
    border: 2px solid #002f34;
    color: #002f34;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    text-align: left;
    transition: all 0.2s;
}

.olx-reply-btn:hover {
    background: #002f34;
    color: white;
    transform: translateX(5px);
}

.olx-reply-btn:active {
    transform: translateX(5px) scale(0.98);
}

.olx-reply-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.olx-reply-btn:disabled:hover {
    background: white;
    color: #002f34;
    transform: none;
}

.olx-special-btn-container {
    margin-bottom: 15px;
}

.olx-special-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to bottom, #ff6b6b 0%, #ee5555 100%);
    color: white;
    border: 2px solid #cc0000;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.olx-special-btn:hover {
    background: linear-gradient(to bottom, #ff8888 0%, #ff6666 100%);
    transform: scale(1.02);
}

.olx-special-btn:active {
    transform: scale(0.98);
}

.olx-special-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.olx-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.olx-stat {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.olx-stat-label {
    font-size: 10px;
    color: #000;
    margin-bottom: 5px;
}

.olx-stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #002f34;
}

.olx-new-offer-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to bottom, #23e5db 0%, #00c9bf 100%);
    color: #002f34;
    border: 2px solid #00a89c;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.olx-new-offer-btn:hover {
    background: linear-gradient(to bottom, #44f5eb 0%, #22d9cf 100%);
    transform: scale(1.02);
}

.olx-new-offer-btn:active {
    transform: scale(0.98);
}

/* mObywatel Styles */
.mobywatel-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    color: #000;
}

.mobywatel-header {
    background: linear-gradient(to bottom, #dc143c 0%, #a00000 100%);
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
}

.mobywatel-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.mobywatel-version {
    font-size: 10px;
    opacity: 0.9;
}

.mobywatel-user {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border: 2px solid #dc143c;
    padding: 15px;
    border-radius: 4px;
}

.mobywatel-avatar {
    font-size: 48px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    overflow: hidden;
}

.mobywatel-user-info {
    flex: 1;
}

.mobywatel-name {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.mobywatel-pesel {
    font-size: 12px;
    color: #666;
}

.mobywatel-notifications {
    background: white;
    border: 2px solid #dc143c;
    border-radius: 4px;
    overflow: visible;
    display: block;
}

.mobywatel-notification-header {
    background: #dc143c;
    color: white;
    padding: 10px;
    font-weight: bold;
    font-size: 13px;
}

#mobywatel-notification-list {
    padding: 10px;
    min-height: 80px;
    max-height: 200px;
    overflow-y: auto;
    background: white;
}

.mobywatel-notification {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #dc143c;
    padding: 10px;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #000;
    display: block;
}

.mobywatel-notification:last-child {
    margin-bottom: 0;
}

.mobywatel-documents {
    background: white;
    border: 2px solid #dc143c;
    border-radius: 4px;
    padding: 15px;
}

.mobywatel-section-title {
    font-size: 14px;
    font-weight: bold;
    color: #dc143c;
    margin-bottom: 10px;
}

.mobywatel-document-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
}

.mobywatel-empty {
    text-align: center;
    color: #999;
    font-size: 12px;
    padding: 20px;
}

.mobywatel-document {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: 4px solid #dc143c;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.mobywatel-document:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.mobywatel-document-title {
    font-size: 13px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.mobywatel-document-meta {
    font-size: 11px;
    color: #666;
}

.mobywatel-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobywatel-btn {
    width: 100%;
    padding: 12px;
    border: 2px solid;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.mobywatel-btn-primary {
    background: linear-gradient(to bottom, #dc143c 0%, #a00000 100%);
    border-color: #800000;
    color: white;
}

.mobywatel-btn-primary:hover {
    background: linear-gradient(to bottom, #ff1744 0%, #c00000 100%);
    transform: scale(1.02);
}

.mobywatel-btn-secondary {
    background: white;
    border-color: #dc143c;
    color: #dc143c;
}

.mobywatel-btn-secondary:hover {
    background: #dc143c;
    color: white;
    transform: scale(1.02);
}

.mobywatel-btn-notification {
    background: linear-gradient(to bottom, #ffc107 0%, #ff9800 100%);
    border-color: #f57c00;
    color: #000;
}

.mobywatel-btn-notification:hover {
    background: linear-gradient(to bottom, #ffd54f 0%, #ffb74d 100%);
    transform: scale(1.02);
}

.mobywatel-btn:active {
    transform: scale(0.98);
}

/* Radio FM Styles */
.radiofm-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    color: #000;
}

.radiofm-header {
    background: linear-gradient(to bottom, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
}

.radiofm-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.radiofm-subtitle {
    font-size: 11px;
    opacity: 0.9;
}

.radiofm-station {
    background: white;
    border: 2px solid #4a90e2;
    padding: 15px;
    border-radius: 4px;
}

.radiofm-station-info {
    text-align: center;
}

.radiofm-station-name {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
}

.radiofm-frequency {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.radiofm-status {
    font-size: 12px;
    color: #000;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 3px;
    display: inline-block;
}

.radiofm-status.playing {
    background: #4caf50;
    color: white;
}

.radiofm-controls {
    display: flex;
    gap: 10px;
}

.radiofm-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #4a90e2;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    background: white;
    color: #4a90e2;
}

.radiofm-btn:hover {
    background: #4a90e2;
    color: white;
    transform: scale(1.02);
}

.radiofm-btn:active {
    transform: scale(0.98);
}

.radiofm-play {
    background: linear-gradient(to bottom, #4caf50 0%, #388e3c 100%);
    border-color: #2e7d32;
    color: white;
}

.radiofm-play:hover {
    background: linear-gradient(to bottom, #66bb6a 0%, #4caf50 100%);
}

.radiofm-stop {
    background: linear-gradient(to bottom, #f44336 0%, #d32f2f 100%);
    border-color: #c62828;
    color: white;
}

.radiofm-stop:hover {
    background: linear-gradient(to bottom, #ef5350 0%, #f44336 100%);
}

.radiofm-volume {
    background: white;
    border: 2px solid #4a90e2;
    padding: 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.radiofm-volume label {
    font-size: 13px;
    font-weight: bold;
    color: #000;
    min-width: 80px;
}

.radiofm-volume input[type="range"] {
    flex: 1;
}

.radiofm-volume span {
    font-size: 12px;
    font-weight: bold;
    color: #4a90e2;
    min-width: 40px;
}

.radiofm-info {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 10px;
    border-radius: 4px;
}

/* Minesweeper Styles */
.minesweeper-header-panel {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    padding: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.minesweeper-counter {
    background: #000;
    color: #ff0000;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: bold;
    padding: 2px 5px;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    min-width: 50px;
    text-align: center;
}

.minesweeper-face-btn {
    width: 26px;
    height: 26px;
    font-size: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    cursor: pointer;
}

.minesweeper-face-btn:active {
    border-color: #808080 #fff #fff #808080;
    padding: 1px 0 0 1px;
}

.minesweeper-grid {
    border: 3px solid;
    border-color: #808080 #fff #fff #808080;
    display: grid;
    grid-template-columns: repeat(9, 20px);
    grid-template-rows: repeat(9, 20px);
    background: #c0c0c0;
}

.minesweeper-cell {
    width: 20px;
    height: 20px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    user-select: none;
}

.minesweeper-cell.revealed {
    border: 1px solid #808080;
    border-top: none;
    border-left: none;
    padding: 1px 0 0 1px; /* Slight offset to simulate pressed */
}

.minesweeper-cell.mine {
    background: #c0c0c0;
}

.minesweeper-cell.exploded {
    background: #ff0000;
}

.minesweeper-cell.flagged {
    color: #ff0000;
}

/* Number colors */
.minesweeper-cell[data-num="1"] { color: #0000ff; }
.minesweeper-cell[data-num="2"] { color: #008000; }
.minesweeper-cell[data-num="3"] { color: #ff0000; }
.minesweeper-cell[data-num="4"] { color: #000080; }
.minesweeper-cell[data-num="5"] { color: #800000; }
.minesweeper-cell[data-num="6"] { color: #008080; }
.minesweeper-cell[data-num="7"] { color: #000000; }
.minesweeper-cell[data-num="8"] { color: #808080; }

/* ========== TASKBAR ========== */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #c0c0c0;
    border-top: 2px solid #fff;
    display: flex;
    align-items: center;
    padding: 2px;
    z-index: 1000;
}

.start-button {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    padding: 3px 8px;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    height: 32px;
}

.start-button:active {
    border-color: #000 #fff #fff #000;
}

.start-icon {
    font-size: 18px;
}

.taskbar-apps {
    flex: 1;
    display: flex;
    gap: 2px;
    padding: 0 5px;
    overflow-x: auto;
}

.taskbar-app {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    padding: 5px 10px;
    font-size: 11px;
    cursor: pointer;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.taskbar-app.active {
    border-color: #000 #fff #fff #000;
    background: #a0a0a0;
}

.taskbar-app.minimized {
    background: #c0c0c0;
    border-color: #fff #000 #000 #fff;
    font-style: italic;
    opacity: 0.85;
}

.system-tray {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px;
    border: 1px solid;
    border-color: #808080 #fff #fff #808080;
    height: 26px;
    margin-right: 2px;
}

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

.tray-time {
    font-size: 11px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    padding: 2px 5px;
    border: 1px solid transparent;
}

.tray-time:hover {
    border: 1px solid #808080;
}

/* Start Menu */
.start-menu {
    position: fixed;
    bottom: 40px;
    left: 2px;
    width: 250px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.start-menu-header {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: #fff;
    padding: 20px 10px;
    font-size: 16px;
    transform: rotate(0);
}

.start-menu-items {
    padding: 5px 0;
}

.start-menu-item {
    padding: 8px 10px 8px 10px;
    cursor: pointer;
    font-size: 11px;
    position: relative;
    color: #000;
    text-align: left;
}

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

.start-menu-separator {
    height: 1px;
    background: #808080;
    margin: 3px 0;
}

/* Dialog */
.dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.dialog-content {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    width: 400px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

.dialog-header {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: #fff;
    padding: 3px 5px;
    font-size: 12px;
    font-weight: bold;
}

.dialog-body {
    padding: 20px;
    font-size: 12px;
    color: #000;
}

.dialog-body p {
    margin-bottom: 15px;
    color: #000;
}

.dialog-body label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    color: #000;
}

.dialog-body input[type="radio"] {
    margin-right: 8px;
}

.dialog-buttons {
    padding: 10px 20px;
    text-align: right;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Info Dialog */
.info-dialog-content {
    width: 350px;
}

.info-dialog-body {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-message {
    flex: 1;
    color: #000;
    font-size: 12px;
    line-height: 1.4;
}

/* Window Positioning */
#notepad-window {
    top: 80px;
    left: 100px;
    width: 600px;
    height: 400px;
}

#about-window {
    top: 120px;
    left: 150px;
    width: 500px;
    height: 350px;
}

#blog-window {
    top: 100px;
    left: 200px;
    width: 650px;
    height: 500px;
}

#winamp-window {
    top: 80px;
    left: 250px;
    width: 400px;
    height: auto;
}

#chomikuj-window {
    top: 70px;
    left: 300px;
    width: 550px;
    height: auto;
}

#computer-window {
    top: 90px;
    left: 180px;
    width: 550px;
    height: 400px;
}

#explorer-window {
    top: 60px;
    left: 120px;
    width: 800px;
    height: 600px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* BIOS Screen - Mobile */
    #bios-screen {
        font-size: 10px;
        padding: 10px;
    }
    
    .bios-header {
        margin-bottom: 20px;
    }
    
    .bios-info {
        margin-bottom: 20px;
    }
    
    /* Boot Screen - Mobile */
    .win98-logo {
        font-size: 48px;
        margin-bottom: 20px;
    }
    
    .boot-progress {
        width: 250px;
    }
    
    .boot-progress p {
        font-size: 11px;
    }
    
    .dos-terminal {
        max-width: 90vw;
        font-size: 10px;
        padding: 8px;
        margin-bottom: 20px;
        min-height: 80px;
    }
    
    .boot-content {
        max-width: 90vw;
    }
    
    /* Desktop Icons - Mobile */
    .icon {
        width: 70px;
        padding: 5px;
    }
    
    .icon-image {
        font-size: 32px;
    }
    
    .icon-label {
        font-size: 10px;
    }
    
    /* Windows - Mobile */
    .window {
        min-width: 95vw !important;
        width: 95vw !important;
        left: 2.5vw !important;
        top: 30px !important;
        min-height: 200px;
        max-height: calc(100vh - 100px) !important;
    }
    
    .window-titlebar {
        font-size: 11px;
        padding: 4px 5px;
        touch-action: none;
    }
    
    .window-menubar {
        font-size: 10px;
        padding: 4px 5px;
    }
    
    .window-content {
        font-size: 12px;
        padding: 8px;
        overflow-y: auto;
    }
    
    /* Taskbar - Mobile */
    .taskbar {
        height: 50px;
        padding: 3px;
    }
    
    .start-button {
        font-size: 14px;
        padding: 5px 12px;
        height: 40px;
    }
    
    .start-icon {
        font-size: 20px;
    }
    
    .taskbar-app {
        font-size: 10px;
        padding: 4px 8px;
        max-width: 100px;
    }
    
    .system-tray {
        font-size: 10px;
        padding: 0 5px;
        height: 40px;
    }
    
    .tray-icon {
        font-size: 16px;
    }
    
    .tray-time {
        font-size: 10px;
    }
    
    /* Start Menu - Mobile */
    .start-menu {
        width: 220px;
        bottom: 50px;
        left: 3px;
    }
    
    .start-menu-header {
        font-size: 14px;
        padding: 15px 8px;
    }
    
    .start-menu-item {
        padding: 10px 25px 10px 30px;
        font-size: 12px;
    }
    
    /* Context Menu - Mobile */
    .context-menu {
        min-width: 180px;
    }
    
    .context-menu-item {
        padding: 8px 20px 8px 15px;
        font-size: 12px;
    }
    
    /* Dialogs - Mobile */
    .dialog-content {
        width: 90vw;
        max-width: 350px;
    }
    
    .dialog-body {
        font-size: 13px;
        padding: 15px;
    }
    
    .dialog-body label {
        font-size: 13px;
        padding: 5px 0;
    }
    
    .win98-button {
        font-size: 12px;
        padding: 8px 20px;
        min-width: 80px;
    }
    
    /* Wallpaper Dialog - Mobile */
    .wallpaper-dialog-content {
        width: 90vw;
        max-width: 400px;
    }
    
    .wallpaper-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .wallpaper-option {
        padding: 5px;
    }
    
    .wallpaper-preview {
        height: 60px;
    }
    
    .wallpaper-option span {
        font-size: 10px;
    }
    
    /* Blog content - Mobile */
    .blog-content h2 {
        font-size: 16px;
    }
    
    .blog-post {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .blog-post h3 {
        font-size: 14px;
    }
    
    .blog-post p {
        font-size: 12px;
    }
    
    /* Explorer - Mobile */
    .window-toolbar {
        flex-wrap: wrap;
        gap: 3px;
        padding: 3px;
    }
    
    .toolbar-btn {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .window-address-bar {
        flex-wrap: wrap;
        padding: 3px;
    }
    
    .address-input {
        font-size: 10px;
        padding: 2px 4px;
        min-width: 150px;
    }
    
    .explorer-content {
        height: calc(100% - 145px);
    }
    
    .explorer-home {
        padding: 15px;
    }
    
    .explorer-home h1 {
        font-size: 20px;
    }
    
    .explorer-home h2 {
        font-size: 14px;
    }
    
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .quick-link {
        padding: 10px;
    }
    
    .link-icon {
        font-size: 24px;
    }
    
    .link-text {
        font-size: 10px;
    }
    
    /* Notepad - Mobile */
    .notepad-text {
        font-size: 12px;
    }
    
    /* Chomikuj - Mobile */
    .chomikuj-file {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .file-icon {
        font-size: 24px;
    }
    
    .chomikuj-download {
        width: 100%;
    }
    
    /* Winamp - Mobile */
    .winamp-controls {
        flex-wrap: wrap;
        gap: 5px;
        padding: 10px;
    }
    
    .winamp-btn {
        padding: 8px 12px;
        font-size: 16px;
    }
    
    .winamp-time {
        font-size: 20px;
    }
    
    .winamp-visualizer {
        height: 30px;
    }
    
    .playlist-items {
        font-size: 10px;
    }
    
    /* About content - Mobile */
    .about-content {
        font-size: 12px;
    }
    
    .about-content h2 {
        font-size: 16px;
    }
    
    /* Desktop height adjustment for mobile */
    .desktop-icons {
        height: calc(100vh - 50px);
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    #bios-screen {
        font-size: 9px;
        padding: 8px;
    }
    
    .win98-logo {
        font-size: 36px;
    }
    
    .boot-progress {
        width: 200px;
    }
    
    .dos-terminal {
        font-size: 9px;
        padding: 6px;
        min-height: 60px;
    }
    
    .icon {
        width: 60px;
    }
    
    .icon-image {
        font-size: 28px;
    }
    
    .icon-label {
        font-size: 9px;
    }
    
    .start-menu {
        width: 200px;
    }
    
    .wallpaper-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Context Menu */
.context-menu {
    position: fixed;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    min-width: 200px;
}

.context-menu-item {
    padding: 5px 30px 5px 20px;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    color: #000;
}

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

.context-menu-separator {
    height: 1px;
    background: #808080;
    margin: 3px 0;
}

/* Wallpaper Dialog */
.wallpaper-dialog-content {
    width: 600px;
    max-width: 90vw;
}

.wallpaper-body {
    max-height: 500px;
    overflow-y: auto;
}

.wallpaper-body h3 {
    margin-bottom: 15px;
    color: #000;
}

.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

.wallpaper-option {
    text-align: center;
    cursor: pointer;
    padding: 8px;
    border: 2px solid transparent;
}

.wallpaper-option:hover {
    border-color: #000080;
    background: #e0e0e0;
}

.wallpaper-option.selected {
    border-color: #000080;
    background: #d0d0d0;
}

.wallpaper-preview {
    width: 100%;
    height: 80px;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    margin-bottom: 5px;
}

.wallpaper-option span {
    font-size: 11px;
    display: block;
}

/* Wallpaper previews */
.bg-teal {
    background: #008080;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 4px 4px;
}

.bg-blue {
    background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%);
}

.bg-green {
    background: linear-gradient(180deg, #064e3b 0%, #10b981 100%);
}

.bg-purple {
    background: linear-gradient(180deg, #581c87 0%, #a855f7 100%);
}

.bg-clouds {
    background: linear-gradient(180deg, #0ea5e9 0%, #7dd3fc 50%, #e0f2fe 100%);
}

.bg-sunset {
    background: linear-gradient(180deg, #1e1b4b 0%, #7c2d12 30%, #ea580c 60%, #fbbf24 100%);
}

.bg-space {
    background: radial-gradient(ellipse at center, #1e1b4b 0%, #0c0a1f 100%);
}

.bg-pattern {
    background-color: #4a5568;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
}

.bg-retro {
    background: #c084fc;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(0,0,0,.1) 20px, rgba(0,0,0,.1) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(0,0,0,.1) 20px, rgba(0,0,0,.1) 40px);
}

/* PaczkoMat styles */
.paczkomat-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.paczkomat-dialog {
    background: #c0c0c0;
    border: 2px outset #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    max-width: 500px;
    position: relative;
}

.paczkomat-dialog h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #000080;
}

.paczkomat-dialog p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #333;
}

.paczkomat-dialog .dialog-ok-btn {
    padding: 5px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.paczkomat-dialog .dialog-ok-btn:hover {
    background: #0056b3;
}

/* ========== Gadu-Gadu ========== */
.gg-content {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    background: #f4f4d4;
    color: #000;
    min-height: 0;
}

.gg-status-bar {
    padding: 8px;
    background: #f4f0d8;
    border-bottom: 1px solid #bfb78c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gg-status-text {
    flex: 1;
}

.gg-my-status-label {
    font-size: 13px;
    font-weight: bold;
    color: #d35400;
    line-height: 1.1;
}

.gg-my-status-desc {
    font-size: 11px;
    color: #666;
}

.gg-status-controls select {
    font-size: 10px;
    border: 1px solid #7f7f7f;
    background: #f4f4f4;
    padding: 2px 4px;
}

.gg-tabs {
    display: flex;
    border-top: 1px solid #ffbb78;
    border-bottom: 1px solid #ad5e1f;
    background: #ff8a3c;
}

.gg-tabs button {
    border: none;
    background: transparent;
    color: #2b1900;
    font-size: 11px;
    padding: 4px 10px;
    cursor: pointer;
}

.gg-tabs button.active {
    background: #ffd27a;
    font-weight: bold;
}

.gg-main {
    display: flex;
    flex: 1;
    min-height: 0;
}

.gg-roster {
    width: 42%;
    min-width: 125px;
    border-right: 1px solid #b7b07f;
    background: #eef0a8;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.gg-toolbar {
    display: flex;
    gap: 4px;
    padding: 5px;
    border-bottom: 1px solid #cfc896;
    background: #ffe48a;
}

.gg-toolbar button {
    font-size: 10px;
    border: 1px solid #9f9f9f;
    background: #f1f1f1;
    color: #000;
    padding: 2px 4px;
    cursor: pointer;
}

.gg-toolbar button.active {
    background: #fff6ca;
    border-color: #8d7f3c;
    font-weight: bold;
}

.gg-group-header {
    font-weight: bold;
    color: #8a4b00;
    padding: 3px 6px;
    background: #f7dca1;
    border-bottom: 1px solid #d8b46d;
}

.gg-contact-list {
    flex: 1;
    overflow-y: auto;
    padding: 3px;
}

.gg-contact {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 4px;
    padding: 3px 2px;
    border: 1px solid transparent;
    cursor: pointer;
}

.gg-contact:hover {
    background: #fff7bf;
    border-color: #d1bc72;
}

.gg-contact.active {
    background: #001a80;
    border-color: #001a80;
}

.gg-contact.active .gg-name,
.gg-contact.active .gg-desc {
    color: #fff;
}

.gg-contact-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gg-status-icon {
    font-size: 16px;
}

.status-available { color: #f1c40f; }
.status-busy { color: #e74c3c; }
.status-invisible { color: #95a5a6; }

.gg-name {
    font-size: 15px;
    font-weight: bold;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gg-desc {
    color: #555;
    font-size: 10px;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gg-unread-badge {
    min-width: 15px;
    height: 15px;
    border-radius: 7px;
    background: #d42222;
    color: #fff;
    font-size: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

.gg-unread-badge.has-unread {
    display: inline-flex;
}

.gg-roster-footer {
    border-top: 1px solid #cfc896;
    background: #ffe48a;
    font-size: 10px;
    padding: 4px 6px;
    color: #3d2c00;
    line-height: 1.4;
}

.gg-chat-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: #f0f0b2;
}

.gg-chat-ad {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    background: linear-gradient(90deg, #3766b3 0%, #8db4ef 100%);
    border-bottom: 1px solid #5a5a5a;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.35);
}

.gg-chat-header {
    font-size: 12px;
    color: #000;
    padding: 4px 6px;
    background: #ff8a3c;
    border-top: 1px solid #ffd3a6;
    border-bottom: 1px solid #ad5e1f;
}

.gg-chat-history {
    flex: 1;
    min-height: 90px;
    background: #eef0a8;
    border-top: 1px solid #b8ba6f;
    border-bottom: 1px solid #b8ba6f;
    overflow-y: auto;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gg-msg {
    padding: 3px 6px;
    border: 1px solid #d2cf84;
    border-radius: 0;
    line-height: 1.3;
    color: #000;
    background: rgba(255,255,255,0.15);
}

.gg-msg.me {
    align-self: flex-end;
    background: #f8f8c8;
}

.gg-msg.them {
    align-self: flex-start;
    background: #e4e68f;
}

.gg-typing {
    font-size: 10px;
    color: #5f5f5f;
    font-style: italic;
    padding: 2px 6px;
    background: #f4f4d4;
}

.gg-editor-toolbar {
    display: flex;
    gap: 3px;
    padding: 3px 4px;
    background: #ff8a3c;
    border-top: 1px solid #ffd3a6;
    border-bottom: 1px solid #ad5e1f;
}

.gg-editor-toolbar button {
    border: 1px solid #8f8f8f;
    background: #f0f0f0;
    color: #000;
    font-size: 10px;
    min-width: 24px;
    height: 20px;
    cursor: pointer;
}

.gg-chat-input {
    padding: 4px;
    background: #f4f4d4;
}

.gg-chat-input textarea {
    width: 100%;
    height: 70px;
    border: 1px solid #999;
    background: #eef0a8;
    color: #000;
    font-size: 11px;
    resize: none;
    padding: 5px;
    font-family: Tahoma, Arial, sans-serif;
}

.gg-chat-actions {
    padding: 4px;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    background: #ff8a3c;
    border-top: 1px solid #ffd3a6;
}

.gg-chat-actions button {
    flex: 1;
    border: 1px solid #8f8f8f;
    background: #efefef;
    color: #000;
    font-size: 11px;
    height: 24px;
    cursor: pointer;
}

.gg-chat-actions button:active,
.gg-editor-toolbar button:active {
    transform: translateY(1px);
}

#gadu-gadu-window.power-mode .gg-chat-input textarea,
#gadu-gadu-window.power-mode .gg-chat-actions button,
#gadu-gadu-window.power-mode .gg-editor-toolbar button {
    opacity: 0.65;
}
