/*
 * IDLE-HELP.CSS - The "Need a hand?" dialog from js/core/idle-help.js.
 * A classic Win95 message box over a dimmed desktop. Uses the theme variables from base.css.
 */

/* Dimmed backdrop (click it to close) */
#idle-help {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000001;            /* above windows, bricks and drawers */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* The message box */
.idle-help-dialog {
    width: min(420px, 100%);
    background: var(--ui-face);
    color: var(--ui-text);
    border-top: 2px solid var(--ui-light);
    border-left: 2px solid var(--ui-light);
    border-right: 2px solid var(--ui-dark);
    border-bottom: 2px solid var(--ui-dark);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
    padding: 3px;
}

.idle-help-title {
    background: linear-gradient(90deg, var(--title-grad-1), var(--title-grad-2));
    color: var(--title-text);
    font-weight: bold;
    padding: 3px 4px 3px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.idle-help-title button {
    width: 16px; height: 16px; padding: 0;
    font-size: 9px; line-height: 9px;
    background: silver; color: #000; border: 1px solid #fff;
    box-shadow: 1px 1px 0 #000; cursor: pointer;
}

.idle-help-body {
    display: flex;
    gap: 14px;
    padding: 14px 12px 6px;
    line-height: 1.5;
}
.idle-help-body img { width: 40px; height: 40px; image-rendering: pixelated; flex-shrink: 0; }
.idle-help-body p { margin: 0 0 8px; }

.idle-help-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 6px 12px 12px;
}
.idle-help-buttons button { padding: 6px 12px; cursor: pointer; font-weight: bold; }
.idle-help-buttons button:focus-visible { outline: 1px dotted var(--ui-text); outline-offset: -5px; }
