/*
 * SIBS Payment Magento Module.
 *
 * Copyright © 2023 SIBS. All rights reserved.
 *
 * @author    SIBS <suporte@sibs.pt>
 * @license   See LICENSE for license details.
 */

.sibsConfigAutomatic > td {
    padding: 20px 0px 0px 0px !important;
}

#divSibsRadioConfiguration {
    float: right;
    padding-right: 13%;
}

#divSibsRadioConfiguration button {
    box-shadow: 0px 0px 0px 2px #9fb4f2;
    background: linear-gradient(to bottom, #7892c2 5%, #476e9e 100%);
    background-color: #7892c2;
    border-radius: 10px;
    border: 1px solid #4e6096;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 19px;
    padding: 12px 37px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #283966;
}

#divSibsRadioConfiguration button:hover {
    background: linear-gradient(to bottom, #476e9e 5%, #7892c2 100%);
    background-color: #476e9e;
}

#divSibsRadioConfiguration button:active {
    position: relative;
    top: 1px;
}

#wizard-config {
    /*padding-top: 10px;*/
    background-color: #2184be;
    border-radius: 5px;
    display: none;
}

#wizard-config .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

#wizard-config .closeModal {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#wizard-config .closeModal:hover,
#wizard-config .closeModal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}


#wizard-config .wizard,
#wizard-config .tabcontrol {
    display: block;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
}

#wizard-config .wizard a,
#wizard-config .tabcontrol a {
    outline: 0;
}

#wizard-config .wizard ul,
#wizard-config .tabcontrol ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    margin-bottom: 18px;
}

#wizard-config .wizard ul>li,
#wizard-config .tabcontrol ul>li {
    display: block;
    padding: 0;
}

/* Accessibility */
#wizard-config .wizard>.steps .current-info,
#wizard-config .tabcontrol>.steps .current-info {
    position: absolute;
    left: -999em;
}

#wizard-config .wizard>.content>.title,
#wizard-config .tabcontrol>.content>.title {
    position: absolute;
    left: -999em;
}

#wizard-config .wizard>.steps {
    position: relative;
    display: block;
    width: 100%;
    top: 15px;
    max-height: 0px;
}

#wizard-config .wizard.vertical>.steps {
    display: inline;
    float: left;
    width: 30%;
}

#wizard-config .wizard>.steps .number {
    font-size: 1.429em;
}

#wizard-config .wizard>.steps>ul>li {
    width: 33%;
}

#wizard-config .wizard>.steps>ul>li,
#wizard-config .wizard>.actions>ul>li {
    float: left;
}

#wizard-config .wizard.vertical>.steps>ul>li {
    float: none;
    width: 100%;
}

#wizard-config .wizard>.steps a,
#wizard-config .wizard>.steps a:hover,
#wizard-config .wizard>.steps a:active {
    display: block;
    width: auto;
    margin: 0 0.5em 0.5em;
    padding: 1em 1em;
    text-decoration: none;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#wizard-config .wizard>.steps .disabled a,
#wizard-config .wizard>.steps .disabled a:hover,
#wizard-config .wizard>.steps .disabled a:active {
    background: #2184be;
    color: #fff;
    cursor: default;
}

#wizard-config .wizard>.steps .current a,
#wizard-config .wizard>.steps .current a:hover,
#wizard-config .wizard>.steps .current a:active {
    background: #eee;
    color: #aaa;
    cursor: default;
}

#wizard-config .wizard>.steps .done a,
#wizard-config .wizard>.steps .done a:hover,
#wizard-config .wizard>.steps .done a:active {
    background: #9dc8e2;
    color: #fff;
}

#wizard-config .wizard>.steps .error a,
#wizard-config .wizard>.steps .error a:hover,
#wizard-config .wizard>.steps .error a:active {
    background: #ff3111;
    color: #fff;
}

#wizard-config .wizard>.content {
    background: #eee;
    display: block;
    margin: 0.5em;
    min-height: 33em;
    /*overflow-y: hidden;*/
    margin-top: 60px;
    position: relative;
    width: auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#wizard-config .wizard.vertical>.content {
    display: inline;
    float: left;
    margin: 0 2.5% 0.5em 2.5%;
    width: 65%;
}

#wizard-config .wizard>.content>.body {
    float: left;
    position: absolute;
    width: 95%;
    height: 95%;
    padding: 2.5%;
}

#wizard-config .wizard>.content>.body ul {
    list-style: disc !important;
}

#wizard-config .wizard>.content>.body ul>li {
    display: list-item;
}

#wizard-config .wizard>.content>.body>iframe {
    border: 0 none;
    width: 100%;
    height: 100%;
}

#wizard-config .wizard>.content>.body input {
    display: block;
    border: 1px solid #ccc;
}

#wizard-config .wizard>.content>.body input[type="checkbox"] {
    display: inline-block;
}

#wizard-config .wizard>.content>.body input.error {
    background: rgb(251, 227, 228);
    border: 1px solid #fbc2c4;
    color: #8a1f11;
}

#wizard-config .wizard>.content>.body label {
    display: inline-block;
    margin-bottom: 0.5em;
}

#wizard-config .wizard>.content>.body label.error {
    color: #8a1f11;
    display: inline-block;
}

#wizard-config .wizard>.actions {
    position: relative;
    display: block;
    text-align: right;
    width: 100%;
}

#wizard-config .wizard.vertical>.actions {
    display: inline;
    float: right;
    margin: 0 2.5%;
    width: 95%;
}

#wizard-config .wizard>.actions>ul {
    display: inline-block;
    text-align: right;
}

#wizard-config .wizard>.actions>ul>li {
    margin: 0 0.5em;
}

