/* Loading */
.th-load,
.hk-load {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 555;
    background: #ffffff87;
    border-radius: 15px;
}

.hk-load img {
    opacity: 0.4;
}

/* Messages */
p.ok {
    background: #e5ffe6;
    font-size: 13px;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    border: 1px solid #009688;
    color: #009688;
    font-weight: 400;
}

div.error,
p.error,
div.error-data {
    background: #ffe5e5;
    font-size: 13px;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    border: 1px solid #e00;
    color: #e00;
    font-weight: 400;
}

/* Modal Account */
.modal-account .modal-dialog {
    max-width: 440px;
}

.modal-account .modal-header {
    position: relative;
    padding: 0;
}

/* Allow close button to float outside */
.modal-account .modal-content {
    overflow: visible !important;
}

.modal-account .modal-header .btn-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/12px auto no-repeat !important;
    opacity: 1;
    z-index: 1055;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.modal-account .modal-header .btn-close:hover {
    transform: rotate(90deg) scale(1.1);
    background-color: #f8f9fa !important;
}

.modal-account .modal-header .title-login-resgister {
    display: flex;
    width: 100%;
}

.modal-account .modal-header .title-login-resgister>a {
    display: block;
    flex: 1;
    text-align: center;
    font-size: 18px;
    color: #7A8699;
    border-bottom: 2px solid #ededed;
    padding: 12px 0;
}

.modal-account .modal-header .title-login-resgister>a.active {
    color: var(--text-dark, #000);
    border-color: var(--primary, #0ca678);
}

.modal-account .modal-body {
    padding: 0 40px;
}

.modal-account .modal-body .welcom {
    margin-bottom: 0;
    padding: 20px 0;
    font-weight: 400;
    color: #565656;
}

.modal-account .group-form {
    margin-bottom: 20px;
}

.modal-account .group-form .inner-group {
    position: relative;
}

.modal-account .group-form .inner-group label {
    font-size: 16px;
    font-weight: 600;
    display: block;
    color: #42404A;
    margin-bottom: 5px;
}

.modal-account .group-form .inner-group input {
    width: 100%;
    border: none;
    height: 48px;
    padding-left: 40px;
    border-bottom: 2px solid #ededed;
    font-weight: 400;
}

.modal-account .group-form .inner-group .icon {
    position: absolute;
    left: 10px;
    bottom: 0;
    width: 24px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-account .group-form .inner-group .ShowPassWord {
    position: absolute;
    height: 48px;
    line-height: 48px;
    right: 10px;
    bottom: 0;
    display: inline-block;
    cursor: pointer;
}

.modal-account .check-save {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: 400;
}

.modal-account .check-save a {
    color: var(--primary, #0ca678);
}

.modal-account button {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    height: 48px;
    border-radius: 4px;
    border: 1px solid var(--primary, #0ca678);
    margin-bottom: 15px;
    background: var(--primary, #0ca678);
}

.modal-account .login-social a {
    display: flex;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #ededed;
    color: #333;
    margin-top: 15px;
    font-weight: 400;
    margin-bottom: 15px;
}

.modal-account .login-social a .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-account .login-social a .text {
    width: calc(100% - 40px);
    text-align: center;
}

.modal-account .login-social a:hover {
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .25);
}

.modal-account .bkctk {
    padding-bottom: 24px;
    font-weight: 400;
}

.modal-account .bkctk a {
    color: var(--primary, #0ca678);
}

/* Download Modal */
#download-form .modal-dialog {
    max-width: 600px;
}

.data-ajax-return {
    padding: 15px 0px;
}

.data-ajax-return p.error {
    padding: 10px;
}

ul.download-list {
    padding-left: 0;
    list-style: none;
}

ul.download-list li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #ededed;
    justify-content: space-between;
    gap: 15px;
}

ul.download-list li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modal-account .modal-body ul.download-list li button {
    width: 90px;
    height: 40px;
    margin-bottom: 0;
    font-size: 15px;
}

ul.download-list li>span {
    width: calc(100% - 90px);
}

.in-hoa {
    text-transform: uppercase;
}

/* Helper */
.list-button {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    border-top: 1px solid #ededed;
    padding-top: 10px;
}

.list-button a {
    padding: 5px 15px;
    border-radius: 4px;
}

.list-button a.nchv {
    background: var(--primary, #0ca678);
    color: #fff;
}

.list-button a.vtc {
    background: #eee;
    color: #333;
}

/* Cooldown Modal */
.cooldown-content {
    padding: 20px;
}

.countdown-display {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: white !important;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.progress-bar {
    transition: width 1s linear;
}

/* Show Password Eye */
.group-form {
    position: relative;
}