.wizard {
    max-width: 620px;
    margin: 0 auto;
}
.wizard__header {
    position: relative;
    color: #fff;
    padding: 50px;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    text-align: center;
    height: 100px;
    background: url("http://cdn-image.travelandleisure.com/sites/default/files/styles/1600x1000/public/1444253482/DG2015-paris.jpg?itok=XH81cBH9");
    background-color: var(--bs-primary);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.wizard__header-content {
    position: absolute;
    width: 100%;
    padding: 0 50px;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
}
.wizard__header-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--bs-black);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.wizard__title {
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 0;
}
.wizard__subheading {
    text-transform: uppercase;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 100;
    letter-spacing: 2px;
}
.wizard__subheading span {
    font-weight: 600;
}
.wizard__steps {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(50%);
    z-index: 10;
}
.wizard__footer {
    padding: 0 50px 50px;
    border-radius: 5px;
}
.wizard__content {
    background: var(--bs-light-dark);
    /*box-shadow: 0px 0px 5px #c5c5c5;*/
    border-radius: var(--bs-border-radius-lg);
}
.wizard__congrats-message {
    color: var(--bs-black);
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}
/*.wizard.completed .wizard__content {
    animation: gettingOut 2s cubic-bezier(1, -0.71, 1, 1.16) forwards;
}
.wizard.completed .wizard__congrats-message {
    animation: fadeIn 2s cubic-bezier(1, -0.71, 1, 1.16) forwards;
}*/

.linea {
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: -1;
    height: 6px;
    transition: all 0.5s ease;
}
.linea.-start {
    left: 0%;
    background: var(--bs-primary);
    width: 50%;
}
.linea.-end {
    left: 50%;
    background: var(--bs-primary);
    width: 50%;
}
.linea.-background {
    background: #c3c3c3;
    width: 100%;
}
.linea.-progress {
    background: var(--bs-primary);
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
}
.linea.-in-progress {
    transform: scaleX(1);
}

.panels {
    position: relative;
    overflow: hidden;
}

.panel {
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s all;
    padding: 50px;
}
.panel__header {
    margin-bottom: 30px;
}
.panel__title {
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 0;
}
.panel__subheading {
    font-size: 0.9rem;
    line-height: 1.2rem;
    margin: 0;
}
.panel.movingOutBackward {
    transform: translateX(-620px);
}
.panel.movingOutFoward {
    transform: translateX(620px);
}
.panel.movingIn {
    transform: translateX(0);
}

.steps {
    position: relative;
    display: flex;
    flex: 0 1 auto;
    color: #fff;
}

.step {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    border-radius: 5px;
}
.step__content {
    position: relative;
    z-index: 2;
}
.step__number {
    font-size: 1.3rem;
    color: #676767;
    background: #fff;
    font-weight: 800;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 50%;
    border: 5px solid #c3c3c3;
    transition: opacity 0.5s;
    opacity: 1;
    z-index: 5;

    /* Flexbox properties */
    display: flex;
    align-items: center;
    justify-content: center;
}

.step.-completed .step__number {
    opacity: 0;
}
.step.-completed .checkmark {
    z-index: 0;
    animation: fill 0.4s ease-in-out forwards, scale 0.3s ease-in-out 0.6s both;
}
.step.-completed .checkmark__check {
    animation: stroke 0.5s linear 0.4s forwards;
}
.step.-completed .linea {
    transform: scaleX(1);
}
.step:last-child .linea {
    width: 50%;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #75b2f5;
    z-index: -1;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 8;
    stroke-miterlimit: 10;
    stroke: var(--bs-primary);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    stroke: #fff;
    stroke-width: 5;
}

.button {
    cursor: pointer;
    font-size: 1rem;
    line-height: 1rem;
    background: var(--bs-primary);
    color: #fff;
    padding: 10px 15px;
    border: none;
    outline: none;
    display: inline-block;
    transition: all 0.3s;
}
.button:hover {
    background: #7baee6;
}
.button.previous {
    margin-right: 5px;
}
.button.disabled {
    background: #c3c3c3;
    cursor: default;
}

