/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background: #000;
}

/* Windows XP Startup Screen */
#startup-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #000000 50%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: startupFadeIn 1s ease-out;
}

.startup-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 40px;
}

/* XP Logo Animation */
.xp-logo {
    margin-bottom: 40px;
    animation: logoFloat 3s ease-in-out infinite;
}

.xp-window {
    width: 120px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #F0F0F0 0%, #E0E0E0 50%, #D0D0D0 100%);
    border: 2px solid #A0A0A0;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.xp-window-top {
    height: 20px;
    background: linear-gradient(to bottom, #245EDC 0%, #1E4BB8 50%, #0A2E6B 100%);
    border-radius: 3px 3px 0 0;
    position: relative;
}

.xp-window-top::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 2px;
}

.xp-window-body {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.xp-flag {
    width: 60px;
    height: 40px;
    display: flex;
    flex-direction: column;
    border: 1px solid #000;
}

.xp-flag-stripe {
    height: 10px;
    animation: flagWave 2s ease-in-out infinite;
}

.xp-blue {
    background: #be5c00;
    animation-delay: 0s;
}

.xp-green {
    background: #db6a00;
    animation-delay: 0.5s;
}

.xp-red {
    background: #e97101;
    animation-delay: 1s;
}

.xp-yellow {
    background: #ff7b00;
    animation-delay: 1.5s;
}

/* Startup Text */
.startup-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: textGlow 2s ease-in-out infinite;
}

.startup-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Progress Bar */
.progress-container {
    margin: 30px 0;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #45A049 50%, #3D8B40 100%);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 8px;
    animation: progressPulse 1s ease-in-out infinite;
}

/* Login Screen */
#login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #000000 50%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    animation: startupFadeIn 1s ease-out;
}

.login-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 40px;
}

.login-logo {
    margin-bottom: 40px;
    animation: logoFloat 3s ease-in-out infinite;
}

.login-window {
    width: 120px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #F0F0F0 0%, #E0E0E0 50%, #D0D0D0 100%);
    border: 2px solid #A0A0A0;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.login-window-top {
    height: 20px;
    background: linear-gradient(to bottom, #245EDC 0%, #1E4BB8 50%, #0A2E6B 100%);
    border-radius: 3px 3px 0 0;
    position: relative;
}

.login-window-top::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 2px;
}

.login-window-body {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.login-flag {
    width: 60px;
    height: 40px;
    display: flex;
    flex-direction: column;
    border: 1px solid #000;
}

.login-flag-stripe {
    height: 10px;
    animation: flagWave 2s ease-in-out infinite;
}

.login-form {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 30px;
    backdrop-filter: blur(10px);
    max-width: 400px;
    margin: 0 auto;
}

.login-form h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.login-form p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0078D7;
    box-shadow: 0 0 5px rgba(0, 120, 215, 0.5);
}

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

