*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    height: 100%;
}

body{
    font-family: "Poppins", sans-serif;
    
}

/**LOGIN**/

.body-login{
    background-color: rgba(219, 99, 0, 1);
    background-image: url('../assets/img/grid\ blocks.png');
    background-size:auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-login{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(249, 250, 251, 1);
    padding: 100px 50px;
    border-radius: 24px;
    gap: 80px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

.div-login{
    color: rgba(184, 67, 0, 1);
}

.div-login h1{
    font-weight: 400;
    font-size: 48px;
}

.div-login p{
    font-size: 20px;
}


.auth-form{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.auth-form div{
    display: flex;
    flex-direction: column;
}

.auth-form div label{
    font-size: 12px;
    color: rgba(156, 163, 175, 1);
}

.auth-form div input{
    padding: 5px 0px;
    border: none;
    border-bottom: 1px solid rgba(156, 163, 175, 1);
}

.auth-form div input:focus {
  outline: none;
}

.btn-primary{
    background-color: rgba(219, 99, 0, 1);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 99px;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
}


/**INICIO**/

.wrapper{
    display: flex;
    height: 100%;
}

.wrapper aside{
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(249, 250, 251, 1);
    box-shadow: 1px 0 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;

}

.menu-options{
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    border-bottom: solid 1px rgba(209, 213, 219, 1);
    border-top: solid 1px rgba(209, 213, 219, 1);
}

.div-user{
    display: flex;
    align-items: center;
    gap: 10px;
}

.div-user p{
    font-size: 16px;
    color: rgba(107, 114, 128, 1);
    width: max-content;
}

.div-user h3{
    font-size: 18px;
    font-weight: 500;
    color: rgba(219, 99, 0, 1);
}

.nav-list ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-list ul li{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(107, 114, 128, 1);
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.li-nav img{
    transition: all 0.2s ease;
}

.li-nav.select{
    background-color: #eef2ff;
    border-radius: 99px;
    color: rgba(219, 99, 0, 1);
}

.li-nav img:first-child{
    display: none;
}

.li-nav.select img:first-child{
    display: block;
}

.li-nav.select img:last-child{
    display: none;
}

.img-ajuste{
    width: 16px;
    height: 16px;
}

.icon{
    display: none;
}

.div-cerrar-sesion{
    padding: 0 30px;
}

.div-cerrar-sesion button{
    width: 100%;
    border: none;
    border-radius: 99px;
    background-color: rgba(255, 180, 71, 1);
    color: white;
    font-size: 18px;
    font-weight: 500px;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.div-cerrar-sesion button:hover{
    background-color: rgba(219, 99, 0, 1);
}


.wrapper main{
    background-color: rgb(244, 244, 247);
    width: 100%;
}

header{
    padding: 32px 24px;
    border-bottom: solid 2px rgb(228, 230, 233);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header button{
    background-color: rgba(219, 99, 0, 1);
    color: white;
    border-radius: 99px;
    padding: 12px 24px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

header button:hover{
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

header div h1{
    color: rgba(246, 132, 18, 1);
    font-size: 40px;
    font-weight: 400;
}

header div p{
    color: rgba(246, 132, 18, 1);
    font-size: 20px;
}

.section-principal{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    padding-bottom: 24px;
}

.btns-mail-camp{
    padding: 24px 0;
    display: flex;
    width: 100%;
    gap: 24px;
}

.btns-mail-camp p{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 24px 16px;
    gap: 10px;
    border: solid 1px rgba(156, 163, 175, 1);
    border-radius: 16px;
    color: rgba(55, 65, 81, 1);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.4s ease-in;
}

.btns-mail-camp p:hover{
    background-color: #eef2ff;
}

.content-inicio{
    padding: 24px;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 8px;
}


.selects{
    display: flex;
    gap: 10px;
}

.selects select{
    padding: 16px;
    width: 180px;
    color: grey;
    border-color: grey;
    border-radius: 5px;
    font-size: 1rem;
}

.campañas-inicio{
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.div-contenedor-info{
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
}

.modal-options{
    position: absolute;
    display: flex;
    flex-direction: column;
    right: -4%;
    top: 60%;   
    align-items:flex-start;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 1);
    padding: 8px 0;
}

.modal-options.invisible{
    display: none;
}

.modal-options button{
    color: rgba(107, 114, 128, 1);
    padding: 8px 12px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    border: none;
    background-color: transparent;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-options button:hover{
    background-color: rgb(244, 244, 247);
}


.modal-options button:nth-child(1){
    border-bottom: solid 1px rgba(209, 213, 219, 1);
}

.btn-options{
    border: none;
    background-color: transparent;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.btn-options{
    background-color:rgb(244, 244, 247);
    cursor: pointer;
}

.card{
    display: flex;
    gap: 16px;
    width: 100%;
    padding: 16px;
    border: solid 1px rgba(156, 163, 175, 1);
    border-radius: 16px;
}

.card .img-card{
    width: 96px;
    height: 96px;
}

.card-div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.card-div p{
    font-size: 20px;
    font-weight: 400;
    color: rgba(17, 24, 39, 1);
}

.card-info{
    display: flex;
    align-items: center;
    gap: 15px;
}


.card-info .tag-publicado, .card-info button{
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 8px;
}

.card-info .tag-publicado{
    color: white;
    background-color: rgba(219, 99, 0, 1);
}

.card-info button{
    color: rgba(202, 83, 0, 1);
    border: solid 1px rgba(202, 83, 0, 1);
    background-color: transparent;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
}

.card-info p{
    font-size: 12px;
}


/**CODIGO EMAIL**/
.main.invisible{
    display: none;

}

.section-codigo-email.invisible{
    display: none;
}

.section-contactos.invisible{
    display: none;
}

.section-codigo-email{
    width: 100%;
    position: relative;
}

.header-codigo{
    display: flex;
    padding: 24px;
    background-color: rgba(246, 132, 18, 1);
    color: white;
    justify-content: space-between;
    align-items: center;
}

.header-codigo h2{
    font-size: 20px;
    font-weight: 400;
}

.header-codigo button{
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.iframe.invisible{
    display: none;
}

.contenedor-codigo{
    padding: 24px;
    width: 100%;
}

.btns-codigo{
    display: flex;
    gap: 5px;
    border: 1px solid rgba(156, 163, 175, 1);
    width: max-content;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.btns-codigo button{
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    color: white;
    cursor: pointer;
}

.btn-editar{
    background-color: rgba(55, 65, 81, 1);
}

.btn-previsualizar{
    background-color: rgba(156, 163, 175, 1);
}

.nombre-email-div{
    color: rgba(107, 114, 128, 1);
    padding: 24px;
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

.nombre-email-div input{
    margin-left: 5px;
    padding: 5px;
    border: solid 1px rgba(156, 163, 175, 1);
    border-radius: 8px;
    width: 40%;
}


.CodeMirror{
    font-size: 16px !important;
}

.editor-container.invisible{
    display: none;
}

.iframe{
    width: 700px;
    height: 100vh;
}

.btns-enviar-guardar{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.btns-enviar-guardar button{
    cursor: pointer;
    background-color: rgba(255, 148, 32, 1);
    color: rgba(249, 250, 251, 1);
    padding: 10px 18px;
    font-size: 16px;
    border: none;
    border-radius: 99px;
    transition: all 0.3s ease;
}

.btns-enviar-guardar button:hover{
    background-color: rgba(219, 99, 0, 1);
}


.CodeMirror pre.CodeMirror-line, .CodeMirror pre.CodeMirror-line-like{
    padding: 0px 30px;
}


.modal-enviar.invisible{
    display: none;
}

.modal-enviar{
    position: absolute;

    width: 70%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.cabecera-modal{
    background-color: rgba(246, 132, 18, 1);
    padding: 20px;
    border-radius: 16px 16px 0px 0px;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cabecera-modal button{
    background-color: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.form-enviar-mail{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}



.info-remit p:first-child{
    color: #5e5d5d;
    font-size: 16px;
    padding-bottom: 5px;
}

.info-remit p:last-child{
    border: .5px solid #5e5d5d;
    width: max-content;
    padding: 3px 10px;
    border-radius: 15px;
}

.div-asunto{
    padding-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.div-asunto label{
    color: #5e5d5d;
    font-size: 16px;
}

.div-asunto input{
    width: 80%;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px solid #5e5d5d;
}

.info-dest{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-dest p{
    color: #5e5d5d;
}

.contenedor-dest{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);   
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 150px;
    overflow: scroll;
}

.contenedor-dest div{
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-enviar-mail button{
    padding: 10px;
    width: 50%;
    margin: auto auto;
    background-color: rgba(246, 132, 18, 1);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
}

/**SECCION CONTACTOS**/
.section-contactos{
    width: 100%;
    background-color: rgb(244, 244, 247);
    position: relative;
}

.contactos-content{
    padding: 32px 24px;
}

.buscar-agregar{
    display: flex;
    justify-content: space-between;
}

.buscar-agregar input{
    width: 40%;
    padding: 10px;
    border: 1px solid gray;
    border-radius: 32px;
}

.buscar-agregar button{
    color: white;
    background-color: rgba(219, 99, 0, 1);
    padding: 12px 24px;
    border-radius: 99px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.info-grupos{
    margin-top: 32px;
    background-color: rgba(255, 255, 255, 1);
    padding: 12px 0;
}

.grupo-email{
    display: flex;
    gap: 20px;
    border-bottom: solid 1px rgb(213, 214, 218);
    padding: 0 24px;
    padding-bottom: 12px;

}

.grupo-email p{
    width: 25%;
    font-weight: 500;
}

.card-grupo{
    display: flex;
    padding: 24px 24px;
    border-bottom: solid 1px rgb(213, 214, 218);
    justify-content: space-between;
    align-items: center;
}

.card-grupo p{
    
    font-size: 14px;

}

.direccion-emails{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

}

.direccion-emails.verMas{
    flex-direction: column;
    align-items: flex-start;
    width: 70%;
}

.divPvermas{
    display: flex;
    justify-content: space-between;
    gap: 0px;
    width: 70%;
}

.divPvermas p{
    display: flex;
    width: 100%;
    color: rgba(0, 0, 0, 0.842);
}






.direccion-emails p{
    font-size: 15px;
}

.btn-verMas{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;

}

.btn-verMas span{
    background-color: rgba(246, 132, 18, 1);
    color: white;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 100%;
}

.btn-verMas button{
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.modal-contactos{
    position: absolute;
    width: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.modal-contactos form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
}

.modal-contactos.invisible{
    display: none;
}

.modal-contactos form button{
    background-color: rgba(219, 99, 0, 1);
    color: white;
    border: none;
    font-size: 16px;
    border-radius: 99px;
    padding: 12px 24px;
    cursor: pointer;

}