@import url("./power-dialog-generated-base.css?v=20260822-15");

.xp-power-icon {
  width: 50px;
  height: 50px;
  background-color: transparent;
  background-image: url("./Assets/icons/xp-power-strip.bmp?v=20260822-15");
  background-repeat: no-repeat;
  background-size: 50px 500px;
}

.xp-power-icon-standby { background-position: 0 -300px; }
.xp-power-icon-off { background-position: 0 0; }
.xp-power-icon-restart { background-position: 0 -150px; }

#xp-log-off::before,
#xp-shut-down::before {
  background-color: transparent;
  background-image: url("./Assets/icons/xp-power-strip.bmp?v=20260822-15");
  background-repeat: no-repeat;
  background-size: 25px 250px;
}

#xp-log-off::before { background-position: 0 -150px; }
#xp-shut-down::before { background-position: 0 0; }

.xp-power-action:disabled .xp-power-icon {
  filter: grayscale(1) brightness(1.35);
  opacity: 0.3;
}

.xp-power-dialog-header::after {
  width: 50px;
  height: 46px;
  margin-left: auto;
  background-image: url("./Assets/icons/windows-xp-flag.png?v=20260822-15");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

/* RebornXP shutdown panel adaptation: exact source assets and shell gradients. */
.power-dialog-backdrop { background:rgba(35,43,51,.24); backdrop-filter:grayscale(1); }
.xp-power-dialog { width:min(clamp(480px,32vw,590px),calc(100vw - 32px)); border:2px solid #082d73; background:#5a7edc; box-shadow:8px 10px 26px rgba(0,0,0,.52); }
.xp-power-dialog-header { height:62px; padding:0 18px; background:#0b43ad; font-size:22px; }
.xp-power-dialog-header::after { width:54px; height:46px; background-image:url("./Assets/rebornxp-ui/ms.png?v=20260823-37"); background-position:center; background-size:contain; }
.xp-power-actions { min-height:154px; padding:25px 42px 20px; background:linear-gradient(90deg,#5a7edc 0%,#83a4f1 50%,#5a7edc 100%); }
.xp-power-icon { width:50px; height:50px; border-radius:0; background-position:center; background-repeat:no-repeat; background-size:contain; }
.xp-power-icon-standby { background-image:url("./Assets/rebornxp-ui/icons/Standby.png?v=20260823-37"); }
.xp-power-icon-off { background-image:url("./Assets/rebornxp-ui/icons/Power.png?v=20260823-37"); }
.xp-power-icon-restart { background-image:url("./Assets/rebornxp-ui/icons/Restart.png?v=20260823-37"); }
.xp-power-action:not(:disabled):hover .xp-power-icon,.xp-power-action:not(:disabled):focus-visible .xp-power-icon { filter:brightness(1.1); outline:none; }
.xp-power-action:disabled .xp-power-icon { filter:grayscale(.35) brightness(1.35); opacity:.28; }
.xp-power-dialog-footer { height:58px; padding:0 18px; background:#073aa0; }

.restart-sequence-overlay { position:fixed; inset:0; z-index:2147483646; display:grid; place-items:center; background:#000; }
.restart-sequence-overlay[hidden],.restart-confirm-dialog[hidden] { display:none !important; }
body.restart-sequence-active .xp-taskbar,body.restart-sequence-active .xp-start-menu { visibility:hidden !important; }
.restart-confirm-dialog { width:520px; height:205px; display:flex; flex-direction:column; border-radius:8px 8px 0 0; box-shadow:5px 7px 18px rgba(0,0,0,.55); font-family:MSSS,Tahoma,Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; }
.restart-confirm-titlebar { box-sizing:border-box; display:flex; height:29px; flex:0 0 29px; align-items:center; gap:6px; border:1px solid #0054e3; border-bottom:0; border-radius:8px 8px 0 0; padding:3px 7px; color:#fff; background:linear-gradient(180deg,#0997ff 0%,#0573e8 12%,#0260d6 58%,#0352bd 88%,#0844a8 100%); box-shadow:inset 0 1px 1px #5dbbff; text-shadow:1px 1px #0f3f91; }
.restart-confirm-titlebar img { width:18px; height:18px; object-fit:contain; }
.restart-confirm-titlebar strong { font:700 13px/1 Trebuchet MS,Tahoma,sans-serif; }
.restart-confirm-body { box-sizing:border-box; display:flex; min-height:0; flex:1 1 auto; flex-direction:column; justify-content:space-between; border:2px solid #166aee; border-top:0; padding:8px; color:#334155; background:#fffff0; }
.restart-confirm-message { display:flex; flex:1 1 auto; align-items:flex-start; gap:16px; padding:8px; }
.restart-confirm-message img { width:32px; height:32px; flex:0 0 32px; object-fit:contain; }
.restart-confirm-message p { margin:1px 0 0; font:11px/1.45 MSSS,Tahoma,Arial,sans-serif; }
.restart-confirm-body footer { display:flex; justify-content:flex-end; gap:14px; padding:0 5px 3px; }
.repo-xp-button { box-sizing:border-box; min-width:75px; min-height:23px; border:1px solid #003c74; border-radius:3px; padding:2px 9px; color:#111; background:linear-gradient(180deg,#fff,#ecebe5 86%,#d8d0c4); box-shadow:none; font:11px/1 MSSS,Tahoma,Arial,Helvetica,sans-serif; text-align:center; }
.repo-xp-button:focus { outline:1px dotted #000; outline-offset:-4px; box-shadow:inset -1px 1px #cee7ff,inset 1px 2px #98b8ea,inset -2px 2px #bcd4f6,inset 1px -1px #89ade4,inset 2px -2px #89ade4; }
.repo-xp-button:not(:disabled):hover { box-shadow:inset -1px 1px #fff0cf,inset 1px 2px #fdd889,inset -2px 2px #fbc761,inset 2px -2px #e5a01a; }
@media (max-width:560px){.restart-confirm-dialog{width:calc(100vw - 24px);height:205px}}
.repo-xp-button:disabled { color:#888; border-color:#7f9db9; background:linear-gradient(180deg,#f6f6f3,#e6e5df 86%,#d4cec3); box-shadow:none; opacity:.72; }
.restart-countdown-value { font-weight:700; }

/* Larger, recruiter-friendly restart prompts */
.restart-confirm-dialog { width:500px; height:200px; }
.restart-confirm-titlebar { height:30px; flex-basis:30px; gap:7px; padding:3px 7px; }
.restart-confirm-titlebar img { display:none; }
.restart-confirm-titlebar strong { font-size:14px; }
.restart-confirm-titlebar::after { content:''; width:21px; height:21px; margin-left:auto; flex:0 0 21px; background:url('./Assets/rebornxp-ui/icons/Exit.png?v=20260823-75') center/contain no-repeat; opacity:.62; }
.restart-confirm-body { padding:10px 12px 11px; }
.restart-confirm-message { align-items:center; gap:16px; padding:9px 13px; }
.restart-confirm-message img { width:40px; height:40px; flex-basis:40px; }
.restart-confirm-message p { margin:0; font-size:14px; line-height:1.45; }
.restart-confirm-body footer { gap:10px; padding:0 6px 2px; }
.repo-xp-button { min-width:96px; min-height:28px; padding:3px 12px; font-size:13px; }
@media (max-width:720px) {
  .restart-confirm-dialog { width:calc(100vw - 24px); height:200px; }
  .restart-confirm-message p { font-size:13px; }
}
/* Exact RebornXP Dialog.svelte measurements */
.restart-confirm-dialog { width:400px; height:150px; border-radius:8px 8px 0 0; }
.restart-confirm-titlebar { box-sizing:border-box; height:28px; flex-basis:28px; padding:4px; border-radius:8px 8px 0 0; }
.restart-confirm-titlebar strong { margin-left:4px; font:600 12px/1 Trebuchet MS,Tahoma,sans-serif; }
.restart-confirm-titlebar::after { width:20px; height:20px; flex-basis:20px; margin-left:auto; opacity:1; }
.restart-confirm-body { padding:8px; border-width:2px; }
.restart-confirm-message { align-items:flex-start; gap:16px; padding:8px; }
.restart-confirm-message img { width:32px; height:32px; flex-basis:32px; }
.restart-confirm-message p { margin:0; font:11px/1.35 MSSS,Tahoma,Arial,Helvetica,sans-serif; color:#1e293b; }
.restart-confirm-body footer { gap:0; padding:0 0 4px; }
.repo-xp-button { min-width:75px; min-height:23px; margin:0 7px; padding:2px 9px; font:11px/1 MSSS,Tahoma,Arial,Helvetica,sans-serif; }
@media (max-width:424px) { .restart-confirm-dialog { width:calc(100vw - 24px); height:150px; } }
/* RebornXP Dialog.svelte external-book confirmation. */
.book-link-dialog-backdrop { position:fixed; inset:0; z-index:2147483647; display:grid; place-items:center; background:transparent; }
.book-link-dialog-backdrop[hidden] { display:none !important; }
.book-link-dialog { position:relative; }
.book-link-dialog .restart-confirm-titlebar::after { display:none; }
.book-link-dialog-close { display:block; width:20px; height:20px; margin-left:auto; border:0; padding:0; background:transparent; }
.book-link-dialog-close img { display:block; width:20px; height:20px; object-fit:contain; }
.book-link-dialog-close:hover img,.book-link-dialog-close:focus-visible img { filter:brightness(1.1); }
.book-link-dialog-close:focus-visible { outline:1px dotted #fff; outline-offset:-2px; }
.book-link-dialog-domain { font-weight:700; }
.book-link-dialog.is-attention { filter:brightness(.8); }