:host {
  display: block;
}

* {
  box-sizing: border-box;
  font-family: 'Poppins', serif;
}

.login-card-page-two {
  border-radius: 8px;
  background-color: var(--card-background-color);
}

.auth-section {
  border: 1px solid #d3d3d3;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 8px;
}

.auth-section p {
  font-size: 0.75rem;
  color: var(--text-secondary-color);
}

.input-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.input-container input {
  background-color: white;
  padding: 12px 40px 12px 12px;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  width: 100%;
}

/* #arrow-button {
  position: absolute;
  padding: 0;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  background-color: transparent;
  border: none;
  cursor: pointer;
} */

#submit-button {
  border: none;
  cursor: pointer;

  width: max-content;
  margin: 0 auto;
  background-color: #001e57;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  margin-top: 8px;
  padding: 8px 16px;
  color: white;
}

#submit-button:disabled {
  opacity: 50%;
}

.auth-section .small-text {
  font-size: 0.75rem;
}

.lucide-arrow-right {
  width: 16px;
  height: 16px;
  color: white;
}

p {
  margin: 0;
}

.security-box {
  color: #001e57;
  background-color: #eff6ff;
  font-size: 0.75rem;
  display: flex;
  gap: 8px;
}

.security-box svg {
  width: 16px;
  aspect-ratio: auto;
}

.mail-input {
  padding: 10px;
}

.switch-mode-text {
  font-size: 0.875rem;
  color: #001e57;
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
  width: max-content;
  margin: 0 auto;
  padding-top: 10px;
}

.spinner {
  display: inline-block;
  width: 16px;
  aspect-ratio: 1/1;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db; /* Blue color for the spinner */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.password-input-container {
  position: relative;
  width: 100%;
}

.password-toggle-btn {
  position: absolute;
  right: var(--space-10);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.password-toggle-btn:hover {
  color: #333;
}

.eye-icon {
  display: block;
}

.error-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fee2e2;
  border: 1px solid #ef4444;
  border-radius: 6px;
  padding: var(--space-8);
  margin: var(--space-8) 0;
}

.error-message {
  color: #dc2626;
  font-size: 12px;
}

.error-close-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}

.error-close-btn:hover {
  opacity: 0.8;
}
