﻿body {
    background: var(--l-surface);
}

.is-hidden {
    display : none!important
}

.btn {
    width : fit-content;
    font-weight : 600;
    display : flex;
    flex-direction : row;
    padding-inline : var(--s-4)
}

.btn svg {
    display : block;
    height : 20px;
    width : 20px;
    fill : none;
    stroke : currentColor;
    stroke-width : 2;
    stroke-linecap : round;
    stroke-linejoin : round
}

.btn svg.small {
    height :10px;
    width : 10px
}

.form-main {
    display : flex;
    flex-direction : column;
}

.form-divison {
    width: min(600px, calc(100% - 40px));
    display : flex;
    flex-direction : column;
    gap : var(--s-3);
    margin-inline : auto
}

.form-card {
    background : var(--l-bg);
    order: 2;
    margin-inline : auto;
    border: 1px solid var(--l-border);
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    padding: calc(.25rem * 8);
    border-radius: calc(var(--r-lg) * 2);
    width : 100%
}

.form-header {
    display : flex;
    flex-direction : column;
    gap : var(--s-2);
    order: 1;
    display : flex;
    flex-direction : column;
    height : fit-content;
}

.form-footer {
    order : 3
}

.form-footer {
    border-top : 1px solid var(--l-border);
    display : flex;
    flex-direction : row;
    justify-content : space-between;
    padding-top : var(--s-4);
    margin-top : var(--s-4);
    font-size : 11px !important
}

.form-footer .btn {
    padding : 10px 12.5px !important;
    font-size : 11px !important;
    height : fit-content !important;
    min-height : 0px;
    border-radius : var(--r-md)
}

#progressBar{
    transition : width var(--d-base) ease-in-out;
}

.form-footer .btn svg {
    height : 16px;
    width : 16px;
    stroke-width : 1.75
}

.form-header .form-bar {
    height : 7.5px;
    width: 100%;
    background : var(--l-border);
    border-radius : var(--r-md);
    position : relative;
}

.form-header .form-bar div {
    height : 100%;
    display : block;
    position : absolute;
    top : 0;
    left : 0;
    background : var(--pb-green);
    border-radius : var(--r-md)
}

.form-header button {
    display : flex;
    flex-direction : row;
    align-items : center;
    font-size : 11px;
    width : fit-content;
    color : var(--l-text-2);
    padding : 0px;
    background : transparent;
    margin : 0px;
    border : none;
    outline : none;
    align-self : flex-end
}

    .form-header button svg {
        display: block;
        height: 12.5px;
        width: 12.5px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        margin-right : var(--s-1)
    }

.form-warning {
    display : flex;
    flex-direction : row;
    gap : var(--s-1);
    font-size : 11px;
    color : var(--l-text-2);
    order : 3;
    align-items : center
}

    .form-warning svg {
        display: block;
        height: 15px;
        width: 15px;
        fill: none;
        stroke: var(--pb-green);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        margin-right: var(--s-1)
    }

