.box {
    width: 100%;
    background-color: #d3d3d4;
    color: #000;
    font-weight: bold;
    padding: 0.375rem 0.75rem;
    position: relative;
    border-radius: 0.375rem;
    border: 1px solid #bcbebf;
}

.box.arrow-right:after {
    content: " ";
    position: absolute;
    right: -10px;
    top: 11px;
    /* transform: translateY(-50%); */
    border-top: 7px solid transparent;
    border-right: none;
    border-left: 10px solid #d3d3d4;
    border-bottom: 7px solid transparent;
}

.box.arrow-right:before {
    content: " ";
    position: absolute;
    right: -12px;
    top: 10px;
    /* transform: translateY(-50%); */
    border-top: 8px solid transparent;
    border-right: none;
    border-left: 12px solid #bcbebf;
    border-bottom: 8px solid transparent;
}


.mfp-close-btn-in .mfp-close {
    color: #fff;
}

.mfp-bg {
    background: rgba(00,00,00,0.3);
    backdrop-filter: blur(1.5em);
    z-index: 1081;
}

.mfp-wrap {
    z-index: 1082;
}

.white-popup {
    position: relative;
    background: #3D464D;
    width: auto;
    width: 77%;
    margin: 20px auto;
    border-radius: 5px;
}

.white-popup .form-label {
    position: initial;
    top: 30px;
    padding-left: 0;
    padding-right: 0;
    font-size: inherit;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: .025em;
    pointer-events: none;
    text-align: left;
    transition: .25s;
    transform: none;
    margin-bottom: 0.5rem;
}

.white-popup .form-label.focus {
        opacity: 1; 
}

.white-popup .label-form {
    color: white;
}

.white-popup .btn {
    border-radius: 0.375rem;
}

.white-popup .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.white-popup .btn-danger {
    background-color: #dc3545;
    border-radius: 0.375rem;
    color: white;
}

.white-popup .btn-info {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
    color: white;
}

.white-popup .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.white-popup .badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: initial;
    text-transform: initial;
}

.header-modal {
    width: 100%;
    border-radius: 5px 5px 0px 0px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0px 3px 6px #00000059;
}

.body-modal {
    padding: 1.5rem;
}

.footer-modal {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    border-radius: 0px 0px 5px 5px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0px -3px 6px #00000059;
}

.titulo {     
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 100px !important;
}

.titulo-a {
    font-size: 52px;
    margin-left: 5px;
}

.fuente-poppins {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    transform: scale(0.6);
}

.absoluto-title {
    bottom: 20%;
    left: 12%;
    z-index: 1;
}

/* Analisis de Suelos */

.shadow-inset {
    background: transparent !important;
    box-shadow: inset 0px 0px 10px #00000024;
}

.pasos-content {
    position: relative;
    display: flex;
    justify-content: center;
}

.pasos-content::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    height: 5px;
    width: 80%; /* Ancho inicial al 100% para la barra de fondo */
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 20px;
    transition: width 1s ease-in-out; /* Transición para animar el ancho */
}

.pasos-content::after {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    content: '';
    top: 50%;
    left: 10%;
    height: 5px;
    width: 0;
    transform: translateY(-50%);
    background-color: rgb(13, 110, 253);
    border-radius: 20px;
    transition: all 1s ease-in-out;
}

  /* Cuando se agrega la clase rellenar-barra, se llena la barra */
.pasos-content.mediollenar-barra::after {
    width: 40%;
    opacity: 1;
    visibility: visible;
}

.pasos-content.rellenar-barra::after {
    width: 80%;
    opacity: 1;
    visibility: visible;
}

.pasos {
    width: 70px;
    height: 70px;
    line-height: 45px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    z-index: 1;
    transition: 0.3s all;
}

.pasos:active {
    transform: scale(1.1);
}

.paso-title {
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgb(61, 70, 77);
    transition: 1s all ease-in-out;
}

.paso-title:hover {
    background: #07266ab8;
}

.pasos p {
    z-index: 2;
}

@media (max-width: 360px) {
    .absoluto-title {
        top: -9%;
        left: -19%;
        transform: scale(0.55);
    }
}

@media (max-width: 468px) {
    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    width: 65px;
    }

    .white-popup { width: 100%; }
}

@media (max-width: 500px) {
    .absoluto-title {
        top: -3%;
        left: -12%;
        transform: scale(0.6);
    }
    
    .box-icon-ruby-icon {
        font-size: 30px;
    }
    
    .box-icon-ruby-title {
        font-size: 15px;
    }
    
    .titulo {
        font-size: 34px !important;
    }
    
    .titulo-a {
        font-size: 34px;
    }
    
    .text-500 {
       font-size: 12px; 
    }
}

@media (max-width: 1234px) {
    .white-popup { width: 96%; } 
}