body {
    font-family: Twemoji Country Flags, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Inter, sans-serif;
    font-weight: 400;
    text-transform: initial;
    letter-spacing: initial;
    color: #212121;
    line-height: 20px;
    font-size: 14px;
}

.login-wrapper {
    background: linear-gradient(135deg, #e6f7f1, #d9ecff);
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInBody 0.8s ease-in-out;
    overflow: hidden;
    padding: 2vw 0;
}

@keyframes fadeInBody {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

input::placeholder {
    color: #9ca3af !important;
    font-size: 15px !important;
    font-weight: 400;
    opacity: 1;
}

.btn {
    border-radius: 8px !important;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 470px;
    padding: 2rem 2.2rem;
    animation: fadeUp 0.9s ease;
    text-align: left;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo img {
    height: 38px;
}

.login-card .btn-primary {
    background-color: #2463EB;
    border: none;
    transition: all 0.25s ease;
    font-size: 0.95rem;
    box-shadow: 0 -2px 0 0 rgba(0, 0, 0, 0.16) inset, 0 1px 0 0 rgba(0, 0, 0, 0.12);
}

.login-card .btn-primary:hover {
    background-color: #1D4FD7;
    box-shadow: 0 -2px 0 0 rgba(0, 0, 0, 0.16) inset, 0 1px 0 0 rgba(0, 0, 0, 0.12);
}

.btn-social {
    border: none;
    background: #F5F5F5;
    transition: all 0.25s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 0;
}

.btn-social:hover {
    background: #f1f3f5;
}

.btn-social img {
    width: 18px;
    height: 18px;
    margin-bottom: 1px;
}

.divider {
    text-align: center;
    position: relative;
    margin: 1.4rem 0 1.2rem 0;
}

.divider::before, .divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: #ddd;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: #fff;
    padding: 0 10px;
    color: #888;
    font-size: 0.9rem;
}

.login-card footer {
    font-size: 0.8rem;
    color: #888;
    margin-top: 1.5rem;
    text-align: center;
}

.login-card footer a {
    color: #888;
    text-decoration: none;
}

.login-card footer a:hover {
    color: #2563eb;
}

.thin-spinner {
    border-width: 1.5px !important; /* Mặc định là 2px */
    width: 1.5rem !important;
    height: 1.5rem !important;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.login-card .btn-back {
    border: 0;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    padding: 0;
    display: flex;
    text-shadow: 0 0 1px currentColor; /* tạo viền mảnh giúp nhìn đậm hơn */
}

.login-card .btn-back i {
    font-size: 18px;
    color: #6b7280;
    transform: translateY(-4px);
}

.login-card .btn-link {
    font-size: 14px;
}

.login-card h5 {
    font-weight: 400;
    font-size: 25px;
    line-height: 28px;
}

.lang-dropdown .lang-toggle {
    background: #fff;
    padding: 6px 12px;
    font-size: 14px;
    gap: 6px;
    transition: all .2s ease;
    border: none;
}

.lang-dropdown .lang-toggle:hover,
.lang-dropdown .lang-toggle:focus,
.lang-dropdown .lang-toggle:focus-visible,
.lang-dropdown .lang-toggle:active,
.lang-dropdown .lang-toggle.show {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.lang-dropdown .lang-menu {
    border-radius: 14px;
    border: 1px solid #e6e8eb;
    padding: 6px;
    min-width: 170px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

/* item */
.lang-dropdown .lang-item {
    width: 100%;
    border: none;
    background: transparent;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    gap: 8px;
    position: relative;
    transition: all .15s ease;
}

.lang-dropdown .lang-item:hover {
    background: #f5f7fa;
}

.lang-dropdown .lang-item.active {
    background: #e9f2ff;
}

.lang-dropdown .lang-item .check-icon {
    position: absolute;
    right: 6px;
    top: 48%;
    font-size: 19px;
    color: #2563eb;
    pointer-events: none;
    transform: translateY(-42%) scaleY(0.9);
    opacity: .85;
}

.lang-dropdown .flag {
    width: 18px;
    border-radius: 2px;
}

.form-control {
    font-size: 15px !important;;
    font-weight: 400;
    color: inherit !important;
}

.login-card .is-invalid input,
.login-card .form-control.is-invalid {
    border-color: #dc3545;
    background-image: none !important;
}

.login-card .form-control.is-invalid {
    padding-right: 1rem;
}

.otp-box {
    flex: 1;
    max-width: 55px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    border: 1.5px solid #ced4da;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.otp-box:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
    transform: scale(1.03);
}

.otp-box:disabled {
    opacity: 1;
    cursor: default;
    background-color: white;
}

.is-invalid .otp-box:focus {
    box-shadow: none;
}

.h-48px {
    height: 48px !important;
    min-height: 48px !important;;
}

@media (max-width: 576px) {
    .login-wrapper {
        background: #fff;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }

    .login-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 1rem 1.8rem;
        box-shadow: none;
        margin-top: 15px;
    }

    .login-card.login {
        flex: 1;
    }

    .otp-box {
        height: 45px;
        font-size: 18px;
        max-width: 45px;
    }

    .btn {
        transition: none !important;
        will-change: auto;
    }

    .login-card footer {
        margin-top: auto;
    }

    .login-card.verify-otp {
        padding-bottom: clamp(2rem, 20vh, 20rem);
    }

    .hrv-account--list-orgname-item-inner {
        padding: 7px !important;
    }

    .hrv-account--list-orgname {
        max-height: 214px !important;;
    }

    .hrv-account--list-orgname-item::after {
        bottom: 6px !important;
    }
}

.cursor-pointer {
    cursor: pointer
}

.grecaptcha-badge {
    visibility: hidden;
}

[v-cloak] {
    display: none;
}

.link-hover:hover {
    text-decoration: underline !important;
}

.alert-warning-custom {
    background-color: #FFFBEB;
    color: #5c5c5c;
    border: 1px solid #ffeeba;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 13px;
}

.alert-warning-custom i {
    color: #DB7706;
    font-size: 1rem;
}

.btn-outline-primary:hover {
    background-color: #F0F6FF;
    color: #0d6efd;
}

.feature-list {
    margin-bottom: 35px;
}

.feature-icon {
    background: #f5f5f5;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
}

.hrv-account--list-orgname {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow-y: auto;
    max-height: 276px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-top: 5px;
}

.hrv-account--list-orgname-item {
    width: 100%;
    border: none;
    background: #fff;
    text-align: left;
    position: relative;
    margin-bottom: -10px;
}

.hrv-account--list-orgname-item::after {
    content: "";
    position: absolute;
    left: 68px;
    right: 20px;
    bottom: 6px;
    height: 1px;
    background-color: #eef0f3;
}

.hrv-account--list-orgname-item:last-child::after {
    display: none;
}

.hrv-account--list-orgname-item-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
}

.hrv-account--list-orgname-item-image {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #BEDBFE4D;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hrv-account--list-orgname-item:hover .hrv-account--list-orgname-item-inner,
.hrv-account--list-orgname-item:focus .hrv-account--list-orgname-item-inner {
    background-color: #F3F4F6;
}

.hrv-account--list-orgname-item:active .hrv-account--list-orgname-item-inner {
    background-color: #F0F6FF;
}

.hrv-account--list-orgname-item-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.hrv-account--list-orgname-item-name .info-login {
    font-size: 14px;
    color: #9aa3af;
    margin: 4px 0 0;
    font-weight: normal;
}

.hrv-account--list-orgname-item-arrow {
    color: #9CA3B0;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.fs-14 {
    font-size: 14px;
}

.icon-menu {
    color: #4b5563;
}

.icon-menu.active {
    color: #2563eb;
}

.icon-gray {
    filter: grayscale(100%) brightness(0.6);
}

.icon-blue {
    filter: invert(29%) sepia(95%) saturate(1500%) hue-rotate(210deg);
}

.form-floating > label {
    color: #6c757d;
    padding: .75rem;
}
.address-picker
{
    bottom: 100%;
    margin-bottom: 10px;
}
.address-picker-panel {
    border-radius: 12px;
    padding: 12px;
}

.address-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 10px;
}

.address-tabs .nav-link {
    border: 0;
    border-radius: 8px;
    font-weight: 600;
    color: #4b5563;
    background: transparent;
    transition: background-color .2s ease, color .2s ease;
    padding: 12px;
}

.address-tabs .nav-link.active {
    background: #dbe8ff;
    color: #2b5cff;
}

.address-tabs .nav-link.disabled {
    opacity: .4;
    cursor: not-allowed;
}

.address-list {
    max-height: 220px;
    overflow: auto;
    position: relative;
}

.address-item {
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 4px;
    transition: 0.15s;
    color: #111827;
}

.address-item:hover {
    background: #eceef1;
}

.address-item.active {
    background: #f0f6ff;
}

.form-floating>.form-control:not(:placeholder-shown)~label::after {
    background: none !important;
}

/*!* trạng thái chung *!*/
/*.wizard-enter-active,*/
/*.wizard-leave-active {*/
/*    transition: all 0.28s cubic-bezier(.4,0,.2,1);*/
/*}*/

/*!* step mới xuất hiện *!*/
/*.wizard-enter-from {*/
/*    opacity: 0;*/
/*    transform: translateX(16px);*/
/*}*/

/*!* step cũ biến mất *!*/
/*.wizard-leave-to {*/
/*    opacity: 0;*/
/*    transform: translateX(-16px);*/
/*}*/