:root {
    --color-primary: #ac87bd;
    --color-primary-dark: #9b7dad;
    --color-danger: #F95F53;
    --color-danger-dark: #E0544A;
    --color-success: #57BD9C;
    --color-success-dark: #2CA880;
    --color-dark: #000;
    --color-dark-gray: #3C3D40;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.width-50 {
    width: 50%;
}

.ml-auto {
    margin-left: auto;
}

.text-center {
    text-align: center;
}

/* Progressbar */
.progressbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    counter-reset: step;
    margin: 2rem 0 4rem;
}

.progressbar::before,
.progress {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #ccc;
}

.progress {
    background-color: var(--color-primary);
    width: 0%;
    transition: 0.3s;
}

.progress-step {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: #fff;
    z-index: 1;
}

.progress-step::before {
    counter-increment: step;
    content: counter(step);
}

.progress-step::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 0.5rem);
    font-size: 0.85rem;
    color: #666;
}

.progress-step-active {
    background-color: var(--color-primary);
    color: #fff;
}

/* Form */
.form {
    width: 80%;
    margin: 0 10%;
}

.form-step {
    display: none;
    transform-origin: top;
    /* animation: animate 0.5s; */
}

.form-step-active {
    display: block;
}

@keyframes animate {
    from {
        transform: scale(1, 0);
        opacity: 0;
    }

    to {
        transform: scale(1, 1);
        opacity: 1;
    }
}

/* Button */
.btns-group {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-steps,
.btn-save {
    width: auto;
    padding: 10px 24px;
    margin: 20px;
    font-size: 14px;
    display: block;
    text-decoration: none;
    background-color: var(--color-primary);
    color: #fff;
    text-align: center;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

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

.btn-tipo-registro {
    border: none;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    width: 100%;
    margin: 20px 0;
}

.btn-tipo-registro input[type=radio] {
    display: none;
}

.btn-tipo-registro input[type=radio]:checked+label {
    border: 2px solid #dfad51;
}

.btn-tipo-registro label {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
    border: 2px solid transparent;
}

.btn-tipo-registro label:hover {
    border: 2px solid #dfad51;
    opacity: 0.8;
    cursor: pointer;
}

.btn-tipo-registro img {
    width: auto;
    height: 100px;
}

.btn-tipo-registro h2 {
    font-size: 20px;
    text-transform: uppercase;
    background-color: #dfad51;
    color: #fff;
    padding: 10px 20px;
}


/***************** INPUT CHECKBOX *********************/
.form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.form-subtitle {
    font-size: 18px;
    font-weight: 700;
    margin: 16px;
}

.content-chekbox {
    position: relative;
}

.content-chekbox h3 {
    font-size: 16px;
    margin-left: 30px;
}

.content-chekbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    left: 10px;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: transparent;
    border: 2px solid #eee;
    border-radius: 5px;
    margin-right: 10px;
}

.content-chekbox input[type="checkbox"]:checked+.checkmark {
    border: 2px solid var(--color-primary);
}

.content-chekbox input[type="checkbox"]:checked+.checkmark::after {
    content: "✔";
    font-size: 14px;
    color: var(--color-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.content-chekbox input[type="radio"]:checked~.checkmark {
    border: 2px solid var(--color-primary);
}