.card-step {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    animation : fadeIn 0.4s ease-in-out;
    font-size: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card-step p,
.card-step span {
    font-size : 12.5px;
    color : var(--l-text-2);
    text-wrap : balance;
    text-align : center;
    max-width : 80%;
}

.card-step * {
    margin-block : 0px
}

.card-step h1 {
    font-size : 34px;
    font-weight : 700;
    color : var(--d-surface-2)
}

.card-step h2 {
    font-size : 22px
}

.small-text {
    font-size : 11px;
}

.form-eyebrow {
    display : flex;
    flex-direction : row;
    padding : 0px var(--s-3);
    border-radius : var(--r-md);
    text-transform : uppercase;
    font-weight : 500;
    font-size : 11px;
    align-items : center;
    justify-content : center
}

.form-eyebrow-small {
    display : flex;
    flex-direction : row;
    padding : 0px var(--s-2);
    font-size : 9px !important;
    width : fit-content;
    font-weight : 500;
    text-transform : uppercase;
    border-radius : var(--r-lg)
}

.form-eyebrow::before {
    display : flex;
    content : "";
    width : 5px;
    height : 5px;
    border-radius : 35%;
    margin-right: var(--s-2)
}

/* Eyebrows | Inputs e ETC*/

.form-eyebrow-small.green,
.form-eyebrow.green {
    color : var(--pb-green);
    background : color-mix(in srgb, var(--pb-green) 7.5%, transparent)
}
    .form-eyebrow.green::before {
        background : var(--pb-green)
    }

.svg-selection,
.normal-selection,
.box-selection {
    font-size : 12px;
    display : flex;
    align-items : center;
    flex-direction : row;
    justify-content : space-between;
    border : 1px solid var(--l-border);
    padding : var(--s-2) var(--s-3);
    background : var(--l-bg);
    border-radius : var(--r-md);
    outline : none
}

    .normal-selection svg {
        display: none;
        height: 12.5px;
        width: 12.5px;
        fill: none;
        stroke: var(--d-text);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round
    }

.box-selection span {
    border : 1px solid var(--l-border);
    border-radius : 15%;
    width : 20px;
    height : 20px;
    display : flex;
    align-items : center;
    justify-content : center
}

    .box-selection span svg {
        display: none;
        height: 11px;
        width: 11px;
        fill: none;
        stroke: var(--d-text);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round
    }

.svg-selection {
    display : flex;
    flex-direction : row;
    padding : var(--s-3) var(--s-3);
    justify-content : normal;
    border-radius : var(--r-lg)
}

.svg-selection .content-wrapper {
    width : 100%;
    align-items : center;
    display : flex;
    gap : var(--s-2);
    flex-direction : row
}

.svg-selection .content-wrapper p {
    color : var(--l-text);
    font-weight : 550
}

.svg-selection .recomended-badge {
    padding : var(--s-1) var(--s-2);
    border-radius : var(--r-md);
    color : var(--d-text);
    line-height : 1;
    font-size : 9px;
    font-weight : 500;
    max-height : fit-content;
    text-transform : uppercase;
    background : var(--pb-green);
}

.svg-selection span {
    display : flex;
    align-items : center;
    justify-content : center;
    border-radius : var(--r-md);
    height : 40px;
    width : 40px;
    background : var(--l-surface-2);
    margin-right : var(--s-3)
}

    .svg-selection span svg {
        height: 20px;
        width: 20px;
        fill: none;
        stroke: var(--l-text);
        stroke-width: 1.85;
        stroke-linecap: round;
        stroke-linejoin: round
    }

    .svg-selection.is-active {
        box-shadow: 0 0 0 1.5px rgba(22, 179, 100, 0.2);
        background: color-mix(in srgb, var(--pb-green) 7.5%, transparent);
        border-color: var(--pb-green);
    }

    .svg-selection.is-active span {
        background : var(--pb-green)
    }

    .svg-selection.is-active span svg {
        stroke : var(--d-text)
    }


.cep-button:focus,
.svg-selection:focus,
.normal-selection:focus,
.box-selection:focus {
    outline : none
}

.normal-selection.is-active,
.box-selection.is-active {
    box-shadow: 0 0 0 1.5px rgba(22, 179, 100, 0.2);
    background: color-mix(in srgb, var(--pb-green) 7.5%, transparent);
    border-color: var(--pb-green);
    color: var(--pb-green)
}

.normal-selection.is-active svg {
    display : block;
    stroke : var(--pb-green)
}

.box-selection.is-active span {
    background : var(--pb-green);
    border : none
}

.box-selection.is-active span svg {
    display : block
}

.input-field {
    min-width : fit-content;
    display: flex;
    flex-direction : column;
    gap : var(--s-1);
}

.input-field p {
    display : none;
    opacity : 0;
    transition : opacity var(--d-base) var(--ease)
}

.input-field.full {
    grid-column : 1 / -1
}

.input-field.error p {
    display : block;
    opacity : 1;
    color : var(--pb-red);
    text-align : left;
    font-size : 11px
}

    .input-field.error input {
        border-color : var(--pb-red);
        box-shadow: 0 0 0 1.5px rgba(225,17,56, 0.2);
    }

.input-field span {
    text-transform : uppercase;
    text-align : left;
    font-size : 10px
}

.input-field input {
    padding : var(--s-2) var(--s-2);
    border-radius : var(--r-md);
    border : 1px solid var(--l-border);
    outline : none;
    font-size : 12px;
}

    .input-field input:focus {
        border-color: var(--pb-green);
        box-shadow: 0 0 0 1.5px rgba(22, 179, 100, 0.2);
    }

.cep-button {
    color : var(--pb-green);
    text-decoration : underline;
    text-decoration-color : var(--pb-green);
    text-align: left;
    font-size : 11px;
    background : transparent;
    width : fit-content;
    outline : none;
    border : none
}

/* Grids */

.Grid-OneColumn {
    width : 100%;
    display : flex;
    flex-direction : column;
    gap : var(--s-2)
}

.Grid-TwoColumn {
    width : 100%;
    display : grid;
    grid-template-columns : repeat(2,1fr);
    column-gap : var(--s-3);
    row-gap : var(--s-2)
}



/* Etapas */

.card-step .header-div {
    display : flex;
    flex-direction : column;
    text-align : left;
    margin-bottom : var(--s-3);
}

.card-step .header-div h2,
.card-step .header-div span,
.card-step .header-div p {
    text-align : left
}

.card-step .header-div * {
    margin-block : 0px
}

.card-step.main p {
    margin-inline : auto
}

.card-step.main div {
    padding-top : var(--s-2);
    display : flex;
    flex-direction : column;
    gap : var(--s-3);
    align-items : center
}

.card-step textarea {
    border-radius: var(--r-md);
    padding: var(--s-2);
    border: 1px solid var(--l-border);
    min-height: 120px;
    color: var(--l-text-2);
    font-size: 11px;
}

.card-step textarea::placeholder {
    color : var(--l-text-2);
    font-size : 11px;
    opacity : .75
}

.card-step textarea:focus{
    font-size : 11px; 
    color : var(--l-text-2);
    outline : none;
    border-color : var(--pb-green)
}

@media (max-width: 760px) {
    .Grid-TwoColumn {
        grid-template-columns : repeat(1, 1fr)
    }

    .svg-selection span {
        padding-inline : var(--s-2)
    }

    .svg-selection .content-wrapper {
        flex-direction : column;
        align-items : flex-start;
    }

    .svg-selection .content-wrapper p {
        width : 100%;
        text-align : left
    }
}
