.fa{font-weight: 300 !important}
.fa, .fas,.fal {
    font-family: 'Font Awesome 5 Free';
    font-weight: 300;
}
@font-face {
    font-family: EuclidCircularAVN;
    src: url(../fonts/EuclidCircularAVN-Regular.ttf);
    font-weight: normal;
}
@font-face {
    font-family: EuclidCircularAVN;
    src: url(../fonts/EuclidCircularAVN-Medium.ttf);
    font-weight: 600;
}
.login-page{padding: 2rem !important;font-family: EuclidCircularAVN; }
.cover-box-login{width: 100%}
.cover-box-login .login-box{width: 100%;background: #fff;padding: 1.5rem;border-radius: 14px;padding-top: 6rem;}
.cover-box-login .login-box-msg{
    background: none;
    line-height: 1;
    margin-bottom: 1.5rem;
}
.logo-body{
    position: absolute;
    top: -85px;
    left: 0;
    right: 0;
    text-align: center;
}
.logo-body img {
    max-width: 167px;
    transform: scale(0.8);
    animation: zoomIn 0.6s ease-out forwards, shake 2.5s ease-in-out 0.6s infinite;
}

/* Zoom khi mới vào */
@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Lắc nhẹ lặp lại */
@keyframes shake {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.02) rotate(5deg);
    }
    50% {
        transform: scale(1.02) rotate(-5deg);
    }
    75% {
        transform: scale(1.01) rotate(3deg);
    }
}

.d-inline img {
    max-width: 55px;
    margin-bottom: 5px;
    animation: zoomInOut 2s ease-in-out infinite;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* Zoom lên nhẹ */
    }
}
.cover-box-login .login-box-msg p{font-size: 38px;font-weight: 600;color:#3375cd;}
.cover-box-login .login-box-msg span{font-size: 15px;color:#383838;text-transform: none;margin-top: -0.3rem;display: block;}
.login-box .card{box-shadow:none;}
.login-box .card .login-card-body{
    padding: 0px;
    box-sizing: unset !important;
}
.login-view-website{
    position: absolute;
    left: 0;
    /* max-width: 1140px; */
    margin: 0 auto;
    background: none;
    right: 0;
    text-align: left;
    padding: 1rem 2rem;
}
.login-view-website a{
    opacity:1;
    font-size: 17px;
}
.login-view-website i {
    font-size: 17px !important;
    background: #ebf2fb;
    padding: 0.6rem 1rem;
    border-radius: 10px 3px 3px 3px;
    color: #0065b6;
    transition: all 0.2s;

    /* Hiệu ứng nhẹ nhàng */
    animation: pulseScale 2s ease-in-out infinite;
}

@keyframes pulseScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* Nhẹ hơn */
    }
}
.login-view-website a i:hover {
    background: #245aa3;
    color: #fff;
}

button.btn-login {
    background: linear-gradient(to right, #2459a1, #3273cb, #2459a1) !important;
    border-radius: 7px;
    height: 55px;
    color: #fff;
    border: none;
    padding: 14px 10px 10px 10px !important;
    font-size: 16px;
    position: relative;
    z-index: 1;
    overflow: hidden;

    /* Mượt khi chuyển */
    transition: 
        background 0.6s ease-in-out,
        transform 0.3s ease,
        box-shadow 0.3s ease;
    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

button.btn-login:hover {
    background: linear-gradient(to right, #1f4c85, #3f95f9, #1f4c85) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(100, 160, 255, 0.6);
}

.login-card-body .input-group .input-group-text, .register-card-body .input-group .input-group-text{
    /*padding: 0px;*/
    width: 55px;
}
.login-card-body .input-group .input-group-text span.login-span, .register-card-body .input-group .input-group-text span.login-span{
    padding: 13px;
    background: #f2f2f2;
    color: #000;
    border-radius: 5px;
}
.border-right-none{border-right: none !important;}
.border-right-radius{border-radius: 0px 7px 7px 0px !important;!i;!;}
.login-box .card .login-card-body .input-group .login-input-group-append .input-group-text{border-top-left-radius: 7px !important;!i;!;border-bottom-left-radius: 7px !important;!i;!;}

.login-box .card .login-card-body .input-group .login-input-group-append .input-group-text:first-child{width:40px;}
.box-login-footer{
    margin-top: 1.5rem;
}
.box-login-footer p{
    margin-top: 1.5rem;
    margin-right: 0.5rem;
    font-size: 16px;
}
.box-login-footer p a{
    color: #265ba4;
}
.btn:hover{color:#fff;}

.text-login{color:#fff;max-width: 450px;}
.text-login img{max-width: 120px;}
.text-login h4{font-size: 80px;margin-bottom: -10px;font-weight: 600;}
.text-login p{font-size: 50px;margin-bottom: 0.5px;}
.text-login ul{
    padding: 0px;
    list-style: none;
}
.text-login ul li{font-size: 17px;margin: 1rem 0px;align-items: center;display: flex;}
.text-login ul li i{width:20px;height:20px;background:#ffffff;border-radius: 50px;color: #0273cc;margin-right: 0.5rem;font-size: 12px;display: inline-flex;align-items: center;justify-content: center;}
/*Hiệu ứng chữ*/
.text-login {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

/* Tùy chỉnh thêm nếu bạn muốn từng phần hiện lần lượt */
.text-login img,
.text-login h4,
.text-login p,
.text-login ul,
.text-login li {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Delay theo từng phần tử */
.text-login img { animation-delay: 0.1s; }
.text-login h4 { animation-delay: 0.2s; }
.text-login p { animation-delay: 0.3s; }
.text-login ul { animation-delay: 0.4s; }
.text-login li:nth-child(1) { animation-delay: 0.5s; }
.text-login li:nth-child(2) { animation-delay: 0.6s; }
.text-login li:nth-child(3) { animation-delay: 0.7s; }
.text-login li:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.login-box .card .login-card-body .input-group .form-control{height: 55px;}
.admin-view-website{position: absolute;bottom:0px;font-size: 14px;color:#ffffff;z-index: 9;left: 0;right: 0;font-family: EuclidCircularAVN;}
.admin-view-website a {
    color: #fff;
    display: block;
    text-align: center;
    padding: 0.5rem;
    opacity: 0;
    font-family: EuclidCircularAVN;
    font-weight: normal;
    letter-spacing: 6px;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out forwards;
    animation-delay: 0.2s; /* tuỳ chọn: xuất hiện chậm chút */
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hidden-md{display: none !important;}
}
@media (min-width: 576px) and (max-width: 767px) {
  .hidden-sm{display: none !important;}
  .login-page{padding:0px !important;}
}
@media (max-width: 575px) {
  .hidden-xs{display: none !important;}
  .login-page{padding: 5px !important;min-height: auto !important;height: 100%;position: absolute;overflow: hidden;}
  .logo-body img{max-width: 100px;}
    .logo-body{top:-50px;}
    .cover-box-login .login-box{padding-top:3rem;padding-bottom: 0.2rem;}
    .cover-box-login .login-box-msg p{font-size: 26px;}
    .cover-box-login .login-box-msg span{font-size: 15px;}
    .cover-box-login{margin-top:1.5rem;}
}
@media (max-width: 400px) {
    .logo-body img{max-width: 100px;}
    .logo-body{top:-50px;}
    .cover-box-login .login-box{padding-top:3rem;padding-bottom: 0.2rem;}
    .cover-box-login .login-box-msg p{font-size: 24px;}
    .cover-box-login .login-box-msg span{font-size: 13px;}

}