/**
 * @file
 * Password protection styles.
 */

.password-protection-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-protection-modal {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  padding: 0;
  z-index: 100000;
}

.password-protection-modal-content {
  padding: 2rem;
}

.password-protection-modal-content h2 {
  font-family: var(--fontFamilyHeadlines);
  font-weight: normal;
}

.password-protection-modal-content p {
}

#password-protection-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#password-protection-input {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

#password-protection-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

#password-protection-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--colorBrown);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.password-protection-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: -0.5rem;
}
