@charset "UTF-8";
/* CSS Document */
  body.login-bg {
    min-height:100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    }
	
.login-card {
    width: 390px;
    max-width: 96vw;
    margin: 7vh auto;
    border-radius: 22px;
    box-shadow: 0 8px 36px #1565c055;
    /* Glassmorphism effect */
    background: rgba(36, 41, 56, 0.16);
    backdrop-filter: blur(13px) saturate(140%);
    -webkit-backdrop-filter: blur(13px) saturate(140%);
    border: 1.7px solid rgba(255,255,255,0.35);
    padding: 38px 24px 32px 24px;
    position: relative;
    z-index: 2;
    animation: fadeInDown .7s cubic-bezier(.6,-0.28,.74,.05);
    color: #fff;
	
}

.login-card h4, .login-card label{
    color: #330099;
    font-weight: 500;
    letter-spacing: .02em;
}
.login-card .form-label {
    color: #330099;
    font-weight: 600;
    font-size: 1.06rem;
    letter-spacing: .01em;
    opacity: .84;
    margin-bottom: 6px;
    transition: color .14s;
    text-shadow: 0 1px 4px #0004;
}

.input-field {
    position: relative;
    margin-bottom: 28px;
}
.input-field input {
    width: 100%;
    height: 40px;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    outline: none;
    font-size: 1.07rem;
    color: #fff;
    padding-left: 0;
    box-shadow: none;
    transition: border-color .21s;
}
.input-field input:focus {
    border-bottom: 2.5px solid #fff;
    background: transparent;
}
.input-field label {
    position: absolute;
    top: 8px;
    left: 0;
    color: #e8e8e8;
    pointer-events: none;
    transition: .21s;
    font-size: 1rem;
    letter-spacing: .01em;
    opacity: .85;
}
.input-field input:focus~label,
.input-field input:not(:placeholder-shown)~label {
    top: -16px;
    left: 0;
    font-size: 0.93rem;
    color: #fffd;
    opacity: 1;
    background: none;
}
.login-card .form-check-label, .login-card .forgot-pass {
    color: #f5f5f5;
    opacity: .87;
}
.login-card .btn-primary {
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 9px;
    background: rgba(36,101,200,0.92);
    border: 1.5px solid #fff3;
    box-shadow: 0 2px 18px #1565c029;
    letter-spacing: .02em;
    margin-top: 10px;
    padding: 10px 0;
    transition: background .17s, color .13s;
}
.login-card .btn-primary:hover {
    background: #fff;
    color: #2465c8;
    border: 1.5px solid #2465c8;
}

.login-card .text-muted, .login-card small {
    color: #e5e5e5 !important;
    opacity: .76;
}
.login-card .forgot-pass {
    float: right;
    font-size: .98em;
    color: #bae4ff;
    text-decoration: none !important;
}
.login-card .forgot-pass:hover {
    color: #fff;
    text-decoration: underline !important;
}
.login-card .form-check-input:checked {
    background-color: #2465c8;
    border-color: #fff;
}

/* Hiệu ứng fadeInDown */
@keyframes fadeInDown {
    0% {opacity: 0;transform: translateY(-80px);}
    100% {opacity: 1;transform: none;}
}

/* Để logo tròn nổi trên card */
.login-card .login-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 20px;
    display: block;
    margin: 0 auto 18px auto;
    background: rgba(255,255,255,0.14);
    box-shadow: 0 2px 14px #2461a96b;
}

/* Đáp ứng mobile */
@media (max-width: 575px) {
    .login-card { padding: 22px 7vw 20px 7vw; }
    .login-card .login-logo { width: 48px; height: 48px; }
}

    .login-logo {
        width: 66px;
        height: 66px;
        object-fit: contain;
        display: block;
        margin: 0 auto 18px auto;
        border-radius: 15px;
        box-shadow: 0 2px 18px #1565c036;
        background: #fff;
        padding: 4px;
    }
    .login-title {
        text-align: center;
        color: #2461a9;
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 6px;
        letter-spacing: 1px;
        margin-top: 2px;
    }
    .login-title-site {
    color: #e24266;
    font-weight: 800;
    font-size: 1.40rem;
    letter-spacing: 0.03em;
    /* Viền nổi bật */
    -webkit-text-stroke: 1px #fff;        /* Viền trắng */
    /* Bóng chữ 3D */
    text-shadow:
      2px 2px 5px rgba(0,0,0,0.22),      /* Bóng dưới */
      0 4px 12px #faae36,                 /* Bóng vàng nổi 3D */
      0 1.5px 0 #ad274a,                  /* Bóng hồng đậm sát chữ */
      0 0 2px #fff;                       /* Glow trắng nhẹ */
    /* Hiệu ứng "phồng" chữ */
    transform: scale(1.02);
    display: inline-block;
        text-align: center;
    width: 100%;
}
    .form-label {
        font-weight: 600;
        color: #2461a9;
    }
    .form-control {
        border-radius: 10px;
        padding: 10px 16px;
        font-size: 1.08rem;
    }
    .input-group-text {
        background: none;
        border: none;
        cursor: pointer;
    }
    .login-btn {
		width: 350px;
        max-width: 380px;
        padding: 9px 0;
        font-size: 1.0rem;
        border-radius: 10px;
        font-weight: 700;
        background: linear-gradient(90deg,#1e92f0,#55e3ff);
        border: none;
        color: #fff;
        box-shadow: 0 2px 12px #0096fa13;
        transition: background .10s;
        margin-top: 3px;
    }
    .login-btn:hover { background: #FF0000; }
    .login-card .alert { font-size: 1rem; padding:7px 0; }