/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://postrecitosllc.com/
 Description:  Tema hijo de Hello Elementor para Postrecitos LLC
 Author:       Gerardo Trejo
 Author URI:   https://lawebdemonterrey.com
 Template:     hello-elementor
 Version:       1.0.0
 Text Domain:   hello-elementor-child
*/
body .lp-user-profile {
  background: #090C0F !important; /* Fondo muy oscuro */
  color: #C19977 !important; /* Color de texto */
  border-radius: 12px !important;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: 30px !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Ajustar títulos */
body .lp-user-profile h1, 
body .lp-user-profile h2, 
body .lp-user-profile h3, 
body .lp-user-profile h4, 
body .lp-user-profile h5, 
body .lp-user-profile h6 {
  color: #C19977 !important;
  font-family: 'Forum', 'Open Sans', sans-serif !important;
  margin-bottom: 20px !important;
  line-height: 1.3 !important;
}

body .lp-user-profile h1 {
  font-size: 36px !important;
  font-weight: 800 !important;
  text-align: center !important;
  font-family: 'Forum 150', 'Open Sans', sans-serif !important;
  padding: 20px 0 !important;
  border-bottom: 2px solid #4A5A6A !important;
}

body .lp-user-profile h2 {
  font-size: 38px !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #4A5A6A !important;
  padding-bottom: 10px !important;
  margin-top: 30px !important;
  color: #C19977 !important;
}

/* Ajustar cuerpo del texto */
body .lp-user-profile p, 
body .lp-user-profile span, 
body .lp-user-profile div, 
body .lp-user-profile li {
  color: #C19977 !important;
  transition: all 0.2s ease !important;
}

/* Ajustar cajas de contenido */
body .lp-user-profile .profile-section {
  background: #0E1317 !important; /* Fondo gris oscuro */
  border: 1px solid #2C3640 !important;
  border-radius: 10px !important;
  padding: 25px !important;
  margin-bottom: 25px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Ajustar botones */
body .lp-user-profile .button,
body .lp-user-profile .btn,
body .lp-user-profile .learn-press-button {
  background: #C19977 !important;
  color: #090C0F !important;
  border: none !important;
  padding: 12px 25px !important;
  border-radius: 6px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 10px rgba(193, 153, 119, 0.3) !important;
  text-decoration: none !important;
  display: inline-block !important;
}

body .lp-user-profile .button:hover,
body .lp-user-profile .btn:hover,
body .lp-user-profile .learn-press-button:hover {
  background: #A78665 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(193, 153, 119, 0.4) !important;
  color: #090C0F !important;
  text-decoration: none !important;
}

/* Ajustar el avatar */
body .lp-user-profile .avatar {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  border: 3px solid #C19977 !important;
  margin: 0 auto 25px !important;
  object-fit: cover !important;
  display: block !important;
}

/* SOLUCIÓN CRÍTICA PARA ICONOS */
/* Asegurar que los iconos se muestren correctamente */
body .lp-user-profile .statistic-box_icon {
  font-family: 'Font Awesome 5 Free' !important; /* Ajusta según tu fuente de iconos */
  font-weight: 900 !important; /* Ajusta según tu fuente de iconos */
  color: #C19977 !important;
  font-size: 24px !important;
  display: inline-block !important;
  margin-right: 15px !important;
  text-align: center !important;
  vertical-align: middle !important;
}

/* Si usas Font Awesome 6 */
body .lp-user-profile .statistic-box_icon::before {
  content: '' !important; /* Ajusta según el icono que necesites */
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
}

/* Ajustar para dispositivos móviles */
@media (max-width: 768px) {
  body .lp-user-profile {
    padding: 20px !important;
  }
  
  body .lp-user-profile h1 {
    font-size: 28px !important;
  }
  
  body .lp-user-profile h2 {
    font-size: 22px !important;
  }
  
  body .lp-user-profile p {
    font-size: 16px !important;
  }
}

/* Ajustar el contenedor del shortcode */
#elementor-123456789 { /* Reemplaza 123456789 con el ID real de tu sección */
  position: relative !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  background: #090C0F !important;
}

/* Cambiar color de los enlaces activos en la navegación del perfil */
.lp-user-profile .lp-profile-nav-tabs>li.active>a, 
.lp-user-profile .lp-profile-nav-tabs>li.active>a i {
    color: #C19977 !important; /* Cambiado de #fff a #C19977 */
}

/* Ajustar cuerpo del texto (sin forzar font-family para mantener iconos) */
body .lp-user-profile p, 
body .lp-user-profile span, 
body .lp-user-profile div, 
body .lp-user-profile li {
    color: #C19977 !important;
    line-height: 1.7 !important;
    transition: all 0.2s ease !important;
}

/* Cambiar fondo de las cajas de estadísticas */
.dashboard-statistic__row .statistic-box {
    padding: 20px;
    background: #0E1317; /* Cambiado de var(--lp-white-grey, #f7f7fb) a #0E1317 */
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: var(--lp-border-radius, 5px);
    width: calc((100% - 40px) / 3);
}

/* Cambiar tamaño de fuente del título en la página de cursos */
.lp-archive-courses .learn-press-courses-header h1 {
    margin: 0;
    font-size: calc(var(--lp-font-size-base, 2em) * 1.8); /* Cambiado de 1em a 2em */
}

/* Cambiar fondo del badge "course-featured" */
body .course-featured {
    padding: 4px 12px;
    border-radius: var(--lp-border-radius, 5px);
    background-color: #c19977; /* Cambiado de #090C0F a #c19977 */ !important;
    color: white;
    text-transform: uppercase;
    font-size: calc(var(--lp-font-size-base, 1em) * 0.86);
    font-weight: var(--lp-font-weight-link, 600);
    margin-bottom: 12px;
    display: inline-block;
}

/* Cambiar estilo del botón "Leer más" */
.learn-press-courses .course-content .course-readmore a {
    padding: 8px 24px;
    border-radius: var(--lp-border-radius, 5px);
    color: var(--lp-color-base, #fff); /* Cambiado a blanco */
    border: 0px solid var(--lp-color-base, #333); /* Comentado para eliminar el borde */
    transition: all .3s;
    display: block;
    background: #c19977; /* Cambiado a fondo rojizo */
    text-decoration: none;
    text-align: center;
}

/* Cambiar estilo del título del curso */
.lp-single-course__header .course-title {
    font-weight: 100; /* Cambiado de 700 a 100 */
    font-size: calc(var(--lp-font-size-base, 2em) * 1.8); /* Cambiado de 1em a 2em */
    margin: 0 0 0px 0; /* Cambiado de 24px a 0px */
}

/* Cambiar margen inferior del instructor y categoría */
.lp-single-course__header .course-instructor-category {
    display: flex;
    padding: 0;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 0px; /* Cambiado de 40px a 0px */
}

/* Cambiar fondo del encabezado de sección del currículo */
.lp-course-curriculum .course-section .course-section-header {
    background-color: var(--lp-white-grey, #c19977); /* Cambiado de #f7f7fb a #c19977 */
    padding: 20px;
    column-gap: 12px;
    display: flex;
    justify-content: space-between;
}

/* Agregar peso de fuente a los títulos de secciones */
.lp-single-course .lp-single-course-main__left .extra-box__title,
.lp-single-course .lp-single-course-main__left .course-faqs__title,
.lp-single-course .lp-single-course-main__left .course-material__title,
.lp-single-course .lp-single-course-main__left .lp-course-curriculum__title,
.lp-single-course .lp-single-course-main__left .comment-reply-title,
.lp-single-course .lp-single-course-main__left .section-title,
.lp-single-course .lp-single-course-main__left .item-title {
    margin: 0 0 20px 0;
    font-size: calc(var(--lp-font-size-base, 1em) * 1.6);
    font-weight: 700; /* Añadido */
}

/* Cambiar borde de botones */
[type=button], [type=submit], button {
    background-color: transparent;
    border: 0px solid #c36; /* Cambiado de 1px a 0px */
}

/* Cambiar tamaño de fuente del título en el popup */
#popup-header .course-title {
    margin: 0;
    padding: 0;
    font-size: var(--lp-font-size-base, 2em); /* Cambiado de 1em a 2em */
    letter-spacing: unset;
}

/* Cambiar estilo del título del curso en la lista */
.content-item-wrap .course-item-title {
    margin-top: 0;
    margin-bottom: 0px; /* Cambiado de 24px a 0px */
    font-size: calc(var(--lp-font-size-base, 1em) * 2.5); /* Cambiado de 1.8 a 2.5 */
    font-weight: 100; /* Cambiado de 700 a 100 */
    letter-spacing: 0px; /* Añadido */
}

/* Cambiar padding del contenedor */
.content-item-wrap {
    --lp-item-padding: 20px; /* Cambiado de 60px a 20px */
}

#popup-header {
    display: flex;
    position: fixed;
    z-index: 100;
    right: 0;
    left: 475px;
    padding: 0;
    border-bottom: 1px solid #d9e0f1;
    background: #c8a96b; /* Cambiado de var(--lp-secondary-color) a #c8a96b */
}
