/* Password lock overlay for Senyoom memorial page */

#memorial-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.4s ease;
}

#memorial-lock-overlay.unlocking {
  opacity: 0;
  pointer-events: none;
}

.lock-box {
  width: 100%;
  max-width: 420px;
  background: #1e1e1e;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 4px;
  padding: 52px 44px 44px;
  text-align: center;
  box-shadow: 0 0 60px rgba(201, 168, 76, 0.07);
}

.lock-logo {
  height: 32px;
  margin: 0 auto 36px;
  display: block;
  opacity: 0.85;
}

.lock-divider {
  width: 40px;
  height: 1px;
  background: rgba(201, 168, 76, 0.45);
  margin: 0 auto 28px;
}

.lock-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 400;
  color: #F5ECD7;
  margin-bottom: 12px;
  line-height: 1.3;
}

.lock-desc {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: #F5ECD7;
  opacity: 0.55;
  line-height: 1.7;
  margin-bottom: 32px;
}

.lock-input {
  width: 100%;
  background: rgba(245, 236, 215, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 2px;
  color: #F5ECD7;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 2px;
  padding: 14px 16px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.lock-input::placeholder {
  letter-spacing: 1px;
  opacity: 0.4;
}

.lock-input:focus {
  border-color: rgba(201, 168, 76, 0.6);
}

.lock-btn {
  width: 100%;
  background: #C9A84C;
  color: #1A1A1A;
  border: none;
  border-radius: 2px;
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 15px 24px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-sizing: border-box;
}

.lock-btn:hover {
  background: #E8C96B;
  transform: translateY(-1px);
}

.lock-btn:active {
  transform: translateY(0);
}

.lock-error {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: #e07070;
  margin-top: 14px;
  min-height: 18px;
  letter-spacing: 0.3px;
  opacity: 0;
  transition: opacity 0.2s;
}

.lock-error.visible {
  opacity: 1;
}

@media (max-width: 480px) {
  .lock-box {
    padding: 40px 28px 36px;
  }

  .lock-title {
    font-size: 19px;
  }
}
