body {
    background-color: #f7f7f7;
    position: relative;
    overflow: hidden;
}

body > .row {
    min-height: 100vh;
    align-items: center;
}

body::before {
    content: "";
    width: 160%;
    height: 65%;
    position: absolute;
    top: -20%;
    right: -20%;
    background-color: #f2f2f2;
    transform: rotate(10deg);
    z-index: -1;
}

#box {
    background-color: #ffffff;
    padding: 2.5rem;
    border: 1px solid #eeeeee;
    border-radius: 1rem;
}


/* ------------------------------------- tab ------------------------------------- */
.tab-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.tab-box .right {
    color: #495057;
    font-weight: bold;
    font-size: 1.3rem;
}

.tab-box .left a {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #adb5bd;
    font-size: 0.8rem;
}


/* ------------------------------------- form ------------------------------------- */
form {
    margin-top: 1rem;
}
form div {position: relative;}
form > div {padding-top: 0.25rem; padding-bottom: 0.25rem;}
form label {
    font-size: 0.9rem;
    font-weight: 600;
    word-spacing: -0.15rem;
    color: #343a40;
    margin-bottom: 0.3rem !important;
}
form input.form-control {
    border-color: #eeeeee !important;
    padding: 0 1rem !important;
    height: 2.8rem;
    border-radius: 0.3rem !important;
}
form input::placeholder {
    font-size: 0.825rem;
    word-spacing: -0.1rem;
    color: #adb5bd !important;
}
form input#phone::placeholder, form input#phoneOrUserName::placeholder {text-align: end;}

form #btnBox {cursor: pointer; padding: 0; margin-top: 1.25rem;}
form div button.un-active {pointer-events: none;}
form #btnBox:hover button{
    background-color: #1976d2;
}
form div button {
    transition: all 0.1s;
    font-size: 0.825rem;
    font-weight: bold;
    word-spacing: -0.1rem;
    color: #ffffff !important;
    background-color: #008bee;
    border-radius: 0.3rem;
    padding: 0.75rem;
    width: 100%;
    border: 0;
}

.bottom {
    margin: 0 3rem;
    padding-top: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid #f1f1f1;
    display: flex;
    justify-content: center;
    font-size: 0.85rem;
    word-spacing: -0.075rem;
    color: #adb5bd;
}
.bottom a {
    font-weight: bold;
    word-spacing: -0.1rem;
    margin-right: 0.1rem;
}

form div #show {
    position: absolute;
    left: 1rem;
    cursor: pointer;
    bottom: 1rem;
    background-color: #ffffff;
    padding-right: 0.9rem;
    z-index: 2025;
}








.popup {cursor: pointer;}
@keyframes popup-start {
    0% {transform: translateX(calc(100% + 1.8rem))}
    
    20% {transform: translateX(0);}
    40% {transform: translateX(0);}
    60% {transform: translateX(0);}
    80% {transform: translateX(0);}
    
    100% {transform: translateX(150%)}
}
@keyframes popup-center {
    from {width: 3.75rem}
    to {width: 100%}
}
.popup .box::before {
    content: "";
    width: 3.75rem;
    position: absolute;
    right: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 2;
}
.popup.blue .box {background-color: #0077cc; box-shadow: 0px 3px 15px -4px #0077cc;}
.popup.red .box {background-color: #ef233c; box-shadow: 0px 3px 15px -4px #ef233c;}
@keyframes popup-close {
    from {opacity: 1;}
    50% {opacity: 0.5;}
    to {opacity: 0; visibility: hidden;}
}
.popup .box {
    position: relative;
    transition: all 1s;
    position: fixed;
    bottom: 1.75rem;
    right: 0;
    margin-right: 1.75rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #ffffff;
    border-radius: 0.25rem;
}
.popup .box.show {animation: popup-start 5s forwards;}
.popup .box.show::before {animation: popup-center 2.9s 1s forwards linear;}
.popup .box.close-popup {animation: popup-close 0.3s forwards linear;}

.popup .box.show-daly {animation: popup-start 5s 0.5s forwards;}
.popup .box.show-daly::before {animation: popup-center 2.9s 0.5s forwards linear;}

.popup .box.show-daly.account-page {transform: translateX(150%);}

.popup .box p {padding: 0 1rem; z-index: 2023;}
.popup .box .icon {
    z-index: 2023;
    background-color: rgba(0, 0, 0, 0.1);
    width: 3.75rem;
    height: 3.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}









@media (max-width: 720px) {
    body::before {
        content: "";
        width: 100%;
        height: 50%;
        position: absolute;
        top: 0;
        right: 0;
        background-color: #f2f2f2;
        transform: rotate(0);
        z-index: -1;
    }
    body .row > div {padding: 0 !important;}
    #box {
        padding: 1.5rem 1.5rem;
    }
    form div button {
        padding: 0.85rem;
    }

}