a{
  text-decoration: none;
}

.authentication-wrapper {
  display: flex;
  flex-basis: 100%;
  min-height: 100vh;
  width: 100%;
}
.authentication-wrapper .authentication-inner {
  width: 100%;
}
.authentication-wrapper.authentication-basic {
  align-items: center;
  justify-content: center;
}
.authentication-wrapper .auth-cover-illustration {
  z-index: 1;
  max-inline-size: 38rem;
}
.authentication-wrapper .authentication-image {
  z-index: -1;
  inline-size: 100%;
  inset-block-end: 7%;
  position: absolute;
  inset-inline-start: 0;
}
.authentication-wrapper.authentication-cover {
  align-items: flex-start;
}
.authentication-wrapper.authentication-cover .authentication-inner {
    min-height: 100vh;
    position: relative;

    /* Giúp ảnh nền co giãn theo kích thước màn hình */
    background-size: contain; /* Đảm bảo ảnh phủ kín */
    
    /* Canh giữa ảnh theo cả chiều ngang và dọc */
    background-position: center center; 

    background-repeat: no-repeat; /* Ngăn ảnh bị lặp */
    
    /* Giữ ảnh cố định khi cuộn (tùy chọn) */
    background-attachment: fixed;
}


.authentication-wrapper.authentication-cover .authentication-image {
  inline-size: 70%;
}
html:not([dir=rtl]) .authentication-wrapper.authentication-cover .authentication-image {
  inset-inline-start: unset;
}
.authentication-wrapper.authentication-basic .authentication-inner {
  max-width: 450px;
}
.authentication-wrapper .auth-input-wrapper .auth-input {
  max-width: 50px;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
  font-size: 150%;
}
.authentication-wrapper .divider .divider-text {
  font-size: 0.9375rem;
}

@media (max-width: 575.98px) {
  .authentication-wrapper .auth-input-wrapper .auth-input {
    font-size: 1.125rem;
  }
}
@media (max-width: 1199.98px) {
  .authentication-cover .authentication-image {
    inset-block-end: 9%;
  }
  [dir=rtl] .authentication-cover .authentication-image {
    inline-size: 65%;
  }
}
#twoStepsForm .fv-plugins-bootstrap5-row-invalid .form-control {
  border-color: #ff4d49;
}

@media (max-width: 575.98px) {
  .numeral-mask-wrapper .numeral-mask {
    padding: 0 !important;
  }
  .numeral-mask {
    margin-inline: 1px !important;
  }
}
.light-style .authentication-wrapper .authentication-bg {
  background: url(/assets/img/bg-header-sim.jpg) #d64138 top no-repeat;
background-size: contain;

}
.light-style .authentication-wrapper .divider .divider-text {
  color: #3b4056;
}

.dark-style .authentication-wrapper .authentication-bg {
  background-color: #30334e;
}
.dark-style .authentication-wrapper .divider .divider-text {
  color: #d7d8ed;
}


.title-login {
color:#1a518b;
text-align: center;
font-size: 16px;
padding-top: 2px;
font-weight: bold;
}
/* Định dạng lại hộp đăng nhập */
.custom-login-box {
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgb(255 255 255 / 0%); 
    border-radius: 10px;
    overflow: hidden;
	margin-top: 300px;
  
}

/* Header */
.custom-login-header {
    height: 30px;
    width: 100%;
    background: url('/assets/img/login-bg1.png') no-repeat center;
    background-size: 100% auto; /* Đảm bảo giữ nguyên tỉ lệ */
}

/* Middle - có thể co giãn */
.custom-login-middle {
    flex-grow: 1;
    width: 100%;
	padding: 40px;
    background: url('/assets/img/login-bg2.png') repeat-y center;
    background-size: contain; /* Để ảnh giữa không bị méo */
}

/* Footer */
.custom-login-footer {
    height: 40px;
    width: 100%;
    background: url('/assets/img/login-bg3.png') no-repeat center;
    background-size: 100% auto;
}

/* Căn chỉnh form */
.flogin {
    width: 100%;
}

/* Căn chỉnh input */
.flogin .form-control {
    border-radius: 5px;
    height: 45px;
}

/* Nút đăng nhập */
.btn-primary {
    background-color: #a70004;
    border: none;
    font-weight: bold;
    width: 100%;
    height: 45px;
}

.btn-primary:hover {
    background-color: #8a0003;
}

/* Căn chỉnh text */
a {
    text-decoration: none;
    color: #a70004;
}

a:hover {
    text-decoration: underline;
}
/* Căn giữa logo */
.custom-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Thêm khoảng cách với nội dung bên dưới */
}

/* Định dạng hình ảnh logo */
.custom-logo-img {
    width: 180px;  /* Điều chỉnh kích thước phù hợp */
    height: auto;
    object-fit: contain; /* Giữ tỷ lệ ảnh */
}

.dangnhap-btn{
    width: 185px;
}