#wizard-config .wizard.vertical>.actions>ul>li {
    margin: 0 0 0 1em;
}

#wizard-config .wizard>.actions a,
#wizard-config .wizard>.actions a:hover,
#wizard-config .wizard>.actions a:active {
    background: #2184be;
    color: #fff;
    display: block;
    padding: 0.5em 1em;
    text-decoration: none;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#wizard-config .wizard>.actions .disabled a,
#wizard-config .wizard>.actions .disabled a:hover,
#wizard-config .wizard>.actions .disabled a:active {
    background: #eee;
    color: #aaa;
}

/* Tabcontrol */
#wizard-config .tabcontrol>.steps {
    position: relative;
    display: block;
    width: 100%;
}

#wizard-config .tabcontrol>.steps>ul {
    position: relative;
    margin: 6px 0 0 0;
    top: 1px;
    z-index: 1;
}

#wizard-config .tabcontrol>.steps>ul>li {
    float: left;
    margin: 5px 2px 0 0;
    padding: 1px;

    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#wizard-config .tabcontrol>.steps>ul>li:hover {
    background: #edecec;
    border: 1px solid #bbb;
    padding: 0;
}

#wizard-config .tabcontrol>.steps>ul>li.current {
    background: #fff;
    border: 1px solid #bbb;
    border-bottom: 0 none;
    padding: 0 0 1px 0;
    margin-top: 0;
}

#wizard-config .tabcontrol>.steps>ul>li>a {
    color: #5f5f5f;
    display: inline-block;
    border: 0 none;
    margin: 0;
    padding: 10px 30px;
    text-decoration: none;
}

#wizard-config .tabcontrol>.steps>ul>li>a:hover {
    text-decoration: none;
}

#wizard-config .tabcontrol>.steps>ul>li.current>a {
    padding: 15px 30px 10px 30px;
}

#wizard-config .tabcontrol>.content {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 35em;
    overflow: hidden;
    border-top: 1px solid #bbb;
    padding-top: 20px;
}

#wizard-config .tabcontrol>.content>.body {
    float: left;
    position: absolute;
    width: 95%;
    height: 95%;
    padding: 2.5%;
}

#wizard-config .tabcontrol>.content>.body ul {
    list-style: disc !important;
}

#wizard-config .tabcontrol>.content>.body ul>li {
    display: list-item;
}

#activateLoginSibs {
    display: none;
}

#wizard-config .content button {
    /*display: flex;*/
    margin-right: 8px;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    cursor: pointer;
    border: none;
    background-color: #3673c7;
    min-height: 31px;
    min-width: 80px;
    border-radius: 6px;
}

#wizard-config .content .whiteButton {
    background-color: #d1d5f0;
    color: #000;
}

#wizard-config .content #checkData {
    background: white;
    padding: 5px;
    padding-left: 8px;
    overflow-x: auto;
}

#wizard-config .actions {
    display: none;
}

body.loading .modal {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}

.lds-ring {
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 200%;
    padding-left: 51%;
    padding-top: 96%;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.4);
    visibility: hidden;
    overflow: hidden;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #000 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.div-fields-content {
    display: flex;
}

.p-fields-content-left {
    width: 50%;
    margin-right: 1% !important;
    margin-left: 2px !important;
}

.p-fields-content-right {
    width: 50%;
    margin-left: 1% !important;
    margin-right: 2px !important;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.sibsBlockedField {
    cursor: not-allowed;
    background-color: #ccc !important;
    pointer-events: none;
}

/* TOGGLE STYLING */
#wizard-radio-config .toggle {
    margin: 0 0 1.5rem;
    box-sizing: border-box;
    font-size: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
}

#wizard-radio-config .toggle input {
    width: 0;
    height: 0;
    position: absolute;
    left: -9999px;
}

#wizard-radio-config .toggle input+label {
    margin: 0;
    padding: 0.75rem 2rem;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    border: solid 1px #DDD;
    background-color: #FFF;
    font-size: 1rem;
    line-height: 140%;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    transition: border-color 0.15s ease-out, color 0.25s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out;
    /* ADD THESE PROPERTIES TO SWITCH FROM AUTO WIDTH TO FULL WIDTH */
    /*flex: 0 0 50%; display: flex; justify-content: center; align-items: center;*/
    /* ----- */
}

#wizard-radio-config .toggle input+label:first-of-type {
    border-radius: 6px 0 0 6px;
    border-right: none;
}

#wizard-radio-config .toggle input+label:last-of-type {
    border-radius: 0 6px 6px 0;
    border-left: none;
}

#wizard-radio-config .toggle input:hover+label {
    border-color: #213140;
}

#wizard-radio-config .toggle input:checked+label {
    background-color: #007cba;
    color: #FFF;
    box-shadow: 0 0 10px rgba(102, 179, 251, 0.5);
    border-color: #007cba;
    z-index: 1;
}

#wizard-radio-config .toggle input:focus+label {
    outline: dotted 1px #CCC;
    outline-offset: 0.45rem;
}

@media (max-width: 800px) {
    #wizard-radio-config .toggle input+label {
        padding: 0.75rem 0.25rem;
        flex: 0 0 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* STYLING FOR THE STATUS HELPER TEXT FOR THE DEMO */
#wizard-radio-config .status {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

#wizard-radio-config .status span {
    font-weight: 600;
    color: #B6985A;
}

#wizard-radio-config .status span:first-of-type {
    display: inline;
}

#wizard-radio-config .status span:last-of-type {
    display: none;
}

@media (max-width: 800px) {
    #wizard-radio-config .status span:first-of-type {
        display: none;
    }

    #wizard-radio-config .status span:last-of-type {
        display: inline;
    }
}

#fenvironment {
    display: grid;
    width: 165px;
}
