body {
  background-color: #0a192f;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
}

.container {
  max-width: 550px;
}

.card {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.card-body {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.success,
.error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.success-content,
.error-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 1rem 0;
}

.logo {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.form {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 1rem;
}

.form-control {
  border: none;
  background-image: none !important;
}

.form-control::placeholder {
  color: #7b7b7b;
}

.text-muted {
  color: #666 !important;
}

.form-text {
  font-size: 0.875rem;
  display: block;
}

/* Password input group styles */
.input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  border: 1px solid #ccd4dc;
  border-radius: 4px;
  width: 100%;
  padding: 0 12px;
}

.input-password {
  border: none;
  border-radius: 4px;
  flex: 1;
  padding: 0 !important;
  background-image: none !important;
}

.input-group:focus-within .input-password {
  outline: none;
  border: none;
  box-shadow: none;
  flex: 1;
}

.input-group.is-valid {
  border-color: #28a745;
}

.input-group.is-invalid {
  border-color: #dc3545;
}

/* Focus states */
.input-group:focus-within {
  box-shadow: 0 0 0 0.2rem rgba(255, 114, 0, 0.25);
  border-color: rgba(255, 114, 0, 0.75);
}

.input-group.is-valid:focus-within {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  border-color: #28a745;
}

.input-group.is-invalid:focus-within {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
  border-color: #dc3545;
}

.input-group .toggle-button {
  outline: none;
  border: none;
  background-color: transparent;
}

.toggle-button {
  background: none;
  height: 24px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toggle-button:focus {
  outline: none;
  border-radius: 0.5rem;
  box-shadow: 0 0 0 2px rgba(255, 115, 0, 0.559);
}

.toggle-icon {
  width: 24px;
  height: 24px;
  filter: invert(36%) sepia(96%) saturate(4786%) hue-rotate(360deg)
    brightness(102%) contrast(101%);
}

.btn-primary {
  width: 100%;
  background-color: #ff4500 !important;
  border-color: #ff4500 !important;
  padding: 0.75rem;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 4px;
}

.btn-primary:hover:not(:disabled),
.btn-primary:active:not(:disabled),
.btn-primary:focus:not(:disabled) {
  background-color: #e63e00 !important;
  border-color: #e63e00 !important;
}

.btn-primary:disabled {
  background-color: #cccccc !important;
  border-color: #cccccc !important;
  cursor: not-allowed;
  opacity: 0.65;
}
