/* Authentication page css — đồng nhất theme với app-shell (dashboard) */

:root {
  --app-accent: #2563a8;
  --app-accent-deep: #1c4d80;
  --app-accent-soft: #e8f0fa;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212837;
  text-align: left;
}

/* Legacy classes — vẫn được dùng bởi views/pages/M29/M29C01/client_result.php */
.flexbox-container {
  display: flex;
  align-items: center;
  height: 100vh;
  justify-content: center;
  background-size: cover;
  margin-right: 0rem;
  margin-left: 0rem;
}

.bg-authentication {
  box-shadow: -8px 20px 25px 0 rgba(25, 42, 70, 0.3);
  background-color: #F2F4F4;
}

.divider {
  display: block;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  margin: 1rem 0;
}

.divider .divider-text {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  padding: 0 1rem;
  background-color: #FFFFFF;
}

.divider .divider-text i {
  font-size: 1rem;
}

.divider .divider-text:before,
.divider .divider-text:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9999px;
  border-top: 1px solid #DFE3E7;
}

.divider .divider-text:before {
  right: 100%;
}

.divider .divider-text:after {
  left: 100%;
}

.bg-authentication .brand-text {
  color: #5A8DEE;
  font-weight: 600;
  letter-spacing: 0.01rem;
}

@media only screen and (min-width: 992px) {
  .bg-authentication .disable-rounded-right {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
  }
}

.app-login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background: linear-gradient(135deg, var(--app-accent-deep), var(--app-accent));
}

.app-login-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 44px rgba(20, 40, 70, .28);
  padding: 32px 32px 24px;
}

.app-login-brand {
  text-align: center;
  margin-bottom: 20px;
}

.app-login-brand img {
  height: 52px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
}

.app-login-brand h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1c2733;
  line-height: 1.35;
}

.app-login-divider {
  position: relative;
  text-align: center;
  margin: 0 0 22px;
}

.app-login-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #dde3ea;
}

.app-login-divider span {
  position: relative;
  display: inline-block;
  padding: 0 12px;
  background: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #5c6b7a;
}

.app-login-field {
  margin-bottom: 16px;
}

.app-login-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1c2733;
}

.app-login-input {
  position: relative;
}

.app-login-input i {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  color: #9aa7b4;
  font-size: 13px;
}

.app-login-input input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 38px;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  font-size: 13.5px;
  color: #1c2733;
  background: #fff;
  transition: border-color .14s, box-shadow .14s;
}

.app-login-input input:focus {
  outline: none;
  border-color: var(--app-accent);
  box-shadow: 0 0 0 3px var(--app-accent-soft);
}

.app-login-error {
  margin: -4px 0 16px;
  font-size: 12.5px;
  color: #d64545;
}

.app-login-submit {
  display: block;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--app-accent-deep), var(--app-accent));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  transition: opacity .14s, transform .14s;
}

.app-login-submit:hover {
  opacity: .92;
}

.app-login-submit:active {
  transform: translateY(1px);
}

.app-login-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eef1f5;
  text-align: center;
  font-size: 11.5px;
  color: #8a97a4;
}
