.competence-cadastro-wrap,
.competence-cadastro-wrap * {
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.competence-cadastro-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 70px 15px;
    background: #f5f5f5;
    border-radius: 10px;
}

.competence-cadastro-form {
    width: 100%;
    min-height: 530px;
    padding: 30px 25px 22px;
    color: #050505;
    background: #fff;
    border-radius: 8px;
    max-width: 720px;
    margin: 0 auto;
}

.competence-cadastro-passos {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 17px 5px 30px;
    border-bottom: 2px solid #e2e6eb;
}

.competence-cadastro-passo {
    display: flex;
    align-items: center;
    flex: 1 1 25%;
    min-width: 0;
    color: #b7b7b7;
    font-size: 14px;
    font-weight: 700;
}

.competence-cadastro-passo:last-child {
    flex: 0 0 auto;
}

.competence-cadastro-passo span {
    flex: 0 0 auto;
}

.competence-cadastro-passo i {
    display: block;
    flex: 1 1 auto;
    height: 4px;
    margin: 0 20px;
    background: transparent;
    border-radius: 10px;
}

.competence-cadastro-passo.ativo,
.competence-cadastro-passo.concluido {
    color: #020202 ;
}

.competence-cadastro-passo.ativo i,
.competence-cadastro-passo.concluido i {
    background: #F5AE3C;
}

.competence-cadastro-etapa[hidden] {
    display: none !important;
}

.competence-cadastro-etapa {
    padding: 19px 0 0;
    animation: competenceCadastroEntrada 0.22s ease;
}

@keyframes competenceCadastroEntrada {
    from { opacity: 0; transform: translateX(8px); }
    to { opacity: 1; transform: translateX(0); }
}

.competence-cadastro-etapa h2 {
    margin: 0;
    color: #030303;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.7px;
}

.competence-cadastro-etapa > p:not(.competence-cadastro-termos) {
    margin: 0 0 25px;
    color: #090909;
    font-size: 15px;
    line-height: 1.45;
}

.competence-cadastro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 9px;
}

.competence-cadastro-grid.uma-coluna {
    grid-template-columns: minmax(0, 312px);
    gap: 17px;
}

.competence-cadastro-campo {
    position: relative;
    display: block;
    margin: 0;
}

