/* App/win98/css/network.css — Dial-Up Networking, the network dialogs and Internet Explorer's extras. */

/* ── dialogs laid out in dialog units (js/dlu.js) ── */
.dlu { flex: none; font-size: var(--font-size, 11px); }
.dlu-static { white-space: pre-wrap; line-height: 13px; overflow: hidden; }
.dlu-static.center { text-align: center; }
.dlu-static.right { text-align: right; }
.dlu-static.sunken { box-shadow: inset 1px 1px var(--shadow), inset -1px -1px var(--hilight); padding: 1px 3px; }
.dlu-icon svg { width: 32px; height: 32px; display: block; }
.dlu-edit { box-sizing: border-box; height: auto; padding: 1px 3px; border: 0; background: var(--window-bg); color: var(--window-text); font: inherit;
  box-shadow: inset 1px 1px var(--shadow), inset -1px -1px var(--hilight), inset 2px 2px var(--dkshadow), inset -2px -2px var(--light); outline: none; border-radius: 0; }
.dlu-edit.ro, .dlu-edit:disabled { background: var(--face); color: var(--text); }
.dlu-edit:disabled { color: var(--shadow); }
.dlu-combo { box-sizing: border-box; font: inherit; }
.dlu-check { display: flex; align-items: center; gap: 5px; white-space: nowrap; line-height: 13px; }
.dlu-check.disabled { color: var(--shadow); text-shadow: 1px 1px var(--hilight); }
.dlu-group { box-sizing: border-box; margin: 0; padding: 0; pointer-events: none; }
.dlu-group legend { padding: 0 2px; margin-left: 6px; pointer-events: auto; }
.dlu-btn { box-sizing: border-box; min-width: 0; padding: 0 2px; font: inherit; }
.dlu-etched { height: 0; border-top: 1px solid var(--shadow); border-bottom: 1px solid var(--hilight); }
.dlu-list { box-sizing: border-box; }
/* the kinds dluFromTemplate() adds (WP0) */
.dlu-etchedv { width: 0; border-left: 1px solid var(--shadow); border-right: 1px solid var(--hilight); }
.dlu-edit.center { text-align: center; }
.dlu-edit.right { text-align: right; }
.dlu-memo { resize: none; overflow: auto; white-space: pre-wrap; }
.dlu-frame, .dlu-rect { box-sizing: border-box; pointer-events: none; }
.dlu-frame.etched { border: 1px solid var(--shadow); box-shadow: 1px 1px var(--hilight), inset 1px 1px var(--hilight); }
.dlu-frame.black { border: 1px solid var(--dkshadow); }
.dlu-frame.gray { border: 1px solid var(--shadow); }
.dlu-frame.white { border: 1px solid var(--hilight); }
.dlu-rect.black { background: var(--dkshadow); }
.dlu-rect.gray { background: var(--shadow); }
.dlu-rect.white { background: var(--hilight); }
.dlu-frame.sunken, .dlu-rect.sunken { box-shadow: inset 1px 1px var(--shadow), inset -1px -1px var(--hilight); }
.dlu-bitmap img { display: block; image-rendering: pixelated; }
.dlu-icon img { display: block; }
.dlu-listview, .dlu-treeview { box-sizing: border-box; }
.dlu-progress { box-sizing: border-box; background: var(--face); box-shadow: inset 1px 1px var(--shadow), inset -1px -1px var(--hilight); padding: 2px; }
.dlu-progress-bar { height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--sel-bg) 0 8px, transparent 8px 10px); }
.dlu-trackbar { box-sizing: border-box; height: auto; }
.dlu-updown { display: flex; flex-direction: column; }
.dlu-updown .btn { flex: 1; min-width: 0; min-height: 0; padding: 0; font-size: 6px; line-height: 1; }
.dlu-tabs { display: flex; flex-direction: column; box-sizing: border-box; }
.dlu-tabpane { flex: 1; padding: 0; }
.dlu-animate { overflow: hidden; }
.dlu-custom { box-sizing: border-box; }
.dluwin .body { padding: 0; }
.dluwin .dlu { overflow: hidden; }

/* TCP/IP Settings: an address in four boxes */
.dun-ip { box-sizing: border-box; display: flex; align-items: center; padding: 0 3px; gap: 0; }
.dun-ip input { width: 22px; height: 15px; padding: 0; border: 0; box-shadow: none; text-align: center; font: inherit; background: transparent; color: inherit; outline: none; }
.dun-ip input:disabled { color: var(--shadow); }
.dun-ip span { width: 4px; text-align: center; }

