/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #495057;
}

.navbar-brand {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    text-align: center;
    margin: 10px auto;
    border-bottom: solid 1px #EEEEEE;
}


.container {
    margin: 55px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container-steps {
    margin: 20px;
}

.header h5 {
    color: #888;
    margin-bottom: 10px;
}

.header h2 {
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.btn-primary {
    background-color: #01A79B;
    border-color: #17a2b8;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-continue {
    padding: 15px 80px;
}

.btn-continue:hover {
    background-color: #017D74;
    color: #fff;
}

.btn-voltar {
    padding: 15px 80px;
    margin-left: 20px;
}

.btn-continue:hover {
    color: #fff;
}

.campo-obrigatorio {
    color: #F03E3E;
    font-weight: bold;
    margin-left: 2px;
}

.plano {
    border: #DEE2E6 solid 1px;
    padding: 20px;
    height: 100%;
}

/* Personalizar borda para feedback visual */
.is-valid {
    border-color: #28a745 !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}



/* Estilos para o fluxo de etapas */
.step {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Estilos dos indicadores de passos */
.steps-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step-indicator {
    width: 24%;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    background-color: #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.step-indicator.active {
    background-color: #01A79B;
    color: #fff;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}


.step-indicator:last-child::before {
    width: 50%;
}

.step-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    font-weight: bold;
}

.step-indicator.completed .step-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml,<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.4997 15.1709L19.6921 5.97852L21.1063 7.39273L10.4997 17.9993L4.13574 11.6354L5.54996 10.2212L10.4997 15.1709Z" fill="white"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 16px;
    display: block;
}

.step-indicator.completed .step-icon {
    background: #01A79B;
    color: white;
}

/* .step-indicator.active .step-icon {
    background-color: #2297a0;
    color: white;
} */

.step-indicator.active .step-icon {
    background-color: #fff;
    color: #01a79b;
}


.step-indicator.completed .step-text,
.step-indicator.active .step-text {
    font-weight: bold;
}


.step-indicator.active::before {
    background-color: #01A79B;
}

.step-indicator.active~.step-indicator::before {
    background-color: #ccc;
}

.step-indicator.disabled {
    pointer-events: none;
}

.step-indicator.disabled .step-icon,
.step-indicator.disabled .step-text {
    text-decoration: none;
    border-bottom: none;
}

/* Não aplicar opacidade ao último step */
.step-indicator.completed:not(:last-child).disabled {
    opacity: 0.5;
}

.btn-primary:disabled {
    background-color: #017D74;
}

.card-brand-icon {
    position: absolute;
    right: 10px;
    top: 75%;
    transform: translateY(-50%);
    height: 15px;
    /* Ajuste a altura conforme necessário */
    width: auto;
}

.final-message {
    /* font-weight: 400; */
    color: #495057;
    font-size: 18px;
    line-height: 2;
    justify-content: start;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: justify;
    gap: 1rem;
}


/*MODAL PRODUTOS*/
#novoCadastroModal {
    padding: 0 !important;
}

#novoCadastroModal .modal-dialog {
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
}

#novoCadastroModal .modal-dialog .modal-content {
    min-height: 100vh;
}

#novoCadastroModal .modal-dialog .modal-content .container {
    margin: auto;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

#novoCadastroModal .modal-dialog .modal-content .modal-footer,
#novoCadastroModal .modal-dialog .modal-content .modal-header {
    border: none;
}

#novoCadastroModal .modal-dialog .modal-content .modal-header h1 {
    font-family: 'Lato', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #495057;
    text-align: center;
}

p.text-inciar-cadastro {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    text-align: center;
    color: #495057;
}

.box-produtos-play {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 8px;
    border: 1px solid #b8bdc1;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: calc(100% - 60px);
    margin: 30px 0;    
    padding: 0;
}

.box-produtos-play h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 48px;
    text-align: center;
    color: #01A79B;
    padding: 0 16px;
}

.box-produtos-play p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    text-align: left;
    color: #495057;    
    padding: 0 16px 16px;
}

.btn-iniciar-cadastro {
    width: 326px;
    max-width: 100%;
    padding: 16px 24px 16px 24px;
    border-radius: 8px;
    margin: 0 auto;
    background-color: #6D4598;
    display: block;
    text-align: center;
    color: #fff !important;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

/* Responsividade */
@media (max-width: 576px) {
    .container {
        padding: 15px;
    }

    .header h2 {
        font-size: 24px;
    }

    .btn {
        width: 100%;
    }

    .steps-nav {
        display: none;
    }
}

@media(max-width:768px) {

    button.btn.btn-secondary.btn-block.btn-voltar {
        margin: 0 0 16px;
        margin-top: 10px;
    }
}