/* Styles scoped to the kom password changer component.
   Buttons use the shared .kom-btn / .kom-btn-primary / .kom-btn-secondary
   classes (see STYLE.md). Self-sufficient for standalone shortcode use. */
.kom-pwd {
  width: 100%;
  max-width: 420px;
  padding: 16px;
  margin: 16px auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.kom-pwd__label {
  margin: 0 0 8px;
  font-weight: 600;
}
.kom-pwd__select, .kom-pwd__input {
  width: 100%;
  padding: 10px 12px;
  margin: 0 0 12px;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  background: #fff;
}
.kom-pwd__hint {
  display: block;
  color: #666;
  font-size: 0.8em;
  margin: -4px 0 12px;
}
.kom-pwd--error {
  color: #b32d2e;
  background: #fcf0f1;
  border-color: #d63638;
}

/* Shared buttons (fallback for standalone use; mirrors the frontend look). */
.kom-btn {
  display: inline-block;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
}
.kom-btn-primary {
  background: #0073aa;
  color: #fff;
}
.kom-btn-primary:hover {
  background: #005a87;
}
.kom-btn-secondary {
  background: #f0f0f0;
  color: #222;
}
.kom-btn-secondary:hover {
  background: #e2e2e2;
}

/* Instructions modal */
.kom-pwd__modal {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 1000;
  background: #fff;
  padding: 20px;
  max-width: 800px;
  width: 90%;
  max-height: 70vh;
  overflow-y: auto;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.kom-pwd__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}
