/* ==================================================
   Modal Common
================================================== */

/* hidden ¼Ó¼º °­Á¦ Àû¿ë */
[hidden] {
  display: none !important;
}

/* ==================================================
   Modal Backdrop
================================================== */
.pwmodal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
}

/* ==================================================
   Modal Wrapper
================================================== */
#pwModal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* ==================================================
   Modal Box
================================================== */
#pwModal > div {
  position: relative;
  min-width: 320px;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* ==================================================
   Modal Close Button
================================================== */
.pwmodal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 32px;
  line-height: 1;
  border: none;
  background: none;
  cursor: pointer;
}

/* ==================================================
   Modal Content
================================================== */
#pwModal h3 {
  margin-bottom: 30px;
}

#pwModal input[type="password"] {
  margin: 6px 0 10px;
  padding: 8px 10px;
}

/* ==================================================
   Modal Buttons
================================================== */
#pwModal .btn-group {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

#pwModal .btn {
  min-width: 72px;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease,
              box-shadow 0.15s ease;
}