body {
    background-color: #f7f7f7;
}


.oval-alert {
    height: 18px;
    width: 18px;
    color: #ffffff;
    font-size: 11px;
    font-family: 'Cereal medium';
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 37px;
    right: -10px;
    position: absolute;
    background-color: #E61E4D;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

/* Estilo inicial del popup, oculto y posicionado fuera de la vista desde abajo */
.popup {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .6);
    z-index: 99999 !important;
    transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
}

/* Cuando el popup está abierto */
.popup.open {
    opacity: 1;
    visibility: visible;
}

/* Estilo del contenido del popup, inicialmente posicionado fuera de la vista desde abajo */
.popup .popup-content {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) translateY(100%);
    width: 500px;
    height: 550px;
    padding: 50px;
    background-color: #fff;
    border-radius: 20px;
    overflow: auto;
    backdrop-filter: blur(10px);
    transition: transform .3s ease-in-out;
    justify-content: center;
    text-align: left !important;
}

header {
    z-index: 5 !important;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    /* Elimina el borde azul */
    border: 2px solid #222222;
    /* Opcional: puedes añadir un borde personalizado */
}

/* Estilo del contenido del popup cuando está abierto */
.popup.open .popup-content {
    transform: translateX(-50%) translateY(50%);
    bottom: 50%;
}

/* Estilo del botón de cerrar */
.popup .popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #fff;
}



.oval-alert-mobile {
    height: 18px;
    width: 18px;
    color: #ffffff;
    font-size: 11px;
    font-family: 'Cereal medium';
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    right: -10px;
    position: absolute;
    background-color: #E61E4D;
    border-radius: 50%;
    border: 3px solid #ffffff;
}

select {
    width: 100% !important;
    height: 50px;
    background-color: #ffffff;
    border-radius: 5px;
    border: 2px solid #222222;
    padding: 0 10px;
    font-family: 'Cereal medium';
    font-size: 16px;
    color: #222222;
}

.panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.panel-item {
    flex: 1 1 calc(30% - 20px);
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid #D8D8D8;
    background-color: #ffffff;
    padding: 20px;
    min-height: 200px;
    font-family: 'Cereal medium';
    font-size: 15px;
    width: 25%;
    float: left;
    text-align: center;
}

.panel-item svg {
    margin-bottom: 15px;
}

.leads {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}




.container {
    max-width: none;
    margin: 0;
}


.lead-item-container {
    display: block;
    width: 100%;
    /* Asegúrate de que ocupe todo el ancho del contenedor padre */
    height: 100%;
    /* Asegúrate de que ocupe todo el alto del contenedor padre */
    box-sizing: border-box;
    /* Incluye el relleno y borde en el cálculo del ancho y alto total */
    z-index: 222;
}

.title-box {
    height: 80px;
    border: 3px solid #ffffff;
    width: calc(100% - 6px);
    border-radius: 10px 10px 0 0;
}

.accepted,
.accepted a {
    background-color: #70AF8D;
    color: #ffffff !important;
}

.rejected,
.rejected a {
    background-color: #E06C6C;
    color: #ffffff !important;

}

.pending,
.pending a {
    background-color: #ECECEC;
    color: #222222 !important;
}

.title-box img {
    border-radius: 50%;
    height: 45px;
    width: 45px;
    border: 3px solid #ffffff;
    float: left;
    margin: 14px 0 0 15px;
}

.title-box-about {
    font-size: 16px;
    font-family: 'Cereal medium';
    float: left;
    text-align: left;
    padding: 0 0 0 10px;
    margin: 18px 0 0 0;
}

.title-box-phone {
    font-size: 17px;
    font-family: 'Cereal medium';
    float: right;
    text-align: right;
    padding: 0 15px 0 0;
    margin: 28px 0 0 0;
}

.title-box-phone svg {
    margin-right: 5px;
}

.content-box {
    padding: 30px 0 10px 30px;
    text-align: left;
    font-family: 'Cereal book';
}

.content-box svg {
    margin-right: 5px;
}


.update-lead-form {
    width: 100%;
    background-color: #ffffff;
    padding: 0;
    box-shadow: unset !important;
    display: flex;
    flex-direction: column;
}

/* Contenedor principal */
.main-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.crm-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* Para que el título esté arriba */
    padding: 30px 5px;
}


.menu-left {
    min-width: 80px;
    background-color: #222222;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 200px;
}

.menu-left svg {
    margin-bottom: 40px;
}

@media screen and (max-width:1450px) {
    .menu-left {
        display: none;
    }
}

@media screen and (max-width:650px) {
    .menu-left {
        display: none;
    }

    .panel-item {
        flex: 1 1 calc(100%);
    }

    .lead-item {
        flex: 1 1 calc(100%);
    }

    .popup .popup-content {
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%) translateY(100%);
        width: 100%;
        height: 100vh;
        padding: 50px;
        padding-top: 200px;
        background-color: #fff;
        border-radius: 0;
        overflow: auto;
        backdrop-filter: blur(10px);
        transition: transform .3s ease-in-out;
        justify-content: center;
        text-align: left !important;
    }

    .popup .popup-close {
        position: absolute;
        top: 100px;
        right: 35px;
        background-color: transparent;
        border: none;
        font-size: 1.5em;
        cursor: pointer;
        color: #fff;
    }
}