/* Password overlay styles */
.password-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 73, 94, 0.97), rgba(44, 62, 80, 0.97));
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.password-container {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 450px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.password-container h2 {
  margin-top: 0;
  margin-bottom: 25px;
  color: var(--secondary-color);
  font-size: 28px;
  font-weight: 600;
}

.password-container .form-group {
  margin-bottom: 30px;
}

.password-container input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.password-container input[type="password"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  outline: none;
}

.password-container button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  width: 100%;
  max-width: 200px;
}

.password-container button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

.password-container button:active {
  transform: translateY(0);
}

.password-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
  border-left: 4px solid #e74c3c;
}

.password-logo {
  margin-bottom: 20px;
  font-size: 40px;
  color: var(--primary-color);
}

.hidden {
  display: none;
}