/* css/windows.css
 * Janelas secundárias: uTorrent, Meu Computador, Lixeira, Campo Minado e chat do MSN.
 */

/* ---------- uTorrent ---------- */
#win-utorrent .win-body { display: flex; flex-direction: column; background: #fff; }
.ut-menu { display: flex; gap: 14px; padding: 2px 8px; background: var(--xp-beige); border-bottom: 1px solid #aca899; }
.ut-tool { display: flex; align-items: center; gap: 6px; padding: 4px 8px; background: var(--xp-beige); border-bottom: 1px solid #aca899; }
.ut-btn { padding: 3px 10px; border: 1px solid #7a7a70; border-radius: 3px; background: linear-gradient(#fff, #e6e3d4); cursor: pointer; }
.ut-btn:disabled { color: #999; cursor: default; }
.ut-slots { margin-left: auto; font-size: 11px; }
.ut-list { flex: 1; min-height: 80px; overflow: auto; background: #fff; }
.ut-row { display: grid; grid-template-columns: 26px minmax(160px, 2.4fr) 80px 120px 90px 78px 78px 78px 78px; align-items: center; min-width: 780px; padding: 2px 4px; font-size: 11px; border-bottom: 1px solid #f0f0f0; cursor: default; }
.ut-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 3px; }
.ut-head { position: sticky; top: 0; background: linear-gradient(#fff, #e6e3d4); border-bottom: 1px solid #aca899; font-weight: bold; }
.ut-row.sel { background: #316ac5; color: #fff; }
.ut-row.locked { color: #999; }
.ut-row.locked.sel { color: #ddd; }
.ut-row.seeding .ut-bar-fill { background: #2f7be0; }
.ut-bar { position: relative; height: 13px; border: 1px solid #7a7a70; background: #fff; }
.ut-bar-fill { height: 100%; width: 0; background: #45a33a; }
.ut-bar em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 10px; color: #000; }
.ut-detail { flex: none; max-height: 130px; overflow: auto; border-top: 2px solid #aca899; background: var(--xp-beige); padding: 4px 8px 8px; font-size: 11px; }
.ut-tab { display: inline-block; padding: 1px 10px; border: 1px solid #aca899; border-bottom: 0; background: #fff; margin-bottom: 4px; }
.ut-detail dl { margin: 0; display: grid; grid-template-columns: 90px 1fr; gap: 1px 8px; }
.ut-detail dt { font-weight: bold; }
.ut-detail dd { margin: 0; }
.ut-status { display: flex; gap: 16px; padding: 2px 8px; font-size: 11px; background: var(--xp-beige); border-top: 1px solid #aca899; }

/* ---------- Meu Computador ---------- */
.sysprops { padding: 12px 14px; }
.sp-logo { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #aca899; }
.sp-logo div { display: flex; flex-direction: column; }
.sp-big { width: 54px; height: 54px; }
.sysprops dl { display: grid; grid-template-columns: 130px 1fr; gap: 4px 8px; margin: 0; }
.sysprops dt { color: #555; }
.sysprops dd { margin: 0; font-weight: bold; }

/* ---------- Lixeira ---------- */
.trash { display: flex; flex-direction: column; height: 100%; }
.trash-bar { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-bottom: 1px solid #aca899; }
.trash-list { flex: 1; overflow: auto; background: #fff; padding: 4px; }
.trash-row { display: flex; align-items: center; gap: 8px; padding: 3px 6px; }
.trash-row small { margin-left: auto; color: #777; }
.tr-ico { width: 20px; height: 20px; }

/* ---------- Campo Minado ---------- */
.ms { padding: 8px; background: #c0c0c0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ms-top { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 5px; border: 3px solid; border-color: #808080 #fff #fff #808080; background: #c0c0c0; }
.ms-lcd { min-width: 46px; padding: 2px 4px; background: #000; color: #f00; font: bold 22px "Courier New", monospace; text-align: right; border: 2px inset #808080; }
.ms-face { width: 34px; height: 34px; font-size: 20px; line-height: 1; cursor: pointer; border: 3px solid; border-color: #fff #808080 #808080 #fff; background: #c0c0c0; }
.ms-board { display: grid; border: 4px solid; border-color: #808080 #fff #fff #808080; background: #c0c0c0; touch-action: manipulation; }
.ms-cell { width: 24px; height: 24px; padding: 0; font: bold 14px Tahoma, sans-serif; display: grid; place-items: center; border: 3px solid; border-color: #fff #808080 #808080 #fff; background: #c0c0c0; cursor: default; line-height: 1; }
.ms-cell.open { border: 1px solid #808080; border-width: 1px 0 0 1px; }
.ms-cell.boom { background: #f00; }
.ms-cell.n1 { color: #0000ff; } .ms-cell.n2 { color: #008200; } .ms-cell.n3 { color: #ff0000; } .ms-cell.n4 { color: #000084; }
.ms-cell.n5 { color: #840000; } .ms-cell.n6 { color: #008284; } .ms-cell.n7 { color: #000; } .ms-cell.n8 { color: #848484; }
.ms-msg { font-size: 11px; text-align: center; max-width: 240px; min-height: 2.6em; }
.ms-flag { font-size: 11px; }

/* ---------- Chat do MSN ---------- */
.chat { display: flex; flex-direction: column; height: 100%; background: #f2f6fc; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: linear-gradient(#e7f0fb, #cfe0f5); border-bottom: 1px solid #9db6d8; }
.chat-head div:last-child { display: flex; flex-direction: column; }
.chat-head span { font-size: 11px; color: #555; }
.chat-avatar { font-size: 28px; width: 46px; height: 46px; display: grid; place-items: center; background: #fff; border: 2px solid #7fa6dd; border-radius: 6px; }
.chat-log { flex: 1; overflow: auto; padding: 8px 10px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.chat-line { display: flex; flex-direction: column; font-size: 12px; }
.chat-line strong { color: #555; font-size: 11px; }
.chat-line.me strong { color: #1b49b8; }
.chat-note { font-size: 11px; color: #1f6f1f; background: #e8f7e8; border-radius: 4px; padding: 3px 6px; }
.chat-choices { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-top: 1px solid #9db6d8; background: #e8eef8; }
.chat-choice { text-align: left; }
