/* Password Generator. The shared look is in ../tool.css. */
.tabs { display: flex; gap: 0; margin: 0 0 -1px; padding: 0; border: 0; }
.tabs label {
  position: relative; display: flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px;
  background: linear-gradient(#fff, #e3e3ea); border: 1px solid #919b9c; border-bottom: 0; border-radius: 3px 3px 0 0; cursor: pointer;
}
.tabs label:has(input:checked) { z-index: 1; padding-bottom: 1px; background: #fcfcfe; border-top: 2px solid #e8962e; }
.panel { padding: 12px 14px; background: #fcfcfe; border: 1px solid #919b9c; }
.panel input[type='range'] { width: 100%; max-width: 420px; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; }
.checks label { display: flex; align-items: center; gap: 6px; min-height: 30px; }
.checks select { height: 30px; }

.outputs { margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid #a5acb2; }
.outputs li { border-bottom: 1px solid #e3e3ea; }
.outputs li:last-child { border-bottom: 0; }
.outputs .copy { display: block; width: 100%; margin: 0; padding: 7px 10px; font-size: 16px; border-radius: 0; word-break: break-all; }
.outputs li:first-child .copy { font-size: 19px; padding-block: 10px; }
.strength-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.meter { flex: none; width: 160px; height: 12px; background: #fff; border: 1px solid #7f9db9; }
.meter span { display: block; height: 100%; background: #c03020; transition: width .2s; }
.meter span.fair { background: #d6a000; }
.meter span.strong { background: #2e9a2e; }
.meter span.great { background: #14591d; }

@media (max-width: 520px) {
  .tabs label { flex: 1; justify-content: center; min-height: 44px; }
  .checks label { min-height: 44px; }
  .checks select { height: 44px; }
  .outputs .copy { min-height: 44px; }
}