/* Connection Established: the status area with the dial-up icon */
.dun-traypic { display: flex; align-items: center; justify-content: flex-end; }
.dun-traypic-tray { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 6px; box-shadow: inset 1px 1px var(--shadow), inset -1px -1px var(--hilight); background: var(--face); }
.dun-traypic-tray svg { width: 16px; height: 16px; display: block; }

/* ── Make New Connection ── */
.dun-wiz { padding: 11px 11px 10px; display: flex; flex-direction: column; }
.dun-wizbtns { display: flex; justify-content: flex-end; gap: 0; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--shadow); box-shadow: inset 0 1px var(--hilight); }
.dun-wizbtns .btn:nth-child(3) { margin-left: 8px; }
.dun-wizart { width: 120px; height: 227px; display: block; image-rendering: pixelated; object-fit: fill; }
.dun-wizart.stand-in { background: linear-gradient(#008080, #004040); display: flex; align-items: center; justify-content: center; box-shadow: inset 1px 1px var(--shadow), inset -1px -1px var(--hilight); }
.dun-wizart.stand-in svg { width: 48px; height: 48px; }

/* ── the Dial-Up Networking folder ── */
.dun-view:focus { outline: none; }
.dun-view.mode-small, .dun-view.mode-list { flex-direction: column; flex-wrap: wrap; align-content: flex-start; gap: 1px 8px; }
.dun-view.mode-small .item, .dun-view.mode-list .item { flex-direction: row; width: auto; max-width: 220px; gap: 3px; padding: 0; }
.dun-view.mode-small .item .ico svg, .dun-view.mode-list .item .ico svg { width: 16px; height: 16px; }
.dun-view.mode-small .item .lbl, .dun-view.mode-list .item .lbl { margin: 0; text-align: left; max-width: none; white-space: nowrap; }
.dun-view.mode-small { flex-direction: row; }
.dun-view.mode-details .hdr, .dun-view.mode-details .item { grid-template-columns: minmax(130px, 2fr) 100px minmax(120px, 1.5fr) 70px; }

/* ── Internet Explorer: Explorer bars (History, Search, Favorites) ── */
.navigator .ie-main { flex: 1; display: flex; min-height: 0; gap: 0; }
.navigator .ie-bar { flex: none; width: 190px; display: flex; flex-direction: column; min-height: 0; margin-right: 3px; }
.navigator .ie-bar-head { flex: none; display: flex; align-items: center; justify-content: space-between; height: 20px; padding: 0 2px 0 4px; }
.navigator .ie-bar-head .tbtn { position: static; }
.navigator .ie-bar-tools { flex: none; display: flex; gap: 2px; padding: 2px; }
.navigator .ie-bar-body { flex: 1; overflow: auto; background: var(--window-bg); color: var(--window-text); padding: 2px; min-height: 0; }
.navigator .ie-bar-body.frame { padding: 0; display: flex; }
.navigator .ie-bar-body iframe { flex: 1; border: 0; width: 100%; background: #fff; }
.navigator .ie-hrow { display: flex; align-items: center; gap: 4px; padding: 1px 2px; white-space: nowrap; cursor: default; }
.navigator .ie-hrow svg { width: 16px; height: 16px; flex: none; }
.navigator .ie-hrow.sel { background: var(--sel-bg); color: var(--sel-text); }
.navigator .ie-hrow.sub { padding-left: 18px; }
.navigator .ie-hrow.page { padding-left: 34px; }
.navigator .ie-hrow:hover .t { text-decoration: underline; color: #0000ff; }
.navigator .ie-hrow.sel:hover .t { color: var(--sel-text); }
.navigator .ie-split { flex: none; width: 4px; cursor: ew-resize; }
.navigator.fullscreen .menubar, .navigator.fullscreen .statusbar, .navigator.fullscreen .addrbar { display: none; }
.navigator .ie-content { flex: 1; display: flex; min-width: 0; padding: 2px; }
.navigator .statusbar > div.ie-zone { width: 120px; display: flex; align-items: center; gap: 4px; }
.navigator .ie-zone-ico svg { width: 16px; height: 16px; display: block; }
.navigator .ie-bar-form { flex: none; padding: 4px; }
.navigator .ie-offline-tag { display: none; }
.navigator.offline .ie-offline-tag { display: inline; }
.organize-fav .listbox { height: 100%; }
