﻿/* ========== Custom CSS ========== */

.authentication-wrapper {
  --bs-auth-basic-inner-max-width: 460px;
  display: flex;
  flex-basis: 100%;
  inline-size: 100%;
  min-block-size: 100vh;
}

.authentication-wrapper .authentication-inner {
  block-size: 100%;
  inline-size: 100%;
  margin-block: auto;
  margin-inline: 0;
}

.authentication-wrapper .authentication-inner .auth-cover-bg {
  position: relative;
  block-size: 100vh;
  inline-size: 100%;
}

.authentication-wrapper
  .authentication-inner
  .auth-cover-bg
  .auth-illustration {
  z-index: 1;
  max-block-size: 65%;
  max-inline-size: 65%;
}

.authentication-wrapper .authentication-inner .platform-bg {
  position: absolute;
  block-size: 35%;
  inline-size: 100%;
  inset-block-end: 0;
  inset-inline-start: 0;
}

.authentication-wrapper .authentication-bg {
  background-color: var(--bs-paper-bg);
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 1rem; /* điều chỉnh khoảng cách với mép phải input */
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  z-index: 2;
  cursor: pointer;
}

/* Kích thước và màu sắc icon */
.toggle-password i {
  font-size: 1.2rem;
  color: #6c757d; /* màu xám nhạt */
}

/* Hover effect */
.toggle-password:hover i {
  color: #495057; /* màu tối hơn khi hover */
}

.logo {
  width: 300px;
}

/* wwwroot/css/site.css */
.card {
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.alert {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  word-break: break-word;
  max-height: 100px;
  overflow-y: auto;
}

.form-control-lg {
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
}

.btn-lg {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
}

.form-label {
  font-size: 1rem;
}

.social-btn {
  height: 52px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;

  display: flex;
  justify-content: center;
  justify-items: center;
  align-items: center;
}

.email-suggest-dropdown {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  margin: 2px 0 0;
  padding: 4px 0;
  list-style: none;
  z-index: 9999;
  max-height: 220px;
  overflow-y: auto;
}
.email-suggest-dropdown li {
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.email-suggest-dropdown li:hover,
.email-suggest-dropdown li.active {
  background: #f0f4ff;
  color: #4361ee;
}
.email-suggest-match {
  font-weight: 600;
}
