* {
  font-size: 14px;
}

h2 {
  font-weight: 700;
  font-size: 24px;
}

a {
  color: var(--color-primary) !important;
  cursor: pointer;
}

label,
p {
  margin-bottom: 0;
}

body {
  font-family: var(--font-family);
}

.container-fluid {
  padding: 0 calc(var(--bs-gutter-x) * 0.5);
}

.alert {
  z-index: 9999;
  width: max-content;
  min-width: 250px;
  font-size: 14px;
  position: fixed !important;
  top: 1rem;
  right: 1rem;
  background: #fff !important;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
    rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
  flex-direction: column;
  overflow: hidden;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert .progress {
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 0;
  width: 100%;
  height: 3px;
}

.alert-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: fixed;
  left: 1rem;
  bottom: 1rem;
}

.logo-container {
  display: flex;
  justify-content: center;
}

.logo-container .logo {
  width: 30px;
}

.login-container {
  background-color: var(--container-background-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 400px;
  margin: auto;
}

.login-container h1 {
    text-align: center;
    font-weight: 700;
}

.field-group {
  margin-bottom: 0.5rem;
}

.login-wrapper {
  display: flex;
  width: 100%;
  height: 100vh;
}

.login-main {
  height: calc(100vh - 56px);
  margin-top: 56px;
  position: relative;
}

.background-column {
  background-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.promote-content {
    z-index: 3;
    transform: translate(-50%, -50%);
    position: absolute;
    bottom: 10%;
    left: 50%;
    color: white;
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.background-layer {
  position: relative;
  width: 200%;
  height: 200%;
}

.background-shape {
  display: grid;
  grid-template-columns: repeat(4, 40%);
  grid-template-rows: repeat(5, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  position: absolute;
  justify-content: center;
}

.background-shape svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: #fff;
  opacity: 0.1;
  z-index: 0;
}

.login-form-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-account-section .card,
#recent-account-section .card {
  border-radius: 16px;
  border: none;
}

.login-account-section .list-group,
#recent-account-section .list-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-account-section .account-item,
#recent-account-section .account-item {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login-account-section .account-item.disabled,
#recent-account-section .account-item.disabled {
  pointer-events: none;
  opacity: 0.7;
}

.login-account-section .avatar,
#recent-account-section .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.8);
}

.login-account-body{
  overflow: hidden;
}

.login-account-body div{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.login-account-section .account-status .badge svg,
#recent-account-section .account-status .badge svg{
  height: 15px;
  width: 15px;
}

.login-account-section .account-remove,
#recent-account-section .account-remove {
  color: rgba(15, 23, 42, 0.4) !important;
}

.login-account-section .account-remove:hover,
#recent-account-section .account-remove:hover {
  color: var(--bs-danger) !important;
}

.login-copyright {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

@media only screen and (max-width: 767px) {
  .background-column {
    display: none;
  }

  .login-copyright {
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.5rem;
  }

  .alert {
    right: 50%;
    top: calc(56px + 1rem);
    transform: translateX(50%);
  }
}