.login-btn, .cancel-btn {
    padding: 10px 20px;
    border: 2px solid;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.login-btn {
    background: linear-gradient(to bottom, #4CAF50 0%, #45A049 50%, #3D8B40 100%);
    color: white;
    border-color: #2E7D32;
}

.login-btn:hover {
    background: linear-gradient(to bottom, #5CBF60 0%, #4CAF50 50%, #45A049 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cancel-btn {
    background: linear-gradient(to bottom, #F0F0F0 0%, #E0E0E0 50%, #D0D0D0 100%);
    color: #000;
    border-color: #A0A0A0;
}

.cancel-btn:hover {
    background: linear-gradient(to bottom, #E8E8E8 0%, #D8D8D8 100%);
    transform: translateY(-1px);
}

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

.login-error {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.5);
    border-radius: 5px;
    color: #FFE6E6;
    font-size: 14px;
}

.login-error p {
    margin: 0;
    text-align: center;
}

/* Welcome Screen */
#welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: startupFadeIn 1s ease-out;
}

.welcome-content {
    display: flex;
    width: 100%;
    height: 100%;
    color: white;
    max-width: 1200px;
    padding: 40px;
}

.welcome-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-text {
    text-align: left;
    max-width: 400px;
}

.welcome-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: textGlow 2s ease-in-out infinite;
}

.welcome-text p {
    font-size: 20px;
    color: #cccccc;
    margin: 0 0 30px 0;
    text-align: left;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.welcome-bar {
    display: flex;
    width: 200px;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 20px;
}

.welcome-bar-orange {
    flex: 1;
    background: #FF8C00;
}

.welcome-bar-blue {
    flex: 1;
    background: #dd7a00;
}

.welcome-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-logo {
    margin-bottom: 40px;
    animation: logoFloat 3s ease-in-out infinite;
}

.welcome-window {
    width: 120px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #F0F0F0 0%, #E0E0E0 50%, #D0D0D0 100%);
    border: 2px solid #A0A0A0;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.welcome-window-top {
    height: 20px;
    background: linear-gradient(to bottom, #245EDC 0%, #1E4BB8 50%, #0A2E6B 100%);
    border-radius: 3px 3px 0 0;
    position: relative;
}

.welcome-window-top::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 2px;
}

.welcome-window-body {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.welcome-flag {
    width: 60px;
    height: 40px;
    display: flex;
    flex-direction: column;
    border: 1px solid #000;
}

.welcome-flag-stripe {
    height: 10px;
    animation: flagWave 2s ease-in-out infinite;
}

.welcome-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: textGlow 2s ease-in-out infinite;
}

.welcome-text p {
    font-size: 18px;
    color: #333;
    margin: 0;
    text-align: center;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.user-selection {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.user-account {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #A0A0A0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.user-account:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #0078D7;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.user-account:active {
    transform: scale(0.95);
}

.user-account img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #F0F0F0;
    padding: 5px;
}

.user-account span {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Desktop - Bliss Wallpaper */
#desktop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='sky' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23B8E6FF;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23E6F3FF;stop-opacity:1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23sky)'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    display: none;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Desktop Icons */
.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 90px;
    margin: 10px 0;
    cursor: pointer;
    user-select: none;
    position: absolute;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.2s ease;
    z-index: 10;
}

.icon.dragging {
    opacity: 0.8;
    z-index: 1000;
    transform: scale(1.1);
}

.icon:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.icon span {
    font-size: 12px;
    color: #000;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    word-wrap: break-word;
    max-width: 90px;
    line-height: 1.2;
}

/* Taskbar - Classic XP Style */
#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, #245EDC 0%, #1E4BB8 50%, #0A2E6B 100%);
    border-top: 2px solid #4A90E2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.taskbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

/* Taskbar window buttons for minimized windows */
.taskbar-window-btn {
    background: linear-gradient(to bottom, #E8E8E8 0%, #D8D8D8 100%);
    border: 1px solid #A0A0A0;
    border-radius: 3px;
    padding: 4px 8px;
    margin: 0 4px;
    cursor: pointer;
    font-size: 11px;
    color: #333;
    max-width: 120px;
    min-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: 26px;
    box-shadow: inset 1px 1px 1px rgba(255,255,255,0.3);
    position: relative;
    z-index: 1000;
    vertical-align: middle;
    transition: background 0.2s ease;
}

.taskbar-window-btn:hover {
    background: linear-gradient(to bottom, #F0F0F0 0%, #E0E0E0 100%);
    transform: none;
}

.taskbar-window-btn:active {
    background: linear-gradient(to bottom, #D0D0D0 0%, #C0C0C0 100%);
}

#start-button {
    background: linear-gradient(to bottom, #4CAF50 0%, #45A049 50%, #3D8B40 100%);
    color: white;
    border: 2px solid #2E7D32;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#start-button:hover {
    background: linear-gradient(to bottom, #5CBF60 0%, #4CAF50 50%, #45A049 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

#start-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.quick-launch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.quick-launch-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
}

.quick-launch-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#system-tray {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tray-icon {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
}

#clock {
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Start Menu */
#start-menu {
    position: fixed;
    bottom: 40px;
    left: 10px;
    background: linear-gradient(to bottom, #F0F0F0 0%, #E0E0E0 50%, #D0D0D0 100%);
    border: 2px solid #A0A0A0;
    border-radius: 5px;
    min-width: 200px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: none;
}

/* WinBox.js Title Bar Styling */
.wb-title,
div[class*="wb-title"],
.wb-header,
div[class*="wb-header"] {
    padding-left: 30px !important;
    text-align: center;
    background: linear-gradient(to bottom, #245EDC 0%, #1E4BB8 50%, #0A2E6B 100%) !important;
}

.wb-title-text,
div[class*="wb-title-text"],
.wb-title span,
.wb-title div {
    margin-left: 10px !important;
    padding-left: 5px !important;
    text-indent: 5px !important;
}

#start-menu.show {
    display: block !important;
}

#start-menu ul {
    list-style: none;
    padding: 10px 0;
}

#start-menu li {
    padding: 8px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #C0C0C0;
}

#start-menu li:hover {
    background: linear-gradient(to right, #0078D7 0%, #005A9E 100%);
    color: white;
}

#start-menu li:last-child {
    border-bottom: none;
}

/* Hidden Content */
.hidden {
    display: none !important;
}

/* Window Content Styles */
.window-content {
    padding: 25px;
    background: rgb(255, 255, 255);
    border-radius: 5px;
    margin: 15px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

.window-content h2,
.wb-content h2,
div[class*="wb-content"] h2,
.window-content h2,
.wb-body h2,
.wb-content h2,
div[class*="wb-body"] h2,
div[class*="wb-content"] h2,
.window-content > h2,
.wb-body > h2,
.wb-content > h2 {
    color: #000000 !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #d7a500 !important;
    padding-bottom: 10px !important;
    font-size: 20px !important;
    padding-left: 8px !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    padding-right: 15px !important;
}

.window-content h3 {
    color: #0078D7;
    margin-bottom: 10px;
    border-bottom: 2px solid #0078D7;
    padding-bottom: 5px;
}

.window-content ul {
    list-style: none;
    padding-left: 0;
}

.window-content li {
    padding: 5px 0;
    border-bottom: 1px solid #E0E0E0;
    cursor: pointer;
}

.window-content li:hover {
    background: #F0F8FF;
}

/* File Explorer Styles */
.file-explorer {
    display: flex;
    gap: 20px;
    height: 300px;
}

.folder-tree {
    width: 200px;
    background: #F8F8F8;
    border: 1px solid #C0C0C0;
    border-radius: 3px;
    padding: 10px;
    overflow-y: auto;
}

.folder-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.folder-item:hover {
    background: #E0E8FF;
}

.folder-item.subfolder {
    margin-left: 20px;
}

.folder-icon {
    font-size: 16px;
}

.folder-name {
    font-size: 14px;
    color: #333;
}

.file-list {
    flex: 1;
    background: white;
    border: 1px solid #C0C0C0;
    border-radius: 3px;
    padding: 10px;
    overflow-y: auto;
    min-width: 300px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.file-item:hover {
    background: #F0F8FF;
}

.file-icon {
    font-size: 16px;
}

.file-name {
    font-size: 14px;
    color: #333;
}

/* Explorer styles */
.explorer-container {
    display: flex;
    flex-direction: column;
    height: 400px;
    background: #f0f0f0;
    border: 1px solid #ccc;
}

.explorer-main {
    display: flex;
    flex: 1;
}

.explorer-toolbar {
    display: flex;
    align-items: center;
    padding: 8px;
    background: #e0e0e0;
    border-bottom: 1px solid #ccc;
    gap: 5px;
}

.toolbar-btn {
    padding: 4px 8px;
    background: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.toolbar-btn:hover {
    background: #e8e8e8;
}

.address-bar {
    flex: 1;
    margin-left: 10px;
    padding: 4px 8px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
}

.explorer-sidebar {
    width: 200px;
    background: #f8f8f8;
    border-right: 1px solid #ccc;
    padding: 10px;
    overflow-y: auto;
}

.sidebar-item {
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 3px;
    margin-bottom: 2px;
    font-size: 13px;
}

.sidebar-item:hover {
    background: #e0e0e0;
}

.explorer-content {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: white;
}

.folder-item, .file-item {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 3px;
    margin-bottom: 2px;
    font-size: 13px;
}

.folder-item:hover, .file-item:hover {
    background: #f0f0f0;
}

.folder-icon, .file-icon {
    margin-right: 8px;
    font-size: 16px;
}

.explorer-status {
    padding: 6px 10px;
    background: #e0e0e0;
    border-top: 1px solid #ccc;
    font-size: 12px;
    color: #666;
}

/* Calculator Styles */
.calculator {
    background: #F0F0F0;
    border: 2px solid #A0A0A0;
    border-radius: 5px;
    padding: 15px;
    width: 250px;
}

#calc-display {
    width: 100%;
    height: 40px;
    font-size: 18px;
    text-align: right;
    padding: 5px;
    margin-bottom: 10px;
    border: 2px solid #A0A0A0;
    border-radius: 3px;
    background: white;
}

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
}

.calc-buttons button {
    padding: 8px;
    font-size: 14px;
    border: 2px solid #A0A0A0;
    border-radius: 3px;
    background: linear-gradient(to bottom, #F8F8F8 0%, #E8E8E8 100%);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 35px;
}

.calc-buttons button:hover {
    background: linear-gradient(to bottom, #E8E8E8 0%, #D8D8D8 100%);
    transform: translateY(-1px);
}

.calc-buttons button:active {
    transform: translateY(0);
}

/* Enhanced Calculator Button Styles */
.calc-memory-indicator {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    background: #FFE4B5;
    padding: 2px 5px;
    border-radius: 3px;
    border: 1px solid #DDD;
}

.memory-btn {
    background: linear-gradient(to bottom, #E6F3FF 0%, #CCE7FF 100%) !important;
    color: #0066CC;
    font-weight: bold;
}

.memory-btn:hover {
    background: linear-gradient(to bottom, #CCE7FF 0%, #B3DBFF 100%) !important;
}

.scientific-btn {
    background: linear-gradient(to bottom, #F0E6FF 0%, #E0CCFF 100%) !important;
    color: #6600CC;
    font-weight: bold;
}

.scientific-btn:hover {
    background: linear-gradient(to bottom, #E0CCFF 0%, #D0B3FF 100%) !important;
}

.operator-btn {
    background: linear-gradient(to bottom, #FFE6E6 0%, #FFCCCC 100%) !important;
    color: #CC0000;
    font-weight: bold;
}

.operator-btn:hover {
    background: linear-gradient(to bottom, #FFCCCC 0%, #FFB3B3 100%) !important;
}

.clear-btn {
    background: linear-gradient(to bottom, #FFEECC 0%, #FFDDAA 100%) !important;
    color: #CC6600;
    font-weight: bold;
}

.clear-btn:hover {
    background: linear-gradient(to bottom, #FFDDAA 0%, #FFCC88 100%) !important;
}

.equals-btn {
    background: linear-gradient(to bottom, #E6FFE6 0%, #CCFFCC 100%) !important;
    color: #006600;
    font-weight: bold;
    font-size: 16px;
}

/* Textarea Styles */
textarea {
    width: 100%;
    border: 2px solid #A0A0A0;
    border-radius: 3px;
    padding: 10px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.4;
    resize: vertical;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .startup-content, .welcome-content, .login-content {
        padding: 20px;
    }
    
    .startup-text h1, .welcome-text h1 {
        font-size: 32px;
    }
    
    .startup-text p, .welcome-text p {
        font-size: 16px;
    }
    
    .xp-window, .welcome-window, .login-window {
        width: 100px;
        height: 70px;
    }
    
    .xp-flag, .welcome-flag, .login-flag {
        width: 50px;
        height: 35px;
    }
    
    .login-form {
        padding: 20px;
        max-width: 300px;
    }
    
    .login-form h2 {
        font-size: 20px;
    }
    
    #desktop {
        grid-template-columns: repeat(auto-fill, 80px);
        grid-auto-rows: 100px;
        gap: 15px;
        padding: 15px;
    }
    
    .icon {
        width: 80px;
        height: 80px;
    }
    
    .icon img {
        width: 40px;
        height: 40px;
    }
    
    .icon span {
        font-size: 10px;
        max-width: 70px;
    }
    
    #taskbar {
        height: 50px;
    }
    
    #start-button {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    #clock {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* Error Window Styles */
.error-window {
    background: #FFE6E6;
    border: 2px solid #FF6B6B;
    border-radius: 5px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.error-window h3 {
    color: #D32F2F;
    margin-bottom: 10px;
}

.error-window p {
    color: #B71C1C;
    margin-bottom: 10px;
}

/* Loading Animation */
@keyframes startup {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.startup-animation {
    animation: startup 0.5s ease-out;
}

/* Animations */
@keyframes startupFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes startupFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes textGlow {
    0%, 100% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }
    50% { text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3); }
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
} 

/* Run Dialog Styles */
.run-dialog {
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.run-header h3 {
    margin: 0 0 10px 0;
    color: #245EDC;
    font-size: 16px;
}

.run-header p {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 12px;
    line-height: 1.4;
}

.run-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.run-form input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 2px solid #A0A0A0;
    border-radius: 3px;
    font-size: 14px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.run-form input[type="text"]:focus {
    outline: none;
    border-color: #245EDC;
}

.run-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.run-btn {
    padding: 8px 16px;
    border: 2px solid #A0A0A0;
    border-radius: 3px;
    background: #F0F0F0;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    min-width: 60px;
}

.run-btn:hover {
    background: #E0E0E0;
}

.run-btn:active {
    background: #D0D0D0;
}

/* Command Prompt Styles */
.cmd-window {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    background: #000;
    color: #0f0;
}

.cmd-header {
    background: #245EDC;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cmd-title {
    font-weight: bold;
}

.cmd-version {
    font-size: 10px;
}

.cmd-body {
    flex: 1;
    padding: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cmd-output {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
    background: #000;
    color: #0f0;
    font-size: 14px;
    line-height: 1.2;
}

.cmd-line {
    margin: 0;
    padding: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.cmd-input-line {
    display: flex;
    align-items: center;
    background: #000;
    color: #0f0;
}

.cmd-prompt {
    color: #0f0;
    font-size: 14px;
    margin-right: 5px;
}

.cmd-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    outline: none;
    caret-color: #0f0;
}

.cmd-input::placeholder {
    color: #0f0;
    opacity: 0.5;
}

/* Matrix Animation */
@keyframes matrixFall {
    0% {
        transform: translateY(-100px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Scrollbar for command prompt */
.cmd-output::-webkit-scrollbar {
    width: 8px;
}

.cmd-output::-webkit-scrollbar-track {
    background: #000;
}

.cmd-output::-webkit-scrollbar-thumb {
    background: #0f0;
    border-radius: 4px;
}

.cmd-output::-webkit-scrollbar-thumb:hover {
    background: #00ff00;
} 

/* Browser Styles */
.browser-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: visible;
}

.browser-toolbar {
    background: linear-gradient(to bottom, #F0F0F0 0%, #E0E0E0 100%);
    border-bottom: 1px solid #A0A0A0;
    position: relative;
    z-index: 10000 !important;
    overflow: visible;
}

.browser-toolbar-row {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    gap: 8px;
}

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

.nav-btn {
    width: 28px;
    height: 24px;
    border: 1px solid #A0A0A0;
    background: linear-gradient(to bottom, #F8F8F8 0%, #E8E8E8 100%);
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.nav-btn:hover {
    background: linear-gradient(to bottom, #FFFFFF 0%, #F0F0F0 100%);
}

.nav-btn:active {
    background: linear-gradient(to bottom, #E0E0E0 0%, #D0D0D0 100%);
}

.browser-address-bar {
    flex: 1;
    margin: 0 8px;
}

.address-input {
    width: 100%;
    height: 24px;
    border: 1px solid #A0A0A0;
    background: #fff;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 2px;
}

.address-input:focus {
    outline: 2px solid #0078D4;
    border-color: #0078D4;
}

/* Browser Bookmarks Bar */
.browser-bookmarks-bar {
    display: flex;
    align-items: flex-start;
    padding: 2px 5px;
    background: linear-gradient(to bottom, #F0F0F0 0%, #E0E0E0 100%);
    border-bottom: 1px solid #C0C0C0;
    font-size: 11px;
    gap: 5px;
    overflow: visible;
    position: relative;
    z-index: 10002;
    min-height: 22px;
    transition: min-height 0.2s ease;
}

.bookmark-folder {
    position: relative;
    display: inline-block;
    z-index: 10001 !important;
    overflow: visible;
}

.bookmark-folder-title {
    padding: 3px 8px;
    background: linear-gradient(to bottom, #F8F8F8 0%, #E8E8E8 100%);
    border: 1px solid #B0B0B0;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    color: #333;
}

.bookmark-folder-title:hover {
    background: linear-gradient(to bottom, #E8E8E8 0%, #D8D8D8 100%);
}

.bookmark-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: white;
    border: 1px solid #B0B0B0;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    z-index: 999999 !important;
    min-width: 250px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    border-radius: 3px;
}

.bookmark-folder:hover .bookmark-dropdown {
    display: block;
}

/* Expanded state for bookmark bar when dropdown is shown */
.browser-bookmarks-bar.expanded {
    min-height: 320px !important;
    padding-bottom: 298px !important;
}

.bookmark-dropdown a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    font-size: 11px;
    border-bottom: 1px solid #F0F0F0;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
}

.bookmark-dropdown a:hover {
    background: #E0E8FF;
    color: #0066CC;
}

.bookmark-item {
    padding: 3px 6px;
    text-decoration: none;
    color: #333;
    font-size: 11px;
    white-space: nowrap;
    border-radius: 2px;
}

.bookmark-item:hover {
    background: #E0E8FF;
    color: #0066CC;
}

.browser-menu {
    display: flex;
}

.menu-btn {
    width: 28px;
    height: 24px;
    border: 1px solid #A0A0A0;
    background: linear-gradient(to bottom, #F8F8F8 0%, #E8E8E8 100%);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.menu-btn:hover {
    background: linear-gradient(to bottom, #FFFFFF 0%, #F0F0F0 100%);
}

.browser-tabs {
    background: #F0F0F0;
    border-bottom: 1px solid #A0A0A0;
}

.tab-bar {
    display: flex;
    align-items: center;
    padding: 2px 4px 0 4px;
    gap: 2px;
    overflow-x: auto;
}

.tab {
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, #E8E8E8 0%, #D8D8D8 100%);
    border: 1px solid #A0A0A0;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    padding: 4px 8px;
    min-width: 120px;
    max-width: 200px;
    cursor: pointer;
    position: relative;
    margin-right: 2px;
}

.tab.active {
    background: linear-gradient(to bottom, #FFFFFF 0%, #F8F8F8 100%);
    border-color: #0078D4;
    z-index: 1;
}

.tab:hover:not(.active) {
    background: linear-gradient(to bottom, #F0F0F0 0%, #E0E0E0 100%);
}

.tab-title {
    flex: 1;
    font-size: 11px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 4px;
}

.tab-close {
    width: 16px;
    height: 16px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.tab-close:hover {
    background: #FF6B6B;
    color: white;
}

.new-tab-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #A0A0A0;
    background: linear-gradient(to bottom, #F8F8F8 0%, #E8E8E8 100%);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    margin-left: 4px;
}

.new-tab-btn:hover {
    background: linear-gradient(to bottom, #FFFFFF 0%, #F0F0F0 100%);
}

.browser-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 300px;
    background: #f9f9f9;
    z-index: 1;
}

.tab-content {
    display: none;
    height: 100%;
    overflow-y: auto;
    padding: 16px;
}

.tab-content.active {
    display: block !important;
    visibility: visible !important;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-content h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 16px;
    border-bottom: 2px solid #0078D4;
    padding-bottom: 8px;
}

.page-content h2 {
    color: #444;
    font-size: 20px;
    margin: 24px 0 12px 0;
}

.page-content h3 {
    color: #555;
    font-size: 16px;
    margin: 20px 0 8px 0;
}

.page-content p {
    margin-bottom: 12px;
    color: #333;
}

.page-content ul {
    margin: 12px 0;
    padding-left: 24px;
}

.page-content li {
    margin-bottom: 6px;
    color: #333;
}

.page-content em {
    color: #666;
    font-style: italic;
}

.page-content strong {
    color: #222;
    font-weight: bold;
}

.page-content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

.forum-post, .news-article, .email-thread {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 16px;
}

.forum-post h3, .news-article h3, .email-thread h3 {
    color: #0078D4;
    margin-top: 0;
    margin-bottom: 12px;
}

.forum-post p, .news-article p, .email-thread p {
    margin-bottom: 8px;
}

.forum-post ul {
    margin: 8px 0;
    padding-left: 20px;
}

.forum-post li {
    margin-bottom: 4px;
}

/* Scrollbar styling for browser content */
.tab-content::-webkit-scrollbar {
    width: 12px;
}

.tab-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tab-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 6px;
}

.tab-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ===================================
   IRC Client Styles
   =================================== */

.irc-container {
    height: 100%;
    background: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    border: 1px solid #A0A0A0;
}

.irc-header {
    background: linear-gradient(to bottom, #E8E8E8 0%, #D8D8D8 100%);
    border-bottom: 1px solid #A0A0A0;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.irc-server-info {
    display: flex;
    gap: 8px;
    align-items: center;
}

.irc-server {
    font-weight: bold;
    color: #0000AA;
}

.irc-channel {
    font-weight: bold;
    color: #000000;
}

.irc-topic {
    color: #666666;
    font-style: italic;
}

.irc-connection-status {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #008000;
}

.irc-status-indicator {
    color: #00AA00;
}

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

.irc-chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #C0C0C0;
}

.irc-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 4px;
    background: #FFFFFF;
    line-height: 1.3;
}

.irc-message {
    margin-bottom: 1px;
    word-wrap: break-word;
}

.irc-timestamp {
    color: #808080;
    font-size: 11px;
}

.irc-nick {
    font-weight: bold;
    margin-right: 4px;
}

.irc-nick.satoshi {
    color: #AA0000;
}

.irc-nick.hal {
    color: #0000AA;
}

.irc-nick.dorian {
    color: #00AA00;
}

.irc-text {
    color: #000000;
}

.irc-server-message {
    color: #AA00AA;
    font-style: italic;
}

.irc-server-text {
    color: #AA00AA;
}

.irc-userlist {
    width: 120px;
    background: #F8F8F8;
    border-left: 1px solid #C0C0C0;
    display: flex;
    flex-direction: column;
}

.irc-userlist-header {
    background: linear-gradient(to bottom, #E8E8E8 0%, #D8D8D8 100%);
    border-bottom: 1px solid #C0C0C0;
    padding: 4px 6px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
}

.irc-userlist-content {
    flex: 1;
    overflow-y: auto;
    padding: 2px;
}

.irc-user {
    padding: 1px 4px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.irc-user:hover {
    background: #E0E0FF;
}

.irc-user-prefix {
    color: #AA0000;
    font-weight: bold;
}

.irc-user-op .irc-username {
    color: #AA0000;
    font-weight: bold;
}

.irc-user-self {
    background: #FFFFAA;
}

.irc-user-self .irc-username {
    font-weight: bold;
}

.irc-input-container {
    border-top: 1px solid #C0C0C0;
    background: #F0F0F0;
    padding: 4px;
}

.irc-input-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.irc-input-prompt {
    color: #0000AA;
    font-weight: bold;
    white-space: nowrap;
}

.irc-input {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    padding: 2px 4px;
    border: 1px solid #808080;
    background: #FFFFFF;
}

.irc-input:focus {
    outline: none;
    border-color: #0078D4;
}

.irc-send-btn {
    background: linear-gradient(to bottom, #E8E8E8 0%, #D8D8D8 100%);
    border: 1px solid #A0A0A0;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
}

.irc-send-btn:hover {
    background: linear-gradient(to bottom, #F0F0F0 0%, #E0E0E0 100%);
}

.irc-send-btn:active {
    background: linear-gradient(to bottom, #D0D0D0 0%, #C0C0C0 100%);
}

.irc-commands-hint {
    font-size: 10px;
    color: #666666;
    text-align: center;
}

/* IRC scrollbar styling */
.irc-chat-messages::-webkit-scrollbar {
    width: 12px;
}

.irc-chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.irc-chat-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 6px;
}

.irc-chat-messages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.irc-userlist-content::-webkit-scrollbar {
    width: 8px;
}

.irc-userlist-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.irc-userlist-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.irc-userlist-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ====================================
   Bitcoin 0.1.0 Client Styles
   ==================================== */

.bitcoin-container {
    width: 100%;
    height: 100%;
    background: #F0F0F0;
    border: 2px solid #A0A0A0;
    display: flex;
    flex-direction: column;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
}

/* Menu Bar */
.bitcoin-menubar {
    background: linear-gradient(to bottom, #F0F0F0 0%, #D8D8D8 100%);
    border-bottom: 1px solid #808080;
    display: flex;
    padding: 4px 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.bitcoin-menu-item {
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 2px;
    color: #000;
    font-weight: normal;
}

.bitcoin-menu-item:hover {
    background: rgba(0,0,255,0.1);
    border: 1px solid #0066CC;
}

/* Main Content */
.bitcoin-main {
    flex: 1;
    padding: 16px;
    background: #F0F0F0;
    overflow-y: auto;
}

/* Balance Section */
.bitcoin-balance-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px;
    background: #FFFFFF;
    border: 2px inset #F0F0F0;
    border-radius: 4px;
}

.bitcoin-balance-label {
    font-weight: bold;
    margin-right: 8px;
    color: #000;
}

.bitcoin-balance-amount {
    font-size: 14px;
    font-weight: bold;
    color: #000080;
    margin-right: 4px;
    font-family: 'Courier New', monospace;
}

.bitcoin-balance-unit {
    color: #666;
    font-weight: bold;
}

/* Action Buttons */
.bitcoin-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.bitcoin-btn {
    background: linear-gradient(to bottom, #F0F0F0 0%, #D8D8D8 100%);
    border: 2px outset #F0F0F0;
    padding: 6px 16px;
    cursor: pointer;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
    color: #000;
    border-radius: 0;
}

.bitcoin-btn:hover {
    background: linear-gradient(to bottom, #F8F8F8 0%, #E0E0E0 100%);
}

.bitcoin-btn:active {
    border: 2px inset #F0F0F0;
    background: linear-gradient(to bottom, #D0D0D0 0%, #C8C8C8 100%);
}

/* Transaction History */
.bitcoin-transactions {
    background: #FFFFFF;
    border: 2px inset #F0F0F0;
    border-radius: 4px;
}

.bitcoin-transactions-header {
    background: linear-gradient(to bottom, #F0F0F0 0%, #D8D8D8 100%);
    padding: 8px 12px;
    border-bottom: 1px solid #C0C0C0;
    font-weight: bold;
    color: #000;
}

.bitcoin-transactions-list {
    max-height: 300px;
    overflow-y: auto;
}

.bitcoin-tx-entry {
    display: grid;
    grid-template-columns: 30px 80px 80px 1fr 100px;
    padding: 4px 8px;
    border-bottom: 1px solid #E0E0E0;
    align-items: center;
    font-family: 'Courier New', monospace;
    font-size: 10px;
}

.bitcoin-tx-entry:hover {
    background: #E6F3FF;
}

.bitcoin-tx-status {
    font-weight: bold;
    text-align: center;
    color: #008000;
}

.bitcoin-tx-entry .bitcoin-tx-status:first-child {
    color: #008000;
}

.bitcoin-tx-date {
    color: #666;
}

.bitcoin-tx-type {
    color: #000;
}

.bitcoin-tx-address {
    color: #000080;
    font-family: 'Courier New', monospace;
    font-size: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bitcoin-tx-amount {
    text-align: right;
    font-weight: bold;
    color: #008000;
}

/* Status Bar */
.bitcoin-statusbar {
    background: linear-gradient(to bottom, #F0F0F0 0%, #D8D8D8 100%);
    border-top: 1px solid #C0C0C0;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    gap: 20px;
    font-size: 10px;
    color: #000;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
    position: relative;
}

.bitcoin-status-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bitcoin-miners-count {
    margin-left: auto;
    background: linear-gradient(to bottom, #E8E8E8 0%, #D0D0D0 100%);
    border: 1px solid #A0A0A0;
    border-radius: 3px;
    padding: 2px 6px;
    font-weight: bold;
    color: #006600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.bitcoin-status-icon {
    color: #008000;
    font-size: 8px;
}

/* Dialog Styles */
.bitcoin-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #F0F0F0;
    border: 2px outset #F0F0F0;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.3);
    z-index: 10000;
    min-width: 400px;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
}

.bitcoin-dialog-header {
    background: linear-gradient(to right, #0A246A 0%, #A6CAF0 100%);
    color: white;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 11px;
}

.bitcoin-dialog-close {
    background: #C0C0C0;
    border: 1px outset #C0C0C0;
    width: 16px;
    height: 14px;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.bitcoin-dialog-content {
    padding: 16px;
}

.bitcoin-form-group {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bitcoin-form-group label {
    min-width: 80px;
    color: #000;
}

.bitcoin-input {
    flex: 1;
    padding: 2px 4px;
    border: 2px inset #F0F0F0;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    background: #FFFFFF;
}

.bitcoin-unit {
    color: #666;
    font-weight: bold;
}

.bitcoin-dialog-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #C0C0C0;
}

/* Address Book Styles */
.bitcoin-address-list {
    max-height: 200px;
    overflow-y: auto;
    border: 2px inset #F0F0F0;
    background: #FFFFFF;
    margin-bottom: 16px;
}

.bitcoin-address-entry {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-bottom: 1px solid #E0E0E0;
    gap: 8px;
}

.bitcoin-address-entry:hover {
    background: #E6F3FF;
}

.bitcoin-address-text {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #000080;
}

.bitcoin-address-btn {
    background: linear-gradient(to bottom, #F0F0F0 0%, #D8D8D8 100%);
    border: 1px outset #F0F0F0;
    padding: 2px 8px;
    cursor: pointer;
    font-size: 10px;
    color: #000;
}

.bitcoin-address-btn:hover {
    background: linear-gradient(to bottom, #F8F8F8 0%, #E0E0E0 100%);
}

.bitcoin-address-btn:active {
    border: 1px inset #F0F0F0;
}

/* ====================================
   Epic Shutdown Sequence Styles
   ==================================== */

#shutdown-sequence {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 10000;
    transition: opacity 1s ease-in-out;
}

.shutdown-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Hyperspace Effect */
.hyperspace-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #001122 0%, #000000 100%);
    perspective: 1000px;
    opacity: 1;
    transition: opacity 2s ease-in-out;
}

.hyperspace-container.active {
    animation: hyperspace-warp 3s ease-in-out;
}

.hyperspace-stars,
.hyperspace-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: star-zoom 3s linear infinite;
}

.hyperspace-line {
    position: absolute;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #00ffff, transparent);
    animation: line-zoom 2s linear infinite;
}

@keyframes hyperspace-warp {
    0% {
        transform: perspective(1000px) rotateX(0deg);
        background: radial-gradient(ellipse at center, #001122 0%, #000000 100%);
    }
    50% {
        transform: perspective(1000px) rotateX(10deg) scale(1.2);
        background: radial-gradient(ellipse at center, #002244 0%, #000011 100%);
    }
    100% {
        transform: perspective(1000px) rotateX(0deg) scale(1.5);
        background: radial-gradient(ellipse at center, #000033 0%, #000000 100%);
    }
}

@keyframes star-zoom {
    0% {
        transform: scale(1) translateZ(0px);
        opacity: 1;
    }
    100% {
        transform: scale(20) translateZ(1000px);
        opacity: 0;
    }
}

@keyframes line-zoom {
    0% {
        transform: scale(1) translateZ(0px);
        opacity: 0.8;
        height: 100px;
    }
    100% {
        transform: scale(10) translateZ(500px);
        opacity: 0;
        height: 300px;
    }
}

/* Bitcoin Logo Animation */
.bitcoin-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all 1s ease-out;
}

.bitcoin-logo-container.active {
    animation: logo-fly-in 2s ease-out forwards;
}

.epic-bitcoin-logo {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 0 20px #f7931a);
    transition: all 0.5s ease-in-out;
}

.epic-bitcoin-logo.glowing {
    animation: bitcoin-glow 2s ease-in-out infinite alternate;
}

.bitcoin-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(247, 147, 26, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bitcoin-glow.active {
    animation: glow-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes logo-fly-in {
    0% {
        transform: translate(-50%, -50%) scale(0) rotateY(0deg);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) rotateY(180deg);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotateY(360deg);
        opacity: 1;
    }
}

@keyframes bitcoin-glow {
    0% {
        filter: drop-shadow(0 0 20px #f7931a) brightness(1);
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 40px #f7931a) drop-shadow(0 0 60px #ff6600) brightness(1.5);
        transform: scale(1.1);
    }
}

@keyframes glow-pulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Glitch Effects */
.bitcoin-logo-container.glitching {
    animation: glitch-shake 0.5s infinite;
}

.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255, 0, 0, 0.1) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(0, 255, 0, 0.1) 50%, transparent 100%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.glitch-overlay.active {
    animation: glitch-lines 0.3s infinite;
}

.crash-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    opacity: 0;
}

.crash-static.active {
    animation: static-noise 0.1s infinite, static-fade 2s ease-out;
}

@keyframes glitch-shake {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-5px, -2px); }
    20% { transform: translate(-3px, 0px); }
    30% { transform: translate(3px, 2px); }
    40% { transform: translate(-1px, -1px); }
    50% { transform: translate(-3px, 2px); }
    60% { transform: translate(-3px, 1px); }
    70% { transform: translate(3px, 1px); }
    80% { transform: translate(-1px, -1px); }
    90% { transform: translate(1px, 2px); }
}

@keyframes glitch-lines {
    0% {
        opacity: 0;
        background-position: 0% 0%, 0% 0%;
    }
    25% {
        opacity: 0.8;
        background-position: 100% 0%, 0% 50%;
    }
    50% {
        opacity: 0.4;
        background-position: 50% 100%, 100% 0%;
    }
    75% {
        opacity: 0.9;
        background-position: 0% 50%, 50% 100%;
    }
    100% {
        opacity: 0;
        background-position: 100% 100%, 100% 100%;
    }
}

@keyframes static-noise {
    0% { 
        background-color: rgba(255, 255, 255, 0.05);
        filter: contrast(300%) brightness(300%);
    }
    25% { 
        background-color: rgba(255, 255, 255, 0.15);
        filter: contrast(200%) brightness(200%);
    }
    50% { 
        background-color: rgba(255, 255, 255, 0.1);
        filter: contrast(400%) brightness(400%);
    }
    75% { 
        background-color: rgba(255, 255, 255, 0.2);
        filter: contrast(100%) brightness(100%);
    }
    100% { 
        background-color: rgba(255, 255, 255, 0.05);
        filter: contrast(500%) brightness(500%);
    }
}

@keyframes static-fade {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Black Screen Transition */
#black-screen {
    pointer-events: none;
}

/* Ensure shutdown elements are above everything */
#shutdown-sequence,
#black-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

/* ==================== AUCTION APPLICATION STYLES ==================== */

/* Base Auction Container */
.auction-container {
    width: 100%;
    height: 100%;
    background: #F0F0F0;
    border: 2px solid #A0A0A0;
    display: flex;
    flex-direction: column;
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
    font-size: 11px;
}

/* Menu Bar */
.auction-menubar {
    background: linear-gradient(to bottom, #F0F0F0 0%, #E8E8E8 50%, #D8D8D8 100%);
    border-bottom: 1px solid #A0A0A0;
    padding: 2px 0;
    display: flex;
    align-items: center;
    height: 22px;
}

.auction-menu-item {
    padding: 4px 12px;
    cursor: pointer;
    color: #000;
    font-size: 11px;
}

.auction-menu-item:hover {
    background: #3875D7;
    color: white;
}

/* Main Content Area */
.auction-main {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #F0F0F0;
}

/* Auction Header */
.auction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #C0C0C0;
}

.auction-title h2 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: #000080;
}

.auction-subtitle {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.status-indicator {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

.status-indicator.active {
    background: #90EE90;
    color: #006400;
}

/* Content Grid Layout */
.auction-content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 15px;
    height: calc(100% - 80px);
}

/* Auction Details */
.auction-details {
    background: white;
    border: 1px solid #C0C0C0;
    padding: 10px;
    border-radius: 3px;
}

.auction-section {
    margin-bottom: 15px;
}

.auction-section h3 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000080;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 3px;
}

.auction-item-name {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 4px;
}

.auction-item-desc {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 4px;
    color: #333;
}

.auction-item-rarity {
    font-size: 10px;
    font-weight: bold;
    color: #8B0000;
}

.bid-info div {
    margin-bottom: 3px;
    font-size: 11px;
}

.bid-method {
    font-weight: bold;
}

.bid-timer {
    color: #8B0000;
    font-weight: bold;
}

/* Address Container */
.address-container {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.address-input {
    flex: 1;
    padding: 4px;
    border: 1px inset #C0C0C0;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    background: white;
}

.address-copy-btn {
    padding: 4px 8px;
    background: linear-gradient(to bottom, #F0F0F0 0%, #E0E0E0 50%, #D0D0D0 100%);
    border: 1px outset #C0C0C0;
    font-size: 10px;
    cursor: pointer;
}

.address-copy-btn:active {
    border: 1px inset #C0C0C0;
}

.address-note {
    font-size: 10px;
    color: #666;
    font-style: italic;
}

/* Leaderboard */
.auction-leaderboard {
    background: white;
    border: 1px solid #C0C0C0;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
}

.leaderboard-header {
    padding: 8px;
    background: linear-gradient(to bottom, #F8F8F8 0%, #E8E8E8 100%);
    border-bottom: 1px solid #C0C0C0;
}

.leaderboard-header h3 {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #000080;
}

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

.leaderboard-table {
    flex: 1;
    overflow-y: auto;
}

.leaderboard-header-row {
    display: grid;
    grid-template-columns: 40px 1fr 80px;
    gap: 5px;
    padding: 5px 8px;
    background: linear-gradient(to bottom, #E8E8E8 0%, #D8D8D8 100%);
    border-bottom: 1px solid #C0C0C0;
    font-weight: bold;
    font-size: 10px;
}

.leaderboard-entries {
    max-height: 200px;
    overflow-y: auto;
}

.leaderboard-entry {
    display: grid;
    grid-template-columns: 40px 1fr 80px;
    gap: 5px;
    padding: 4px 8px;
    border-bottom: 1px solid #F0F0F0;
    font-size: 10px;
    align-items: center;
}

.leaderboard-entry:nth-child(even) {
    background: #F8F8F8;
}

.leaderboard-entry.rank-1 {
    background: linear-gradient(to right, #FFD700, #FFF8DC);
    font-weight: bold;
}

.leaderboard-entry.rank-2 {
    background: linear-gradient(to right, #C0C0C0, #F8F8FF);
    font-weight: bold;
}

.leaderboard-entry.rank-3 {
    background: linear-gradient(to right, #CD7F32, #FFF8DC);
    font-weight: bold;
}

.rank {
    text-align: center;
    font-weight: bold;
}

.address {
    font-family: 'Courier New', monospace;
    font-size: 9px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.amount {
    text-align: right;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.leaderboard-footer {
    padding: 5px 8px;
    background: linear-gradient(to bottom, #F8F8F8 0%, #E8E8E8 100%);
    border-top: 1px solid #C0C0C0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.last-updated {
    font-size: 9px;
    color: #666;
}

.refresh-btn {
    padding: 3px 6px;
    background: linear-gradient(to bottom, #F0F0F0 0%, #E0E0E0 50%, #D0D0D0 100%);
    border: 1px outset #C0C0C0;
    font-size: 9px;
    cursor: pointer;
}

.refresh-btn:active {
    border: 1px inset #C0C0C0;
}

/* Status Bar */
.auction-statusbar {
    height: 22px;
    background: linear-gradient(to bottom, #F0F0F0 0%, #E8E8E8 50%, #D8D8D8 100%);
    border-top: 1px solid #A0A0A0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 10px;
}

.status-item {
    margin-right: 15px;
    color: #000;
}

.status-item:first-child {
    font-weight: bold;
}

/* ==================== THEME VARIATIONS ==================== */

/* EVIL Theme - Improved Readability */
.evil-theme {
    background: #3A1A1A;
    color: #FFB3B3;
}

/* Ensure all text in evil theme is readable */
.evil-theme * {
    color: inherit;
}

.evil-theme .auction-main {
    background: #3A1A1A;
}

.evil-menubar {
    background: linear-gradient(to bottom, #600000 0%, #500000 50%, #400000 100%);
    border-bottom: 1px solid #AA0000;
}

.evil-theme .auction-menu-item {
    color: #FFCCCC;
    font-weight: bold;
}

.evil-theme .auction-menu-item:hover {
    background: #CC0000;
    color: #FFFFFF;
}

.evil-theme .auction-title h2 {
    color: #FF3333;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.evil-theme .auction-subtitle {
    color: #DDAAAA;
}

.status-indicator.evil-active {
    background: #CC0000;
    color: #FFFFFF;
    font-weight: bold;
}

.evil-theme .auction-details {
    background: #2A0A0A;
    border: 1px solid #AA0000;
    color: #FFCCCC;
}

.evil-theme .auction-section h3 {
    color: #FF4444;
    border-bottom: 1px solid #AA0000;
    font-weight: bold;
}

.evil-theme .auction-item-name {
    color: #FF6666;
    font-weight: bold;
}

.evil-theme .auction-item-desc {
    color: #DDAAAA;
}

.evil-theme .auction-item-rarity {
    color: #FF3333;
    font-weight: bold;
}

.evil-theme .bid-info div {
    color: #FFCCCC;
}

.evil-theme .bid-method {
    color: #FF6666;
    font-weight: bold;
}

.evil-theme .bid-timer {
    color: #FF3333;
    font-weight: bold;
}

.evil-address {
    background: #2A0A0A !important;
    color: #FFCCCC !important;
    border: 1px solid #AA0000 !important;
    font-weight: bold;
}

.evil-copy {
    background: linear-gradient(to bottom, #600000 0%, #500000 50%, #400000 100%);
    color: #FFCCCC;
    border: 1px outset #AA0000;
    font-weight: bold;
}

.evil-copy:hover {
    background: linear-gradient(to bottom, #700000 0%, #600000 50%, #500000 100%);
}

.address-note.evil-warning {
    color: #FF4444;
    font-weight: bold;
}

.evil-theme .auction-leaderboard {
    background: #2A0A0A;
    border: 1px solid #AA0000;
    color: #FFCCCC;
}

.evil-theme .leaderboard-header {
    background: linear-gradient(to bottom, #500000 0%, #400000 100%);
    border-bottom: 1px solid #AA0000;
}

.evil-theme .leaderboard-header h3 {
    color: #FF4444;
    font-weight: bold;
}

.evil-theme .leaderboard-stats {
    color: #DDAAAA;
}

.evil-theme .leaderboard-header-row {
    background: linear-gradient(to bottom, #600000 0%, #500000 100%);
    border-bottom: 1px solid #AA0000;
    color: #FFCCCC;
    font-weight: bold;
}

.evil-theme .leaderboard-entry {
    border-bottom: 1px solid #500000;
    color: #FFCCCC;
}

.evil-theme .leaderboard-entry:nth-child(even) {
    background: #1F0000;
}

.evil-theme .leaderboard-entry:hover {
    background: #400000;
}

.evil-theme .leaderboard-entry .rank {
    color: #FF6666;
    font-weight: bold;
}

.evil-theme .leaderboard-entry .address {
    color: #DDAAAA;
}

.evil-theme .leaderboard-entry .amount {
    color: #FF4444;
    font-weight: bold;
}

.evil-theme .leaderboard-footer {
    background: linear-gradient(to bottom, #500000 0%, #400000 100%);
    border-top: 1px solid #AA0000;
}

.evil-theme .last-updated {
    color: #FFFFFF !important;
    font-weight: bold;
}

.evil-refresh {
    background: linear-gradient(to bottom, #600000 0%, #500000 50%, #400000 100%);
    color: #FFCCCC;
    border: 1px outset #AA0000;
    font-weight: bold;
}

.evil-refresh:hover {
    background: linear-gradient(to bottom, #700000 0%, #600000 50%, #500000 100%);
}

.evil-statusbar {
    background: linear-gradient(to bottom, #600000 0%, #500000 50%, #400000 100%);
    border-top: 1px solid #AA0000;
    color: #FFFFFF;
}

.evil-statusbar .status-item {
    color: #FFFFFF !important;
    font-weight: bold;
}

.evil-statusbar .status-item:first-child {
    color: #FF9999 !important;
    font-weight: bold;
}

/* EVIL Theme Rank-Specific Styling */
.evil-theme .leaderboard-entry.rank-1 {
    background: linear-gradient(to right, #FFD700, #FFF8DC) !important;
    color: #000000 !important;
    font-weight: bold;
}

.evil-theme .leaderboard-entry.rank-1 .rank,
.evil-theme .leaderboard-entry.rank-1 .address,
.evil-theme .leaderboard-entry.rank-1 .amount {
    color: #000000 !important;
    font-weight: bold;
}

.evil-theme .leaderboard-entry.rank-2 {
    background: linear-gradient(to right, #C0C0C0, #F8F8FF) !important;
    color: #000000 !important;
    font-weight: bold;
}

.evil-theme .leaderboard-entry.rank-2 .rank,
.evil-theme .leaderboard-entry.rank-2 .address,
.evil-theme .leaderboard-entry.rank-2 .amount {
    color: #000000 !important;
    font-weight: bold;
}

.evil-theme .leaderboard-entry.rank-3 {
    background: linear-gradient(to right, #CD7F32, #FFF8DC) !important;
    color: #FFFFFF !important;
    font-weight: bold;
}

.evil-theme .leaderboard-entry.rank-3 .rank,
.evil-theme .leaderboard-entry.rank-3 .address,
.evil-theme .leaderboard-entry.rank-3 .amount {
    color: #FFFFFF !important;
    font-weight: bold;
}

/* GOOD Theme */
.good-theme {
    background: #F0FFF0;
    color: #006400;
}

.good-theme .auction-main {
    background: #F0FFF0;
}

.good-menubar {
    background: linear-gradient(to bottom, #E6FFE6 0%, #D4EDD4 50%, #C2F0C2 100%);
    border-bottom: 1px solid #90EE90;
}

.good-theme .auction-menu-item {
    color: #006400;
}

.good-theme .auction-menu-item:hover {
    background: #32CD32;
    color: #FFFFFF;
}

.good-theme .auction-title h2 {
    color: #228B22;
}

.good-theme .auction-subtitle {
    color: #6B8E23;
}

.status-indicator.good-active {
    background: #98FB98;
    color: #006400;
}

.good-theme .auction-details {
    background: #FFFFFE;
    border: 1px solid #90EE90;
    color: #006400;
}

.good-theme .auction-section h3 {
    color: #228B22;
    border-bottom: 1px solid #90EE90;
}

.good-theme .auction-item-rarity {
    color: #FFD700;
}

.good-address {
    background: #FFFFFE !important;
    color: #006400 !important;
    border: 1px solid #90EE90 !important;
}

.good-copy {
    background: linear-gradient(to bottom, #E6FFE6 0%, #D4EDD4 50%, #C2F0C2 100%);
    color: #006400;
    border: 1px outset #90EE90;
}

.address-note.good-blessing {
    color: #228B22;
    font-weight: bold;
}

.good-theme .auction-leaderboard {
    background: #FFFFFE;
    border: 1px solid #90EE90;
    color: #006400;
}

.good-theme .leaderboard-header {
    background: linear-gradient(to bottom, #F0FFF0 0%, #E6FFE6 100%);
    border-bottom: 1px solid #90EE90;
}

.good-theme .leaderboard-header h3 {
    color: #228B22;
}

.good-theme .leaderboard-header-row {
    background: linear-gradient(to bottom, #E6FFE6 0%, #D4EDD4 100%);
    border-bottom: 1px solid #90EE90;
    color: #006400;
}

.good-theme .leaderboard-entry {
    border-bottom: 1px solid #F0FFF0;
    color: #006400;
}

.good-theme .leaderboard-entry:nth-child(even) {
    background: #F8FFF8;
}

.good-theme .leaderboard-footer {
    background: linear-gradient(to bottom, #F0FFF0 0%, #E6FFE6 100%);
    border-top: 1px solid #90EE90;
}

.good-refresh {
    background: linear-gradient(to bottom, #E6FFE6 0%, #D4EDD4 50%, #C2F0C2 100%);
    color: #006400;
    border: 1px outset #90EE90;
}

.good-statusbar {
    background: linear-gradient(to bottom, #E6FFE6 0%, #D4EDD4 50%, #C2F0C2 100%);
    border-top: 1px solid #90EE90;
    color: #006400;
}

/* Real Bitcoin Bid Styling */
.leaderboard-entry.real-bid {
    background: linear-gradient(to right, #E6F7FF 0%, #F0FFFF 100%) !important;
    border-left: 3px solid #1890FF !important;
    font-weight: bold !important;
}

.leaderboard-entry.real-bid .address {
    color: #1890FF !important;
    font-weight: bold !important;
}

.leaderboard-entry.real-bid .amount {
    color: #52C41A !important;
    font-weight: bold !important;
}

/* Evil theme real bid styling */
.evil-theme .leaderboard-entry.real-bid {
    background: linear-gradient(to right, #2A0A0A 0%, #400A0A 100%) !important;
    border-left: 3px solid #FF6600 !important;
}

.evil-theme .leaderboard-entry.real-bid .address {
    color: #FF9900 !important;
}

.evil-theme .leaderboard-entry.real-bid .amount {
    color: #00FF00 !important;
}

/* Good theme real bid styling */
.good-theme .leaderboard-entry.real-bid {
    background: linear-gradient(to right, #F0FFF0 0%, #E6FFE6 100%) !important;
    border-left: 3px solid #32CD32 !important;
}

.good-theme .leaderboard-entry.real-bid .address {
    color: #228B22 !important;
}

.good-theme .leaderboard-entry.real-bid .amount {
    color: #006400 !important;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .auction-content-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    
    .auction-leaderboard {
        max-height: 300px;
    }
} 

/* Mobile Toggle Button */
.mobile-toggle-container {
    position: fixed;
    bottom: 0;
    right: 145px; /* Position next to volume control in taskbar */
    z-index: 10000;
}

.mobile-toggle-btn {
    background: linear-gradient(45deg, #f7931a, #ffd700);
    color: black;
    border: none;
    border-radius: 20px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(247, 147, 26, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 36px; /* Match taskbar height better */
}

.mobile-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 147, 26, 0.6);
}

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

.mobile-toggle-icon {
    font-size: 18px;
}

.mobile-toggle-text {
    white-space: nowrap;
}

/* Responsive adjustments for mobile toggle */
@media (max-width: 768px) {
    .mobile-toggle-container {
        bottom: 0;
        right: 100px; /* Keep in taskbar area on smaller screens */
    }
    
    .mobile-toggle-btn {
        padding: 12px 16px;
        font-size: 12px;
    }
    
    .mobile-toggle-text {
        display: none; /* Hide text on small screens */
    }
} 