.mod-password .pw-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 10px 8px;
}

.mod-password .pw-arrows,
.mod-password .pw-screen {
  display: grid;
  grid-template-columns: repeat(5, 34px);
  gap: 4px;
  justify-content: center;
}

.mod-password .pw-arrow {
  height: 24px;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  color: var(--c-white, #f4f4f4);
  background: var(--panel-dark, #2a2d31);
  border: 1px solid #111;
  border-radius: 3px;
  box-shadow: 0 2px 0 #000;
  cursor: pointer;
}

.mod-password .pw-arrow:hover:not(:disabled) {
  filter: brightness(1.4);
}

.mod-password .pw-arrow:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: none;
}

.mod-password .pw-screen {
  padding: 5px 6px;
  background: #0d1a12;
  border: 3px solid var(--c-black, #111);
  border-radius: 3px;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.85);
}

.mod-password .pw-cell {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono, 'Courier New', monospace);
  font-size: 30px;
  font-weight: 700;
  /* hely az ékezeteknek (Ő, Ű, Á…) */
  line-height: 1.3;
  color: #c8f7d0;
  text-shadow: 0 0 8px rgba(120, 255, 160, 0.75);
  border-right: 1px solid rgba(200, 247, 208, 0.12);
}

.mod-password .pw-cell:last-child {
  border-right: none;
}

.mod-password .pw-submit {
  margin-top: 4px;
  padding: 5px 14px;
  font-family: var(--font-mono, 'Courier New', monospace);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--c-black, #111);
  background: linear-gradient(#f2efe4, #cfcabb);
  border: 2px solid #6d6a60;
  border-radius: 3px;
  box-shadow: 0 2px 0 #4a473f;
  cursor: pointer;
}

.mod-password .pw-submit:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: none;
}

.mod-password button:disabled {
  cursor: default;
  opacity: 0.7;
}

.mod-password .is-solved .pw-cell {
  color: var(--c-green, #3ddc63);
}
