body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.login-background {
  background-image: url(/images/BO_image_login.png);
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

.password-container {
  width: 100%;
  max-width: 400px;
}

.password-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  box-sizing: border-box;
}

.password-title {
  font-size: 32px;
  font-weight: bold;
  color: #0d3c6d;
  margin-bottom: 25px;
  text-align: center;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #0d3c6d;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group .form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #e6f2ff;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #e6f2ff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: #0d3c6d;
  font-family: inherit;
}

.form-group .form-control:focus {
  outline: none;
  border-color: #b2cce5;
  box-shadow: 0 0 1px rgba(13, 60, 109, 0.2);
}

/* Button and Link Styles */
.btn-reset {
  background-color: #3b82f6; /* Matched to login button */
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.btn-reset:hover {
  background-color: #2563eb;
}

.back-link {
  text-align: center;
}

.back-link a {
  color: #0d3c6d; /* Matched to theme color */
  font-size: 14px;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 480px) {
  .password-card {
    padding: 20px 15px;
  }
  .password-title {
    font-size: 24px;
  }
  .form-group .form-control,
  .btn-reset {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
  }
}
@media (max-width: 360px) {
  .password-card {
    padding: 15px 10px;
  }
  .form-group {
    margin-bottom: 15px;
  }
}
/* Popup Modal Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  padding: 0;
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.popup-content {
  padding: 30px 20px;
  text-align: center;
}

.popup-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  color: white;
}

.popup-icon.success {
  background-color: #4caf50;
}

.popup-icon.error {
  background-color: #f44336;
}

.popup-title {
  margin: 0 0 15px 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.popup-message {
  margin: 0 0 25px 0;
  font-size: 16px;
  color: #666;
  line-height: 1.4;
}

.popup-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-width: 80px;
}

.popup-button:hover {
  background-color: #0056b3;
}

.popup-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.popup-icon.info {
  background-color: #2196f3; /* Blue color for info */
}