* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5%;
    background:
        linear-gradient(rgba(7, 46, 93, .78), rgba(7, 46, 93, .78)),
        url('../images/login-bg.png') center/cover no-repeat;
}

.card {
    width: 420px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
    padding: 35px;
}

.logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 220px;
}

h2,
p {
    text-align: center;
}

h2 {
    color: #0A2E5D;
}

p {
    color: #666;
    margin: 8px 0 25px;
}

label {
    display: block;
    margin: 10px 0 6px;
    color: #0A2E5D;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 14px;
    border: 2px solid #d8e1ea;
    border-radius: 10px;
}

.pass {
    position: relative;
}

.toggle {
    position: absolute;
    right: 12px;
    top: 45px;
    cursor: pointer;
    user-select: none;
}

button {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #F57C00;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

button:hover {
    background: #e96d00;
    opacity: 0.8;
}

.links {
    text-align: center;
    margin-top: 15px;
}

.links a {
    color: #1565C0;
    text-decoration: none;
}

.msg {
    background: #eef8ff;
    border-left: 4px solid #1565C0;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 360px;
    max-width: 90%;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 22px;
}

#overlay {
    cursor: wait;
    opacity: .5;
    background: #000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none
}

#loading {
    background-size: 60% auto;
    display: block;
    width: 100px;
    height: 100px;
    position: fixed;
    left: 50%;
    margin-left: -50px;
    top: 50%;
    margin-top: -50px;
    z-index: 99999 !important;
}

.basic-spinner {
    display: inline-block;
    margin: 0 auto;
    border-radius: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../images/loadingTW.png);
    width: 100px;
    height: 100px;
    -webkit-animation: full-rotation 1s infinite linear;
    -moz-animation: full-rotation 1s infinite linear;
    animation: full-rotation 1s infinite linear
}

.basic-spinner.isHidden {
    display: none
}

.ua-ie-7 .basic-spinner,
.ua-ie-8 .basic-spinner,
.ua-ie-9 .basic-spinner {
    background-image: url(../images/site-spinner-100.gif)
}

@-webkit-keyframes full-rotation {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@-moz-keyframes full-rotation {
    from {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@-o-keyframes full-rotation {
    from {
        -o-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -o-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes full-rotation {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}


.swal2-popup {
    font-size: 14px !important;
    width: 320px !important;
}

.swal2-title {
    font-size: 20px !important;
}

.swal2-html-container {
    font-size: 14px !important;
}

.swal2-confirm,
.swal2-cancel {
    padding: 8px 18px !important;
    font-size: 14px !important;
}

.success {
    background: #28a745;
}

.error {
    background: #dc3545;
}

.warning {
    background: #ffc107;
    color: #000;
}

.info {
    background: #17a2b8;
}

.confirm {
    background: #6f42c1;
}

#frmReset label {
    text-align: center;
}

#modalCode .text-center {
    text-align: center;
}