/* Status Functions Window Styles */

.status-window {
    position: absolute !important;
    width: 400px;
    height: 200px;
    background: #c0c0c0;
    border: 2px outset #c0c0c0;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2100;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: none;
    font-family: 'Consolas', monospace;
}

.status-window.show {
    display: block;
}

.status-window.minimized {
    display: none;
}

/* Title Bar */
.status-title-bar {
    background: linear-gradient(90deg, #0054e3, #42a8dd);
    color: white;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    user-select: none;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
}

.status-title-text {
    font-weight: bold;
    font-size: 11px;
}

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

.status-minimize-btn,
.status-close-btn {
    width: 18px;
    height: 16px;
    border: 1px outset #c0c0c0;
    background: #c0c0c0;
    color: black;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    z-index: 1;
    user-select: none;
}

.status-minimize-btn:hover,
.status-close-btn:hover {
    background: #e0e0e0;
}

.status-minimize-btn:active,
.status-close-btn:active {
    border: 1px inset #c0c0c0;
}

/* Subtitle Bar */
.status-subtitle-bar {
    background: #ff9800; /* Orange background */
    color: black;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    border-bottom: 1px solid #999;
}

.status-subtitle-text {
    font-weight: bold;
    font-size: 11px;
    color: black;
}

/* Button Grid - 2x3 layout */
.status-button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    height: calc(100% - 40px); /* Subtract both title bars */
    width: 100%;
}

/* Function Buttons */
.status-function-btn {
    background: #c0c0c0;
    color: black;
    border: 2px outset #c0c0c0;
    padding: 10px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.1s;
    font-family: 'Consolas', monospace;
}

.status-function-btn:hover {
    background: #d0d0d0;
    transform: scale(1.02);
}

.status-function-btn:active {
    border: 2px inset #c0c0c0;
    transform: scale(0.98);
}

