.value>span.red::before {
    content: "\f062";
    font-family: FontAwesome;
    color: white;
    margin-right: 5px;
}

/* Estilos generales */
.value>span.red::before {
    content: "\f062";
    font-family: FontAwesome;
    color: white;
    margin-right: 5px;
}

.hero-form .field-rt {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.hero-form .field-rt i {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    width: 35px;
    height: 35px;
    font-size: 16px;
    color: #fff;
    background: #95BF39;
    border: 1px solid #4a81f1;
    border-radius: 5px 0 0 5px;
}



.hero-form .field-rt input[type=text],
.hero-form .field-rt input[type=number],
.hero-form .field-rt select {
    width: calc(100% - 35px);
    height: 40px;
    border: 1px solid #99999936;
    border-left: 0;
    font-size: 13px;
    font-weight: 400;
    padding: 0 8px;
    line-height: 1;
    appearance: none;
    color: #000;
    background: #fff;
    -webkit-appearance: none;
    border-radius: 0 5px 5px 0;
}

.hero-form .field-rt i {
    min-width: 35px;
    width: 30px;
    height: 40px;
    font-size: 14px;
    border: 1px solid #fff;
}

.hero-form .disclaimer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.hero-form .check {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    color: #000;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 15px;
    padding: 0;
    gap: 4px;
    cursor: pointer;
    text-align: left;
}

.hero-form .check input {
    margin-right: 8px;
    transform: translateY(-8px);
    height: 40px;
    min-width: 20px;
}

/* Estilos para la modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 50%;
    position: relative;
    /* overflow-y: auto; */
    overflow-y: none;
    -webkit-overflow-scrolling: touch;
    /* Para un desplazamiento suave en dispositivos iOS */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0921fc91;
    color: #fff;
    padding: 5px 10px;
    /* border-top-left-radius: 10px;
    border-top-right-radius: 10px; */
}

.modal-header h2 {
    margin: 0;
    padding: 5px 0;
    color: white;
    font-family: 'Figtree', sans-serif;
}

.close-modal {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
}

.modal-content {
    padding: 20px;
    max-height: calc(100vh - 100px);
    overflow: auto;
}

.modal-footer {
    /* background-color: #f5f5f5; */
    padding: 15px;
    text-align: right;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.btn-save,
.btn-close {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-save {
    background-color: #95BF39;
    color: #fff;
}

.btn-close {
    background-color: rgb(11 21 243 / 9%);
    color: #fff;
    margin-left: 10px;
}

.bg-red {
    background-color: rgba(202, 47, 8, 0.863);
}

.btn-save:hover,
.btn-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.modal-footer>button {
    min-width: 100px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
}

.error-message {
    color: red;
    font-size: 8px;
    display: none;
    margin-top: 1px;
}

.error {
    border: 1px solid red;
}

.modal-footer {
    text-align: right;
    margin-top: 2px;
}


/* Register */

nav+.panel-section {
    margin-top: 20px;
}

.panel-section {
    /* background-image: url(img/banner05.webp); */
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 80px;
    margin-top: 60px;
    background-position: center;
    width: 100%;
}

.panel-section section:nth-child(1) {
    padding: 20px 0;
    width: 100%;
}

.panel-section .more>a {
    background-color: white;
}

.panel-section .more>span {
    font-size: 14px;
}

.hero-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    border:1px solid #d3d3d369;
    gap: 0;
}

.text-center {
    text-align: center;
}

.panel-section section:nth-child(1) {
    padding: 20px 0;
    width: 100%;
}

.left-box{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #d3d3d369;
    gap: 0;
}

.left-box .more > a{
    background-color: #93e2ff52;
}

.hide {
    display: none !important;
}


@media only screen and (max-width: 425px) {
    .modal {
        width: 100%;
        max-height: 90vh;
        border-radius: 8px;
        overflow-y: auto;
    }
}


/* Media query para dispositivos móviles */
@media only screen and (max-width: 600px) {
    .modal {
        max-width: 99%;
        border-radius: 2px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-content {
        padding: 10px;
    }

    .modal-footer {
        padding: 10px;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        border-bottom-left-radius: initial;
        border-bottom-right-radius: initial;
        background-color: #0157ff;
    }

    .modal-footer .btn-close {
        display: none;
    }

    .btn-save,
    .btn-close {
        /* padding: 5px 10px; */
        font-size: 0.8rem;
        border-radius: initial;
        float: right;
    }

    .modal-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        background-color: #3369d6;
        border-top-left-radius: initial;
        border-top-right-radius: initial;
    }

    .panel-section section:nth-child(1) .col:nth-child(1) {
        display: none;
    }
    .panel-section {
        padding: 80px 5px;
    }
    .widget  {
        display: none;
    }
}

/* Tu CSS existente */

/* Media query para dispositivos con un ancho máximo de 767px (típicamente dispositivos móviles) */
@media (max-width: 767px) {
    .modal {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 2px;
        max-width: 99%;
    }

    .modal-content {
        max-height: calc(100vh - 100px);
    }

    .modal-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        border-bottom-left-radius: initial;
        border-bottom-right-radius: initial;
    }

    .modal-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        border-bottom-left-radius: initial;
        border-bottom-right-radius: initial;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1300px) {

    /* Estilos para el rango de anchos de ventana entre 600px y 1024px */
    /* Aquí puedes agregar tus estilos específicos */
    .cols {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .modal {
        max-width: 50vw;
    }
}

@media only screen and (min-width: 1000px) {

    /* Estilos para el rango de anchos de ventana entre 600px y 1024px */
    /* Aquí puedes agregar tus estilos específicos */
    .cols {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 5px;
    }

    .modal {
        max-width: 50vw;
    }
}




@media only screen and (min-width: 1301px) {
    .cols {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 5px;
    }

    .modal {
        max-width: 40vw;
    }

}


.hero-form .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
}