﻿.btn {
    padding: 4px 10px;
    white-space: normal;
}

.root-wrapper {
    padding-top: 15px;
}

.divTitulos {
    background: #dedede;
}

.defaultTable thead {
    background-color: #001e42;
    color: white;
}

.modal {
    font-size: 12px;
}

.modal-header {
    background-color: #001e42;
    color: white;
    text-align: center;
}

    .modal-header button {
        position: absolute;
        right: 0;
        top: 0;
        margin: 15px;
        padding-top: 10px;
    }

.modal-footer button {
    margin-left: 10px;
}

.table {
    border-bottom: 1px solid #dddddd;
    margin-bottom: 0;
}

.defaultTable {
    box-shadow: none;
}

label {
    line-height: 20px;
}

.divTitulos {
    padding: 0;
}

.panel-body {
    padding: 0;
}

    .panel-body .defaultTable {
        border-radius: 0 0 5px 5px;
    }

.divTitulos label {
    font-size: 14px !important;
    color: #001871 !important;
    font-family: Lato !important;
    font-weight: 400 !important;
}

table tr th, table tr td {
    font-family: Lato !important;
    font-size: 14px !important;
    vertical-align: middle !important;
}

.nueva_imagen {
    margin-bottom: 30px !important;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.pw-requeriments-info, .pw-match-info {
    display: none;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateX(calc(100% + 15px)) translateY(-50%);
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: rgb(0 0 0 / 15%) 0px 15px 10px -10px, rgb(0 0 0 / 5%) 0px 15px 10px -15px;
    border-radius: 5px;
    text-align: left;
    font-family: 'Lato';
    animation: fadeIn .5s ease-in;
}

input:focus + .pw-requeriments-info, input:focus + .pw-match-info {
    display: block;
}

.pw-requeriments-info h4, .pw-match-info h4 {
    padding: 10px;
    background: white;
    color: #001e42;
    margin-top: 0;
    border-radius: 5px 5px 0 0;
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

.pw-requeriments-info ul, .pw-match-info ul {
    padding: 0 20px;
}

.pw-requeriments-info::before, .pw-match-info::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 30px;
    background: white;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    transform: rotate(45deg) translateX(-50%) translateY(-50%);
    transform-origin: top left;
}

.pw-requeriments-info .pw-req-true span, .pw-match-info .pw-req-true span {
    color: darkgreen;
}

.pw-requeriments-info .pw-req-false span, .pw-match-info .pw-req-false span {
    color: darkred;
}

.pw-requeriments-info .pw-req-false .fa-check-circle, .pw-match-info .pw-req-false .fa-check-circle {
    display: none;
}

.pw-requeriments-info .pw-req-true .fa-times-circle, .pw-match-info .pw-req-true .fa-times-circle {
    display: none;
}

.mfa-qr-code {
    width: 50%;
    padding: 20px;
}

#mfa-qr-code-element img {
    width: 100%;
}

.mfa-string-code {
    width: 50%;
    padding: 20px;
    outline: 1px solid #ddd;
    outline-offset: -20px;
    position: relative;
}

    .mfa-string-code p {
        position: absolute;
        top: 50%;
        left: 50%;
        padding: 40px;
        transform: translate(-50%, -50%);
        width: 100%;
    }

.mfa-code-insert {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-left: 20px;
}

    .mfa-code-insert input {
        text-align: center;
        height: 60px;
        font-weight: bold;
        font-size: 40px;
        margin: 5px;
    }

.mfa-recovery-codes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
}

    .mfa-recovery-codes li {
        text-align: center;
        display: block;
        width: 50%;
        text-transform: uppercase;
        font-weight: bold;
        padding: 5px;
        border: 1px solid #ddd;
        margin-top: -1px;
        margin-left: -1px;
    }

.mfa-big-button {
    width: 80px;
    height: 80px;
    display: inline-block;
    border: 1px solid #ddd;
    color: #6e6e6e;
    text-align: center;
    user-select: none;
    cursor: pointer;
    transition: color .4s ease;
}

    .mfa-big-button:hover {
        color: #001e42;
    }

    .mfa-big-button .mfa-icon-btn {
        font-size: 36px;
        line-height: 50px;
    }

    .mfa-big-button .mfa-msg-btn {
        line-height: 20px;
        font-size: 16px;
    }

#mfa-enabled-msg {
    font-size: 24px;
    display: inline-block;
    margin-left: 20px;
    display: none;
}

    #mfa-enabled-msg.enabled {
        color: darkgreen;
        display: inline-block;
    }

    #mfa-enabled-msg.disabled {
        color: darkred;
        display: inline-block;
    }

    #mfa-enabled-msg.enabled .disabled-icon {
        display: none;
    }

    #mfa-enabled-msg.enabled .disabled-msg {
        display: none;
    }

    #mfa-enabled-msg.disabled .enabled-icon {
        display: none;
    }

    #mfa-enabled-msg.disabled .enabled-msg {
        display: none;
    }

@keyframes rotate-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#multifactor-status, #cuentas-status {
    color: #001871;
}

    #multifactor-status i, #cuentas-status i {
        animation: infinite rotate-spinner 1s linear;
    }

.btn-social {
    width: 100%;
    border-radius: 0;
    border: none;
    margin: 5px 0;
    padding: 0;
    color: white;
}

    .btn-social div {
        display: flex;
        align-items: center;
    }

    .btn-social div {
        background: #00000000;
        transition: .2s ease;
    }

        .btn-social div:hover {
            background: #00000033;
        }

    .btn-social i {
        height: 40px;
        line-height: 40px;
        width: 40px;
        background: #00000033;
    }

    .btn-social span {
        flex: 1;
        text-align: center;
    }

.btn-microsoft {
    background: #545454;
}

.btn-google {
    background: #de4a36;
}

.btn-desvincular {
    color: #4a4a4a;
    border-radius: 0;
    border: none;
    margin: 5px 0;
    padding: 0;
    height: 40px;
    background: white;
    text-align: left;
    text-decoration: underline;
    display: none;
}

.cuenta-vinculada .btn-social {
    opacity: 0.5;
    pointer-events: none;
}

.cuenta-vinculada .btn-desvincular {
    display: block;
}
