/* Hack Blocker web version - Windows 10 look of the VB6 form */
html, body { margin: 0; height: 100%; background: #1e3c64; overflow: hidden; font-family: Arial, sans-serif; }
#desk { position: fixed; inset: 0; }
.vbwin { position: absolute; background: #f0f0f0; border: 1px solid #5a7ea8; box-shadow: 0 6px 24px rgba(0,0,0,.45); box-sizing: border-box; user-select: none; }
.vbtitle { position: absolute; left: 0; right: 0; top: 0; height: 21px; background: #fff; color: #000; font: 12px "Segoe UI", Arial, sans-serif; line-height: 21px; padding-left: 6px; cursor: default; white-space: nowrap; overflow: hidden; }
.vbtitletext { display: inline-block; max-width: calc(100% - 34px); overflow: hidden; text-overflow: clip; }
.vbclose { position: absolute; right: 0; top: 0; width: 28px; height: 21px; text-align: center; font-size: 12px; color: #000; }
.vbclose:hover { background: #e81123; color: #fff; }
.vbclient { position: absolute; left: 3px; right: 3px; top: 21px; bottom: 3px; overflow: hidden; }
.vb { position: absolute; box-sizing: border-box; overflow: hidden; margin: 0; }
.vb-Label { white-space: pre-wrap; word-wrap: break-word; line-height: 1.15; cursor: default; }
.vb-Label .cap { display: block; }
.vb-CommandButton { display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid #adadad; background: #e1e1e1; cursor: default; line-height: 1.1; padding: 0 2px; white-space: normal; word-break: normal; overflow-wrap: normal; }
.vb-CommandButton:hover { border-color: #0078d7; }
.vb-CommandButton.graphical { border: 1px solid #707070; box-shadow: inset 1px 1px 0 rgba(255,255,255,.7), inset -1px -1px 0 rgba(0,0,0,.25); }
.vb-CommandButton:active { box-shadow: inset 1px 1px 2px rgba(0,0,0,.4); }
.vb-CommandButton:focus { outline: 1px dotted #000; outline-offset: -4px; }
.vb-CommandButton.disabled { color: #a0a0a0 !important; pointer-events: none; }
.vb-Frame { border: 1px solid #dcdcdc; }
.vb-Frame.noborder { border: none; }
.vb-Frame .framebox { position: absolute; inset: 0; }
.vb-Frame .legend { position: absolute; left: 8px; top: -1px; padding: 0 2px; z-index: 0; white-space: nowrap; line-height: 1; }
.vb-TextBox { border: 1px solid #7a7a7a; padding: 1px 3px; outline: none; resize: none; font-family: inherit; user-select: text; }
.vb-TextBox.noborder { border: none; }
textarea.vb-TextBox { white-space: pre-wrap; }
.vb-ListBox { border: 1px solid #828790; overflow-y: scroll; overflow-x: hidden; cursor: default; outline: none; }
.vb-ListBox .li { white-space: pre; line-height: 1.22; padding: 0 2px; overflow: hidden; text-overflow: clip; }
.vb-ListBox .li.sel { background: #0078d7; color: #fff; }
.vb-Image img { display: block; }
.vb-Image img.stretch { width: 100%; height: 100%; }
.vb-Shape { pointer-events: none; }
.vb-Line { overflow: visible; pointer-events: none; }
/* message box */
.msgov { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.08); }
.msgbox { min-width: 300px; max-width: 520px; background: #fff; border: 1px solid #888; box-shadow: 0 8px 30px rgba(0,0,0,.45); font: 12px "Segoe UI", Arial, sans-serif; }
.msgtitle { position: relative; height: 30px; line-height: 30px; padding-left: 10px; }
.msgtitle .vbclose { height: 30px; width: 44px; line-height: 30px; }
.msgbody { display: flex; gap: 12px; padding: 18px 18px 22px; align-items: flex-start; }
.msgtext { white-space: pre-wrap; font-size: 13px; line-height: 1.35; }
.mi { flex: 0 0 32px; height: 32px; border-radius: 50%; color: #fff; font: bold 20px Arial; text-align: center; line-height: 32px; }
.mi.crit { background: #e81123; }
.mi.excl { background: #f7c600; color: #000; border-radius: 4px; clip-path: polygon(50% 0, 100% 100%, 0 100%); line-height: 40px; font-size: 18px; }
.mi.info { background: #1e6fd9; }
.msgbtns { background: #f0f0f0; padding: 10px 12px; text-align: right; }
.msgbtns button { min-width: 74px; height: 24px; margin-left: 8px; font: 12px "Segoe UI", Arial; border: 1px solid #adadad; background: #e1e1e1; }
.msgbtns button:focus { border-color: #0078d7; outline: 1px dotted #000; outline-offset: -4px; }
/* key screen (replaces the Form3 menu for unlocking) */
#keyscreen { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; }
#keyscreen .panel { width: 360px; background: #000; color: #fff; border: 3px solid #00ff00; border-radius: 10px; padding: 22px; text-align: center; font: bold 14px Arial; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
#keyscreen h1 { margin: 0 0 6px; font: 900 26px Arial; color: #00ff00; letter-spacing: 1px; }
#keyscreen .sub { color: #ffff00; font-size: 12px; margin-bottom: 18px; }
#keyscreen input { width: 220px; height: 30px; font: bold 16px Arial; text-align: center; border: 2px solid #c0ffc0; }
#keyscreen button { margin-top: 14px; width: 180px; height: 38px; font: bold 15px Arial; background: #00ffff; border: 1px solid #333; cursor: pointer; }
#keyscreen .msg { min-height: 18px; margin-top: 12px; color: #ff8080; font-size: 12px; }
#keyscreen .note { margin-top: 14px; font: 11px Arial; color: #c0c0c0; }
/* normal (sizable) Windows 10 window used by the menu and the contacts manager */
.vbwin.big { border: 1px solid #1883d7; }
.vbwin.big .vbtitle { height: 31px; line-height: 31px; font-size: 12px; padding-left: 8px; display: flex; align-items: center; }
.vbwin.big .vbtitletext { flex: 1; max-width: none; padding-left: 6px; }
.vbwin.big .vbclient { left: 0; right: 0; top: 31px; bottom: 0; }
.vbwin.big .vbclose, .vbwin.big .vbmin, .vbwin.big .vbmax { position: static; width: 46px; height: 31px; line-height: 31px; text-align: center; font-size: 13px; color: #000; flex: 0 0 46px; }
.vbwin.big .vbmin:hover, .vbwin.big .vbmax:hover { background: #e5e5e5; }
.vbwin.big .vbclose:hover { background: #e81123; color: #fff; }
.vbicon { width: 16px; height: 16px; }
.vbchip { position: fixed; bottom: 6px; left: 50%; transform: translateX(-50%); z-index: 99998; background: #1e1e1e; color: #fff; font: 12px "Segoe UI", Arial; padding: 6px 14px; border-radius: 4px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.vb-CheckBox, .vb-OptionButton { display: flex; align-items: center; gap: 4px; cursor: default; white-space: nowrap; }
.vb-CheckBox .chk, .vb-OptionButton .opt { flex: 0 0 13px; width: 13px; height: 13px; border: 1px solid #333; background: #fff; box-sizing: border-box; position: relative; }
.vb-OptionButton .opt { border-radius: 50%; }
.vb-CheckBox .chk.on::after { content: '\2713'; position: absolute; left: 1px; top: -3px; font: bold 12px Arial; color: #000; }
.vb-OptionButton .opt.on::after { content: ''; position: absolute; left: 3px; top: 3px; width: 5px; height: 5px; border-radius: 50%; background: #000; }
/* "notepad" print preview (replaces opening notepad.exe to print) */
.npov { position: fixed; inset: 0; z-index: 99990; background: rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; }
.npbox { width: min(900px, 94vw); height: 86vh; background: #fff; border: 1px solid #888; box-shadow: 0 8px 30px rgba(0,0,0,.45); display: flex; flex-direction: column; font: 12px "Segoe UI", Arial; }
.npbar { display: flex; gap: 8px; padding: 6px 8px; background: #f0f0f0; border-bottom: 1px solid #ccc; align-items: center; }
.npbar span { flex: 1; }
.npbar button { min-width: 74px; height: 26px; }
.nptext { flex: 1; margin: 0; padding: 8px; font: 14px Consolas, "Courier New", monospace; white-space: pre-wrap; overflow: auto; user-select: text; }
@media print { body.printing > *:not(.npov) { display: none !important; } body.printing .npov { position: static; background: none; } body.printing .npbox { width: auto; height: auto; border: 0; box-shadow: none; } body.printing .npbar { display: none; } body.printing .nptext { overflow: visible; } }

/* FIT: the browser window's title bar replaces the form's caption row */
.vbwin.fit .vbtitle { display: none; }
.vbwin.fit .vbclient, .vbwin.big.fit .vbclient { top: 0; }
.vbwin.fit { border: 1px solid #5a7ea8; }

/* WEB: the websites list fits inside its panel (the scroll bar and its arrows were cut off) */
.vbwin[data-form="Form2"] .vb-Frame .vb-ListBox { max-height: 100%; max-width: 100%; box-sizing: border-box; }
.vbwin[data-form="Form2"] [data-name="Frame5"] [data-name="List1"] { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; }
.vbwin[data-form="Form2"] [data-name="Frame5"] { border: none !important; background: #000 !important; }
.vbwin[data-form="Form2"] [data-name="Frame5"] [data-name="List1"] { border: none !important; outline: none !important; }
/* WEB: the websites window is black right to its edge (a light strip showed past the black panels) */
.vbwin[data-form="Form2"] .vbclient:not(.hbbar) { background: #000 !important; }
.vbwin[data-form="Form2"]:not(:has(.hbbar)) { background: #000 !important; }
/* WEB: the websites list scroll bar without the light Windows gutter */
.vbwin[data-form="Form2"] [data-name="List1"]::-webkit-scrollbar { width: 12px; background: transparent; }
.vbwin[data-form="Form2"] [data-name="List1"]::-webkit-scrollbar-track { background: transparent; }
.vbwin[data-form="Form2"] [data-name="List1"]::-webkit-scrollbar-thumb { background: #8a8a8a; border-radius: 6px; border: 2px solid transparent; background-clip: padding-box; }
/* WEB: notes box - a full line of dashes fits on one line (Windows' Arial measures a little narrower than the browser's) */
.vbwin[data-form="Form2"] [data-name="Text1"] { letter-spacing: -0.3px; }
/* WEB: thin list scroll bar for browsers that use the standard scroll bar settings */
.vbwin[data-form="Form2"] [data-name="List1"] { scrollbar-width: thin; scrollbar-color: #8a8a8a transparent; }
/* WEB: the two check box labels keep their 2 lines (text shrinks to fit instead of wrapping into the check box) */
.vbwin[data-form="Form3"] [data-name="Label72"], .vbwin[data-form="Form3"] [data-name="Label71"] { white-space: pre !important; }