@keyframes stroke {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes scale {
    50% {
        transform: translateX(-50%) scale3d(1.5, 1.5, 1.5);
    }
    100% {
        transform: scale3d(0);
    }
}
@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px var(--bs-primary);
    }
}
@keyframes gettingOut {
    0% {
        transform: translateY(0%);
    }
    30% {
        transform: translateY(100px);
    }
    100% {
        transform: translateY(-200%);
    }
}
@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}


.custom-tooltip {
    --bs-tooltip-bg: var(--bs-info);
    --bs-tooltip-color: var(--bs-black);
}


.blinking-button {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.blinking-icon {
    animation: blinkIcon 3s infinite;
}

@keyframes blinkIcon {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}



.glow-pulse-button {
    padding: 10px 20px;
    font-size: 16px;
    /*background-color: #9E011D;*/
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 20px #9E011D;
    animation: glowPulse 1.5s infinite alternate;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 10px #9E011D, 0 0 20px #9E011D;
    }
    100% {
        box-shadow: 0 0 30px #9E011D, 0 0 60px #9E011D;
    }
}

.responsive-text-sm {
    display: block;
}
.responsive-text-md {
    display: none;
}

.mascota-image {
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 300px; /* Tamaño por defecto para pantallas grandes */
}
.mascota-image-modal {
    position: absolute;
    bottom: -50px;
    right: 0;
    transform: scaleX(-1);
    width: 210px; /* Tamaño por defecto para pantallas grandes */
}

@media (max-width: 1800px) {
    .mascota-image {
        width: 280px; /* Tamaño ajustado para laptops y desktops medianos */
        right: -10px;
        z-index: 9;
    }
    .mascota-image-modal {
        width: 210px; /* Tamaño ajustado para laptops y desktops medianos */
        right: -10px;
        bottom: -50px;
        z-index: 9;
    }
    p.lead {
        font-size: 20px;
        line-height: 1.4;
    }
}

/* Tablets grandes como iPad en modo horizontal */
@media (max-width: 1024px) {
    .mascota-image {
        width: 250px; /* Ajustado para tablets grandes */
        right: -5px;
        z-index: 9;
    }
    .mascota-image-modal {
        width: 200px; /* Tamaño ajustado para laptops y desktops medianos */
        right: -10px;
        bottom: -50px;
        top: 0;
        z-index: 9;
    }
    p.lead {
        font-size: 20px;
        line-height: 1.4;
    }
}
@media (max-width: 820px) and (min-width: 769px) {
    .mascota-image {
        width: 300px; /* Ajuste para pantallas de 820px */
        right: 0;
    }
    p.lead {
        font-size: 16px; /* Ajuste específico para pantallas de 820px */
        line-height: 1.4;
    }
}

/* Tablets pequeños o iPad en modo vertical */
@media (max-width: 768px) {
    .mascota-image {
        width: 240px; /* Ajustado para tablets pequeños */
        right: -10px;
    }
    p.lead {
        font-size: 17px;
        line-height: 1.4;
    }
    .responsive-text-sm {
        display: none;
    }
    .responsive-text-md {
        display: block;
    }
}

/* Smartphones grandes (como iPhone Plus o teléfonos grandes) */
@media (max-width: 600px) {
    .mascota-image {
        width: 200px; /* Ajustado para smartphones grandes */
        right: -10px;
    }
    p.lead {
        font-size: 13px;
        line-height: 1.4;
    }
    .responsive-text-sm {
        display: block;
    }
    .responsive-text-md {
        display: none;
    }
}

/* Smartphones pequeños */
@media (max-width: 480px) {
    .mascota-image {
        width: 150px;
        right: 0;
    }
}
