:root {
    --azul-mercantil: #004E9B;
    --azul-claro: #009FDA;
    --naranja: #FF5800;
    --texto-primario: #666666;
    --error: #FF3333;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.nav-bar {
    width: 100%;
    height: 60px;
    gap: 0px;
    opacity: 0px;
    background: linear-gradient(90deg, var(--azul-mercantil) 0.96%, var(--azul-claro) 14.75%, var(--azul-mercantil) 37.06%);
    display: flex;
    align-items: center;

    .nav-logo {
        height: 80px;
        margin-left: 10%;
    }
}

.main-container {
    width: 700px;
    margin: 0 auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

h3 {
    text-align: center;
    color: var(--azul-claro);
    width: 100%;
}

form {
    box-shadow: 0px 4px 4px 0px #DDDCD8;
    padding: 12px 0;
    border: 1px solid #DFDFDF;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    width: 70%;
}

.transaction-response {
    box-shadow: 0px 4px 4px 0px #DDDCD8;
    border: 1px solid #DFDFDF;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    max-width: 700px;
    padding: 12px;
    h2 {
        color: var(--naranja);
        padding: 0;
        margin: 0;
    }
    p {
        margin: 0;
        margin-top: 12px;
        padding: 0;
        color: var(--azul-claro);
        font-weight: bold;
    }
    a {
        text-decoration: underline;
        color: var(--azul-claro);
        margin-top: 12px;
        cursor: pointer;
    }
}

fieldset {
    border: none;

    label {
        display: inline-block;
        color: var(--azul-mercantil);
        font-weight: bold;
    }

    input, select {
        display: block;
        border: 2px solid transparent;
        border-bottom-color: var(--azul-mercantil);
        outline: none;
        transition: .2s ease all;
        font-size: 16px;
        color: var(--texto-primario);
        padding-bottom: 4px;
        margin-top: 12px;
        width: 100%;

        &:focus {
            border-bottom-color: var(--azul-claro);
        }
    }

    #customerid-prefix {
        width: 20%;
        margin-right: 12px;
    }

    div {
        display: flex;
    }
}

button {
    background-image: linear-gradient(180deg, var(--azul-claro) 0%, var(--azul-mercantil) 100%),
        linear-gradient(180deg, var(--azul-claro) 0%, var(--azul-mercantil) 100%);
    padding: 8px 32px;
    border-radius: 32px;
    border: 2px solid transparent;
    color: #Fff;
    font-size: 18px;
    box-sizing: border-box;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    cursor: pointer;
}

.json-container {
    max-width: 1200px;
    margin: 12px auto;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px;
}

.json-container div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 400px;
}

.json-container div div {
    background-color: #212121;
    color: rgb(255, 255, 255);
    padding: 4px;
    border-radius: 8px;
    overflow: scroll;
}

.json-container div div::-webkit-scrollbar  {
    -webkit-appearance: none;
}

.json-container div div::-webkit-scrollbar-thumb {
    background-color: #585858;
    border-radius: 8px;
}

.json-container div div::-webkit-scrollbar {
    height: 10px;
}

.json-container div div::-webkit-scrollbar-corner {
    background-color: transparent;
}

.json-container h3 {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--azul-claro);
}

.hide {
    display: none;
}

.key {
    color: #9cdcfe;
}

.value {
    color: #c3835c;
}

.number {
    color: #b5cea8;
}

.error {
    color: var(--error);
}

.loader {
    border: 8px solid #fff;
    /* Light grey */
    border-top: 8px solid var(--azul-claro);
    /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1s linear infinite;
    margin: 12px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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