* {
    box-sizing: border-box;
}

body {
    padding: 0px;
    margin: 0px;
}

.center-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hcenter {
    text-align: center;
}

.vcenter {
    display: flex;
    align-items: center;
}

.img-box {
    max-width: 100%;
}

.page-auth {
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    splay: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#main-container {
    padding: 0px;
    margin-bottom: 0px;
}

#main-container #col1 {
    background-image: url(/static/css/images/bg-auth.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

#main-container #main-row {
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 40px;
    line-height: 48px;
}

input {
    width: 100%;
    padding: 20px;
    border: 1px solid #222222;
    border-radius: 8px 0px 8px 8px;
    background-color: transparent;
    margin-bottom: 20px;
}

input.invalid_value {
    border-color: #EC3200;
}

button {
    width: 100%;
    border-radius: 8px 0px 8px 8px;
    padding: 20px;
    border: none;
    cursor: pointer;
}

@media (max-width:768px) {
    .hidden-sm-down {
        display: none !important
    }
}

#content_login,
#content_forgot_password {
    width: 80%;
}

.pwcheck-list,
.pwcheck-list li {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    color: #EC3200;
}

.pwcheck-list li {
    font-size: 12px;
    padding: 2px 5px;
}

#password_requirements .item-success {
    color: #49BF67;
    font-weight: bold;
}

#password_requirements .item-error {
    color: #EC3200;
    font-weight: bold;
}

.alert-success {
    background-color: #49BF67;
}

.alert-danger,
.alert-error {
    background-color: #EC3200;
}

.alert {
    padding: 10px;
    width: 80%;
    margin: 10px;
    border-radius: 8px 0px 8px 8px;
    color: #f6e8e1;
}

.alert .close {
    display: none;
}

.dropdown {
    position: relative
}

.dropdown a {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute !important;
}

.dropdown .dropdown-menu {
    padding: 0.5rem;
}

.bg-gray {
    background-color: #212121;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #292b2c;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 0.25rem;
    width: auto;
}


.mfa-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.mfa-modal-overlay.active {
    display: flex;
}

.mfa-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: mfaModalSlideIn 0.3s ease-out;
}

@keyframes mfaModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mfa-modal-header {
    background: linear-gradient(135deg, #ff7043 0%, #ff5722 100%);
    padding: 20px;
    border-radius: 8px 8px 0 0;
    position: relative;
    border-top-right-radius: 0px;
}

.mfa-modal-header h4 {
    color: #fff;
    font-weight: 500;
    margin: 0;
    font-size: 18px;
}

.mfa-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    line-height: 1;
}

.mfa-modal-close:hover {
    opacity: 1;
}

.mfa-modal-body {
    padding: 25px;
    text-align: center;
}

.mfa-modal-body .mfa-icon {
    font-size: 48px;
    color: #ff5722;
    margin-bottom: 20px;
}

.mfa-modal-body p {
    margin: 0 0 15px 0;
}

.mfa-modal-body p.mfa-title {
    font-size: 16px;
    color: #333;
}

.mfa-modal-body p.mfa-desc {
    font-size: 14px;
    color: #666;
}

.mfa-modal-footer {
    border-top: 1px solid #eee;
    padding: 15px 20px;
    text-align: center;
}

.mfa-modal-footer .btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    border-top-right-radius: 0px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    margin: 5px;
    width: 100%;
}

.mfa-modal-footer .btn-default {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
}

.mfa-modal-footer .btn-default:hover {
    background: #e8e8e8;
}

.mfa-modal-footer .btn-success {
    background-color: #25D366;
    border: 1px solid #25D366;
    color: #fff;
}

.mfa-modal-footer .btn-success:hover {
    background-color: #1da851;
}