.competence-cadastro-campo > span {
    display: block;
    margin: 0 0 7px;
    color: #090909;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}

.competence-cadastro-campo > span b {
    color: #e11919;
    font-weight: 500;
}

.competence-cadastro-campo input,
.competence-cadastro-campo select {
    width: 100%;
    height: 43px;
    margin: 0;
    padding: 9px 13px;
    color: #151515;
    background-color: #fff !important;
    border: 1px solid #cfd1d5 !important;
    border-radius: 12px !important;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.competence-cadastro-campo input::placeholder {
    color: #bfc1c6;
    opacity: 1;
}

.competence-cadastro-campo select {
    padding-right: 42px;
    appearance: none;
    background-image:
        linear-gradient(#d4d4d4, #d4d4d4),
        linear-gradient(45deg, transparent 50%, #c9c9c9 50%),
        linear-gradient(135deg, #c9c9c9 50%, transparent 50%);
    background-position:
        right 40px center,
        calc(100% - 24px) calc(50% - 2px),
        calc(100% - 18px) calc(50% - 2px);
    background-size: 1px 22px, 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.competence-cadastro-campo select:disabled {
    color: #999;
    background-color: #f8f8f8;
    cursor: wait;
}

.competence-cadastro-campo input:focus,
.competence-cadastro-campo select:focus {
    border-color: #F5AE3C;
    box-shadow: 0 0 0 3px rgba(245, 174, 60, 0.1);
}

.competence-cadastro-campo input.competence-cadastro-invalido,
.competence-cadastro-campo select.competence-cadastro-invalido {
    border-color: #d92d20;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.08);
}

.competence-cadastro-foto {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 17px auto 0;
    text-align: center;
}

.competence-cadastro-foto > span {
    margin-bottom: 8px;
    font-size: 14px;
}

.competence-cadastro-foto > label {
    display: grid;
    place-items: center;
    width: 105px;
    height: 105px;
    margin: 0;
    overflow: hidden;
    color: #020202;
    background: #f8faff;
    border: 2px solid #dce3ef;
    border-radius: 9px;
    cursor: pointer;
}

.competence-cadastro-foto svg {
    width: 72px;
    height: 72px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.competence-cadastro-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.competence-cadastro-foto small {
    margin-top: 6px;
    color: #7a7f87;
    font-size: 9px;
}

.competence-campo-senha input {
    padding-right: 45px;
}

.competence-cadastro-wrap .competence-cadastro-form button.competence-ver-senha {
    position: absolute;
    right: 8px;
    bottom: 5px;
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #171717 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    line-height: 1 !important;
    transform: none !important;
    appearance: none;
    cursor: pointer;
}

.competence-cadastro-wrap .competence-cadastro-form button.competence-ver-senha:hover,
.competence-cadastro-wrap .competence-cadastro-form button.competence-ver-senha:focus {
    color: #020202 !important;
    background: #f1f5ff !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none;
}

.competence-cadastro-wrap .competence-cadastro-form button.competence-ver-senha svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    overflow: visible;
    fill: none !important;
    stroke: currentColor !important;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    pointer-events: none;
}

.competence-cadastro-forca {
    width: 100%;
    height: 7px;
    margin-top: 16px;
    overflow: hidden;
    background: #ededed;
    border-radius: 10px;
}

.competence-cadastro-forca i {
    display: block;
    width: 0;
    height: 100%;
    background: #e05858;
    border-radius: inherit;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.competence-cadastro-forca[data-forca="2"] i { background: #e3a22c; }
.competence-cadastro-forca[data-forca="3"] i { background: #63a33f; }
.competence-cadastro-forca[data-forca="4"] i { background: #16803c; }

.competence-cadastro-forca-texto {
    margin-top: 5px;
    font-size: 12px;
    text-align: right;
}

.competence-cadastro-termos {
    margin: 16px 0 0;
    font-size: 12px;
    text-align: right;
}

.competence-cadastro-termos a,
.competence-cadastro-rodape a {
    color: #020202 ;
    text-decoration: none;
}

.competence-cadastro-erro {
    min-height: 17px;
    margin-top: 10px;
    color: #b42318;
    font-size: 11px;
    font-weight: 500;
}

.competence-cadastro-erro:empty {
    visibility: hidden;
}

.competence-cadastro-rodape {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 8px;
}

.competence-cadastro-rodape > small {
    font-size: 10px;
}

.competence-cadastro-acoes {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.competence-cadastro-wrap .competence-cadastro-form .competence-cadastro-acoes button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 112px;
    min-height: 41px;
    margin: 0 !important;
    padding: 9px 19px !important;
    border: 0 !important;
    border-radius: 24px !important;
    box-shadow: none !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
    appearance: none;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease !important;
}

.competence-cadastro-wrap .competence-cadastro-form .competence-cadastro-acoes button[hidden] {
    display: none !important;
}

.competence-cadastro-wrap .competence-cadastro-form .competence-cadastro-voltar {
    color: #020202 !important;
    background: #e0e8f8 !important;
}

.competence-cadastro-wrap .competence-cadastro-form .competence-cadastro-continuar,
.competence-cadastro-wrap .competence-cadastro-form .competence-cadastro-enviar {
    color: #fff !important;
    background: #F5AE3C !important;
    background-color: #F5AE3C !important;
    background-image: none !important;
    opacity: 1;
}

.competence-cadastro-wrap .competence-cadastro-form .competence-cadastro-acoes button:hover,
.competence-cadastro-wrap .competence-cadastro-form .competence-cadastro-acoes button:focus {
    border: 0 !important;
    box-shadow: none !important;
    filter: brightness(0.96);
    outline: none;
    transform: translateY(-1px);
}

.competence-cadastro-wrap .competence-cadastro-form .competence-cadastro-acoes button:disabled {
    cursor: wait;
    opacity: 0.78;
    transform: none;
}

.competence-cadastro-wrap .competence-cadastro-form .competence-cadastro-acoes button.competence-cadastro-carregando {
    gap: 8px;
    color: #fff !important;
    background: #F5AE3C !important;
    background-color: #F5AE3C !important;
    background-image: none !important;
}

.competence-cadastro-wrap .competence-cadastro-form .competence-cadastro-acoes button.competence-cadastro-carregando::before {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    content: "";
    animation: competenceCadastroLoader 0.7s linear infinite;
}

@keyframes competenceCadastroLoader {
    to { transform: rotate(360deg); }
}

.competence-cadastro-ja-logado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 680px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border-radius: 10px;
}

.competence-cadastro-ja-logado a {
    color: #020202;
    font-weight: 700;
}

@media (max-width: 650px) {
    .competence-cadastro-wrap {
        padding: 4px;
    }

    .competence-cadastro-form {
        min-height: 0;
        padding: 22px 17px 18px;
    }

    .competence-cadastro-passos {
        padding: 10px 0 22px;
    }

    .competence-cadastro-passo {
        font-size: 12px;
    }

    .competence-cadastro-passo i {
        margin: 0 9px;
    }

    .competence-cadastro-etapa h2 {
        font-size: 23px;
    }

    .competence-cadastro-etapa > p:not(.competence-cadastro-termos) {
        font-size: 13px;
    }

    .competence-cadastro-grid,
    .competence-cadastro-grid.uma-coluna {
        grid-template-columns: 1fr;
    }

    .competence-cadastro-rodape {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .competence-cadastro-rodape > small {
        text-align: center;
    }

    .competence-cadastro-acoes {
        width: 100%;
    }

    .competence-cadastro-acoes button {
        flex: 1 1 50%;
        min-width: 0;
    }

    .competence-cadastro-termos {
        text-align: left;
    }
}
