/*
 * Shared-device idle warning modal.
 * Rendered by SharedDeviceIdleTimer.razor when an OIDC client signals
 * acr_values=shared_device (e.g. EarlyON kiosk mode).
 *
 * Uses Bootstrap CSS variables throughout so the active theme (colour scheme,
 * border radius, typography) is inherited automatically — no hard-coded colours.
 */

.sd-idle-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-idle-modal {
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    padding: 2rem;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--bs-box-shadow-lg, 0 8px 32px rgba(0, 0, 0, 0.2));
}

.sd-idle-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sd-idle-countdown-text {
    margin-bottom: 0.5rem;
}

.sd-idle-hint {
    color: var(--bs-secondary-color, var(--bs-secondary));
    margin-bottom: 1.5rem;
}

.sd-idle-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.sd-idle-btn {
    flex: 1;
    touch-action: manipulation;
}
