/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Variables de color */
:root {
  --color-primary: #f25e18;
  --color-primary-dark: #d94e0f;
  --color-light: #ffffff;
  --color-dark: #333333;
  --color-muted: #888888;
  --color-bg: #f4f4f4;
  --transition-speed: 0.3s;
  --font-main: 'Segoe UI', sans-serif;
}
.fav-icon {
  width: 18px;
  height: 18px;
  margin-left: 6px;
  vertical-align: middle;
}
.result-card {
  position: relative;
}
/* /css/stylein.css - Añadir al final del archivo */


.cookie-consent-banner{
    display: flex;
    background: #000000c7;
    width: 100%;
    position: fixed;
    color: aliceblue;
    padding: 1em;
    align-items: center;
    bottom: 0px;
    z-index: 9999;
}

.cookie-consent-banner p, h1, h2, h3, h4, h5, h6{
    
    color: #fff;
    
}


.btn-consent{
  width: 40%;
  margin: 1em;
    background-color: var(--prodi-orange);
    color: var(--prodi-white);
    padding: 10px 23px;
    border-radius: var(--border-radius-btn);
    font-weight: 700;
    text-transform: uppercase;
    background-color: #ff5e37;

}

.result-card {
  background-color: #ffffff;
  border-radius: 16px; /* Bordes más redondeados */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Sombra más suave y pronunciada */
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0; /* Borde sutil */
}

.result-card:hover {
  transform: translateY(-5px); /* Efecto de elevación al pasar el mouse */
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.result-card img {
  width: 100%;
  height: 180px; /* Un poco más de altura para la imagen */
  object-fit: cover;
  border-radius: 12px; /* Bordes redondeados para la imagen */
  margin-bottom: 5px;
}

.result-title {
  font-size: 1.1rem; /* Ligeramente más grande */
  font-weight: 700; /* Más grueso */
  color: #222;
  display: flex;
  justify-content: space-between; /* Alinea el corazón a la derecha */
  align-items: center;
}

.result-info {
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Estilo para el ícono de ubicación */
.result-info .fa-map-marker-alt {
  color: var(--color-primary);
}

.result-card .rating-stars {
  color: #f5b301; /* Color dorado para las estrellas */
  font-weight: bold;
}

.far-away-tag {
    background-color: #fff3cd;
    color: #856404;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: auto; /* Empuja la etiqueta a la derecha */
}
/* En stylein.css o stylepr.css */
.favorite-button {
    background-color: #f0f0f0; /* Fondo gris claro por defecto */
    color: #555;
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 25px; /* Botón redondeado */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex; /* Para alinear icono y texto */
    align-items: center;
    gap: 5px;
    margin-left: auto; /* Para moverlo a la derecha en el header del modal */
}

.favorite-button:hover {
    background-color: #e0e0e0;
}

.favorite-button.active {
    background-color: #000; /* Color de tu marca cuando está activo */
    color: white;
    border-color: #000;
}

.favorite-button.active .favorite-icon {
    color: white; /* Corazón blanco cuando el botón está activo */
}

.favorite-icon {
    font-size: 1.2em; /* Tamaño del corazón */
    color: #ff0000; /* Color del corazón por defecto */
    transition: color 0.3s ease;
}

.profile-progress-container {
  max-width: 400px;
  margin: 20px auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.favorite-symbol {
    font-size: 1.2em; /* Tamaño del corazón */
    margin-left: 8px; /* Espacio a la izquierda del nombre */
    vertical-align: middle;
    cursor: default; /* No será clicable aquí, solo indicativo */
}

.fav-icon-active {
    color: #ff0000; /* Color para favorito (rojo) */
}

.fav-icon-inactive {
    color: #ccc; /* Color para no favorito (gris) */
}

.profile-progress-label {
  text-align: center;
  font-size: 16px;
  margin-bottom: 6px;
  color: #333;
}

.profile-progress-bar {
  width: 100%;
  background: #eee;
  border-radius: 30px;
  height: 24px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.profile-progress-fill {
  height: 100%;
  color: white;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
  border-radius: 30px 0 0 30px;
  transition: width 0.7s ease-in-out, background-color 0.4s;
}



.star-rating {
  font-size: 24px;
  cursor: pointer;
  margin-bottom: 10px;
}
.star-rating .star {
  color: #ccc;
  margin: 0 5px;
}
.star-rating .star {
  transition: color 0.2s;
}
.star-rating .star:hover,
.star-rating .star:hover ~ .star {
  color: #ff9c40;
}

html, body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-dark);
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.settings-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.section-title {
  font-size: 2em;
  margin-bottom: 5px;
}

.section-description {
  font-size: 1em;
  color: #777;
  margin-bottom: 30px;
}

.settings-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.settings-card h3 {
  margin-top: 0;
}

.btn-settings {
  background-color: #f25e18;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  margin-top: 10px;
}

.settings-disabled {
  opacity: 0.6;
}

.btn-disabled {
  background-color: gray;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
}

.logout-section {
  text-align: center;
  margin-top: 40px;
}

.btn-logout {
  background-color: #222;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}



.sidebar-nav ul {
  list-style: none;      /* Quita los círculos */
  padding-left: 0;       /* Elimina sangría por defecto */
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 10px;   /* Espaciado entre enlaces */
}

.sidebar-nav a {
  text-decoration: none;
  color: #000;           /* Cambia según tu diseño */
  font-weight: 500;
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
}

.sidebar-nav a:hover {
  background-color: #f25e18;  /* Color al pasar el mouse */
  color: white;
}

.category-dropdown {
  width: 100%;
  max-width: 350px;
  font-size: 16px; /* Mínimo 16px para evitar zoom automático en iOS */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  appearance: none; /* Oculta flecha nativa en algunos navegadores */
  -webkit-appearance: none;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


.category-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
  margin: 10px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease;
}

.category-button img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 8px;
}

.category-button span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.category-button:hover {
  transform: scale(1.05);
}



.scroll-buttons-container {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 10px 0; /* ✅ NO usar padding horizontal */
  margin: 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

.scroll-buttons-container::-webkit-scrollbar {
  display: none; /* Chrome */
}

.scroll-img-btn {
  flex: 0 0 auto;
  text-align: center;
  cursor: pointer;
  padding: 5px;
  border-radius: 45px;
  background: #f9f9f9;
  transition: transform 0.2s ease, background 0.2s ease;
  
}

.scroll-img-btn:hover {
  background: #ff5e37;
  transform: scale(1.05);
  color: #fff;
}

.scroll-img-btn img {
  
  height: 23em;
  object-fit: contain;
  margin-bottom: 5px;
}

.scroll-img-btn span {
  display: block;
  font-size: 13px;
  color: #333;
  font-weight: 500;
}



.no-results {
    color: #636363;
    font-family: system-ui;
    font-size: 21px;
    font-weight: 600;
    line-height: 2;
    text-align: center;

    }
.custom-hr {
   background-color: #e1e1e1;
    border: none;
    height: 1px;
    margin-top: 1em;
    margin-bottom: 2em;
}


/* Header */
.header-bar {
  background-color: var(--color-primary);
  padding: 20px;
  text-align: center;
  color: var(--color-light);
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.modal-content {
  background: #fff;
  color: #333;
  border-radius: 10px;
  padding: 20px;
  width: 95%;
  max-width: 600px;
  animation: fadeIn 0.3s ease;
  margin-top: auto;
  margin-bottom: auto;
}
.close-button {
      float: right;
    font-size: 26px;
    cursor: pointer;
    background: red;
    color: aliceblue;
    width: auto;
    height: auto;
    position: fixed;
    z-index: 99;
    padding: 11px;
    margin-top: -10px;
}
.profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}
.modal-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.bio {
  font-size: 14px;
  margin-bottom: 15px;
}
.skill-badges span {
  display: inline-block;
    background: #ffdfd1;
    color: #6f6f6f;
    padding: 4px 8px;
    border-radius: 12px;
    margin: 2px;
    font-size: 12px;
}
.gallery img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  margin: 5px;
  border-radius: 6px;
}
.contact-buttons .contact-button {
  display: inline-block;
    background: #919191;
    color: #ffffff;
    padding: 10px 14px;
    margin: 5px;
    text-decoration: none;
    border-radius: 8px;
}
.contact-grid-ui {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact-card {
  flex: 1 1 30%;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  background: #f5f5f5;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}

.icon-ui {
  font-size: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  padding: 10px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-ui {
  display: flex;
  flex-direction: column;
}

.label-ui {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.subtext-ui {
  font-size: 11px;
  color: #e0e0e0;
}

/* Colores personalizados */
.contact-card.phone {
  background: linear-gradient(135deg, #28a745 0%, #34d058 100%);
}

.contact-card.whatsapp {
  background: linear-gradient(135deg, #254ad3 0%, #8c128a 100%);
}

.contact-card.email {
  background: linear-gradient(135deg, #007bff 0%, #3399ff 100%);
}

.contact-card.phone .icon-ui,
.contact-card.whatsapp .icon-ui,
.contact-card.email .icon-ui {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.profile-views-ui {
  margin-top: 1.2em;
  font-size: 13px;
  color: #888;
  text-align: center;
}

.views-count-ui {
  font-weight: 700;
  color: #f25e18;
}

.review-list {
  max-height: 200px;
  overflow-y: auto;
}
.share-button {
  padding: 10px 20px;
  background: #333;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-container {
  max-width: 700px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.06);
}
.form-container h2 {
  color: #f25e18;
  margin-bottom: 10px;
}
.step-subtitle {
  color: #777;
  font-size: 15px;
  margin-bottom: 25px;
}
form label {
  display: block;
  margin-top: 18px;
  font-weight: 600;
  color: #333;
}
form input, form textarea, form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 6px;
  font-size: 14px;
}
.submit-wrapper {
  margin-top: 30px;
  text-align: center;
}


.plan-selection-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  text-align: center;
}

.plan-selection-container h2 {
  color: #f25e18;
  font-size: 24px;
  margin-bottom: 10px;
}

.plan-selection-container .intro-text {
  color: #777;
  margin-bottom: 30px;
  font-size: 16px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  justify-content: center;
}

.plan-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0 0 0 / 30%);
}

.plan-card.selected {
  border-color: #f25e18;
  background-color: #fffdf9;
}

.plan-card h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 10px;
}

.plan-card .price {
  font-size: 18px;
  font-weight: bold;
  color: #f25e18;
  margin-bottom: 12px;
}

/* Duplicated block for .plan-card.selected removed */


.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  color: #555;
  font-size: 14px;
}

.plan-card ul li {
  margin-bottom: 6px;
}

.plan-card .badge {
  background-color: #f25e18;
  color: white;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 10px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.select-plan {
  background-color: #f25e18;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.select-plan:hover {
  background-color: #d94e0f;
}

.launch-offers {
  margin-top: 30px;
  background: #fff8ec;
  border-left: 4px solid #f25e18;
  padding: 15px;
  border-radius: 8px;
  font-size: 14px;
  color: #444;
  text-align: left;
}

.launch-offers ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.launch-offers ul li {
  margin-bottom: 8px;
}

.continue-wrapper {
  margin-top: 30px;
  text-align: center;
}

.continue-btn {
  background-color: #222;
  color: white;
  padding: 12px 26px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.continue-btn:disabled {
  background-color: #bbb;
  cursor: not-allowed;
}

.continue-btn:hover:not(:disabled) {
  background-color: #000;
}



/* Paso 1 - Estilos de registro profesional */
.step-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
  animation: fadeIn 0.5s ease-in-out;
}

.step-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 26px;
  line-height: 35px;
}

.step-container p {
  font-size: 14px;
  color: #444;
  text-align: center;
  margin-bottom: 30px;
  line-height: 25px;
}
.step-container a {
  color: #f25e18;
  
}

.checkbox-group {
  margin-bottom: 15px;
}

.step-intro {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
  text-align: center;
  padding: 0 10px;
  font-family: 'Segoe UI', sans-serif;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  cursor: pointer;
  margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #f25e18;
  width: 20px;
}

.button-next {
  padding: 14px;
  background-color: #f25e18;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 20px;
}

.button-next:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.button-next:hover:enabled {
  background-color: #d94e0f;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 600px) {
  .step-container {
    padding: 25px 20px;
  }

  .step-container h2 {
    font-size: 22px;
  }

  .checkbox-group label {
    font-size: 13px;
  }
}

/* Estilo del overlay lightbox */
#lightboxOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);  
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightboxOverlay img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 10px #fff;
  border-radius: 10px;
  object-fit: contain;
}

#lightboxOverlay .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2em;
  color: white;
  cursor: pointer;
}
/* Estilos para el dashboard inicial con category_id == 0 */
.dashboard-welcome {
  background: transparent;
  padding: 15px;
  border-radius: 12px;  
  margin-bottom: 30px;
  animation: fadeIn 0.4s ease-in-out;
}

.welcome-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

.highlight {
  color: #f25e18;
  font-size: 18px;
}

.testimonial-slider {
  background-color: #fff;
  padding: 10px 20px;
  margin: 20px auto;
  text-align: center;
  border-left: 4px solid #f25e18;
  font-style: italic;
  color: #555;
}

.top-categories {
  margin-top: 30px;
  padding: 15px;
}
.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-around;
}
.category-tile {
  flex: 1 1 30%;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}
.category-tile i {
  font-size: 24px;
  color: #f25e18;
}
.category-tile span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}

.feature-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}
.how-it-works {
  background-color: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  text-align: center;
}
.how-it-works h3 {
  color: #333;
  margin-bottom: 20px;
}
.steps {
  display: flex;
  justify-content: space-around;
  gap: 15px;
}
.step {
  flex: 1;
  text-align: center;
  color: #444;
}
.step i {
  font-size: 28px;
  color: #f25e18;
  margin-bottom: 8px;
}


.feature-item {
  background-color: #fff;
  color: #f25e18;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: scale(1.05);
}

.dynamic-banners .banner {
  background-color: #f25e18;
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  text-align: center;
}

.featured-review {
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  transition: opacity 0.5s ease-in-out;
  max-width: 600px;
  margin: 0 auto;
}


.referral-cta {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}

.referral-cta a {
  color: #f25e18;
  font-weight: bold;
  text-decoration: none;
}

.referral-cta a:hover {
  text-decoration: underline;
}

.welcome-box {
  background: #fff;
  border-left: 5px solid #f25e18;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  margin: 20px auto;
  max-width: 700px;
  text-align: left;
  animation: fadeIn 0.6s ease-in-out;
}

.welcome-box h2 {
  color: #333;
  font-size: 22px;
  margin-bottom: 15px;
}

.welcome-box .highlight {
  color: #f25e18;
  font-weight: 700;
}

.welcome-box p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #555;
}

.welcome-list {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
  margin-bottom: 20px;
}

.welcome-list li {
  padding: 8px 0;
  font-size: 15px;
  color: #444;
}

.welcome-box a {
  color: #f25e18;
  text-decoration: none;
  font-weight: 600;
}

.start-hint {
  font-size: 14px;
  color: #777;
  text-align: center;
  margin-top: 20px;
}



.profile-view {
   display: ruby-text;
    margin-top: 1em;
    margin-bottom: 0px;
    color: #175dff;
    font-weight: lighter;
    font-size: 14px;
}


/* Header */
/* Duplicated block for .header-bar removed */
/* Duplicated block for .modal-overlay removed */
/* Duplicated block for .modal-content removed */
/* Duplicated block for .close-button removed */
/* Duplicated block for .profile-pic removed */
/* Duplicated block for .modal-header removed */
/* Duplicated block for .bio removed */
.skill-badges span {
  display: inline-block;
    background: #ffdfd1;
    color: #6f6f6f;
    padding: 4px 8px;
    border-radius: 12px;
    margin: 2px;
    font-size: 12px;
}
.gallery img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  margin: 5px;
  border-radius: 6px;
}
/* Duplicated block for .contact-buttons .contact-button removed */
/* Duplicated block for .review-list removed */
/* Duplicated block for .share-button removed */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.message-error {
  color: #d00;
  background: #ffeaea;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  margin: 15px 0;
  font-size: 14px;
}
/* Search container */
.search-container {
  padding: 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid #eee;
}

.search-container input[type="text"] {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
  transition: all var(--transition-speed);
}

.search-container input[type="text"]:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* Category scroll */
.category-scroll {
  overflow-x: auto;
  white-space: nowrap;
  padding: 15px 10px;
  background: transparent;
  display: flex;
  gap: 15px;
}

.category-item {
  display: inline-block;
  padding: 10px 15px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-speed);
}

.category-item:hover {
  background-color: var(--color-primary-dark);
}

/* Professional result cards */
.result-list {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

 body {
      position: relative;
      overflow-x: hidden;
    }
    .topbar {
      /*background-color: #1f3449;*/
      color: #5b5b5b;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
    }
    .topbar img {
      height: 35px;
    }
    .brand-text {
      font-weight: bold;
      font-size: 25px;
    }
    .brand-texttm {
      font-weight: bold;
      font-size: 10px;
    }
    .brand-text span {
      color: #f25e18;
    }
    .menu-toggle {
      font-size: 24px;
      cursor: pointer;
    }
    
    .sidebar {
      position: fixed;
      top: 0;
      left: -250px;
      width: 250px;
      height: 100%;
      background-color: #1f3449;
      color: white;
      padding: 30px 20px;
      transition: left 0.3s ease;
      z-index: 1000;
    }
    .sidebar.active {
      left: 0;
      line-height: 45px;
    }
    .sidebar a {
      display: block;
      color: white;
      margin: 15px 0;
      text-decoration: none;
      font-size: 16px;
    }
    .search-box {
      background-color: #f25e18;
      padding: 20px;
      display: flex;
      align-items: center;
      border-radius: 0px 0px 70px 0px;
    }
    .search-box input {
      flex: 1;
      padding: 12px;
      border-radius: 8px;
      border: none;
      font-size: 16px;
      margin-left: 10px;
    }
    .search-box select {
      flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    margin-left: 3%;
    margin-right: 13%;
    }
    .search-box i {
      font-size: 24px;
      color: white;
    }
    
    .category-scroll .category-item {
      padding: 8px 16px;
      background-color: #f25e18;
      color: white;
      border-radius: 20px;
      white-space: nowrap;
      font-size: 14px;
      cursor: pointer;
    }
.result-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeInUp 0.4s ease;
}

.result-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.result-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-dark);
}

.result-info {
  font-size: 14px;
  color: var(--color-muted);
}

/* Buttons */
.button-style {
  background-color: var(--color-primary);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background var(--transition-speed);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.button-style:hover {
  background-color: var(--color-primary-dark);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes loadingPulse {
  0% {
    background-color: #f2f2f2;
  }
  50% {
    background-color: #e0e0e0;
  }
  100% {
    background-color: #f2f2f2;
  }
}

.photo-banner-slider {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 12px;
  margin: 20px auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

.photo-banner {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.photo-banner.active {
  opacity: 1;
  z-index: 1;
}

.banner-text {
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(0,0,0,0.4);
  padding: 10px 15px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

/* Loader general */
.loader {
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--color-primary) 0%, #fff 100%);
  background-size: 200% auto;
  animation: loadingPulse 1.5s infinite;
}

/* Galería de profesionales */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.category-scroll {
   padding-top: 0px;
   width: 120%;
    margin-left: -33px;
}
.category-card {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  min-width: 100px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-5px);
}
.category-icon {
  font-size: 18px;
  color: #f25e18;
  margin-right: 10px;
}
.category-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: var(--color-muted);
}

.featured-review-slider {
  animation: slideReviews 10s infinite;
}
@keyframes slideReviews {
  0% {opacity: 0; transform: translateY(20px);}
  10%, 90% {opacity: 1; transform: translateY(0);}
  100% {opacity: 0; transform: translateY(-20px);}
}

/* Responsive */
@media screen and (max-width: 768px) {
  .search-container input[type="text"] {
    font-size: 14px;
  }

  .result-title {
    font-size: 16px;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

/* stylein.css (o stylepr.css) */

/* ... tus estilos existentes ... */

/* Nuevos estilos para el modal de perfil mejorado */
.profile-banner {
    width: 100%;
    height: 150px; /* Altura del banner */
    background-color: rgb(144 175 197); /* Color de fallback */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 15px;
    box-sizing: border-box;
    color: white;
}
.profile-banner-info {
    display: flex;
    align-items: flex-end; /* Alinear foto y nombre abajo */
    gap: 15px;
}
.profile-pic-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    margin-bottom: -50px; /* Para superponer un poco la foto sobre el cuerpo del modal */
    z-index: 1; /* Asegurar que esté por encima del banner */
}
.profile-name-loc h2 {
    margin: 0;
    font-size: 1.8em;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.profile-name-loc p {
    margin: 0;
    font-size: 0.9em;
    color: rgba(255,255,255,0.8);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.modal-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: -50px; /* Para que el botón de favorito también se superponga */
    z-index: 1;
    padding: 1em;
}

.modal-body-content {
    padding: 20px;
    padding-top: 60px; /* Ajustar padding superior para la superposición de la foto */
}

/* Títulos de sección */
.section-title {
    color: #f25e18;
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f25e18;
    padding-bottom: 5px;
}

/* Contact Grid */
.contact-grid-ui {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.contact-card .icon-ui {
    font-size: 2em;
    margin-bottom: 10px;
    color: white;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    padding: 10px;
    display: flex; /* Centrar icono */
    align-items: center;
    justify-content: center;
    width: 50px; /* Tamaño fijo para el círculo */
    height: 50px;
}
.contact-card .label-ui {
    font-weight: 600;
    font-size: 1em;
    color: white;
}
.contact-card .subtext-ui {
    font-size: 0.8em;
    color: rgba(255,255,255,0.8);
    text-align: center;
}
/* Colores de contacto */
.contact-card.phone { background: linear-gradient(135deg, #28a745, #34d058); }
.contact-card.email { background: linear-gradient(135deg, #007bff, #3399ff); }
.contact-card.sms { background: linear-gradient(135deg, #ff8c00, #ffb600); } /* Naranja para SMS */

/* Vistas de perfil */
.profile-views-ui {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}
.profile-views-ui .views-count-ui {
    font-weight: bold;
    color: #f25e18;
}

/* Skills */
.skill-badge-item { /* Nueva clase para estilos de habilidades */
    background-color: #e9e9e9;
    color: #555;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    display: inline-block; /* Para que ocupen su propio espacio */
    margin: 4px; /* Pequeño margen entre ellos */
}

/* Galería */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Responsivo para 3-4 columnas */
    gap: 10px;
    margin-top: 15px;
}
.gallery img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Sección de Reseñas */
.review-section {
    background-color: #fdfdfd;
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.review-section h4 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 15px;
}
.user-reviewed-message {
    text-align: center;
    color: #f25e18;
    font-weight: bold;
    padding: 15px;
    border: 1px solid #f25e18;
    border-radius: 8px;
    background-color: #fffaf7;
    margin-bottom: 20px;
}
.star-rating {
    font-size: 1.8em;
    cursor: pointer;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}
.star-rating .star {
    color: #ccc;
    margin: 0 3px;
    transition: color 0.2s;
}
/* Al hacer hover o cuando ya está seleccionado */
.star-rating .star:hover,
.star-rating .star:hover ~ .star {
    color: #f18300;
}
/* Para la reseña del usuario actual */
.review-card.current-user-review {
    border: 2px solid #f25e18; /* Borde para resaltar */
    background-color: #fffaf7; /* Fondo ligero */
}
.review-card .review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.review-card .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.review-card .user-info {
    font-weight: bold;
    color: #333;
}
.review-card .review-stars {
    color: #f18300;
    margin-left: 5px;
}
.review-card .review-meta {
    font-size: 0.8em;
    color: #888;
    margin-top: 5px;
    display: flex;
    justify-content: space-between; /* Para alinear la fecha y el botón de editar */
    align-items: center;
}
.review-card .review-comment-text {
    font-size: 0.95em;
    color: #444;
    line-height: 1.5;
    margin-top: 10px;
}
.review-card .review-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}
.review-card .edit-review-btn {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
}
.review-card .edit-review-btn:hover {
    background-color: #0056b3;
}

 /* Estilos existentes y nuevos */
    .alert-location {
      background: #fff3cd;
      color: #856404;
      border: 1px solid #ffeeba;
      padding: 15px;
      border-radius: 5px;
      margin: 20px;
      text-align: center;
      font-size: 14px;
    }
    .btn-location {
      background-color: #f25e18;
      color: #fff;
      padding: 10px 18px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      margin-top: 10px;
    }
    /* Estilos para el modal de perfil */
    .modal-content {
        padding: 0; /* Quitamos padding aquí para que el banner ocupe todo el ancho */
        overflow: hidden; /* Para que el banner no se desborde */
    }
    .profile-banner {
        width: 100%;
        height: 150px; /* Altura del banner */
        background-color: rgb(144 175 197); /* Color de fallback */
        background-size: cover;
        background-position: center;
        position: relative;
        display: flex;
        align-items: flex-end; /* Alinear el contenido del banner abajo */
        justify-content: space-between; /* Espaciar elementos */
        padding: 15px;
        box-sizing: border-box;
        color: white;
    }
    .profile-banner-info {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .profile-pic-large {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid white;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }
    .profile-name-loc h2 {
        margin: 0;
        font-size: 1.8em;
        color: white; /* Color del nombre */
    }
    .profile-name-loc p {
        margin: 0;
        font-size: 0.9em;
        color: rgba(255,255,255,0.8); /* Color de la ubicación */
    }
    .modal-actions {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    .favorite-button { /* Se mantiene el estilo general */
        background-color: #f0f0f0;
        color: #555;
        border: 1px solid #ccc;
        padding: 8px 15px;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .favorite-icon {
        font-size: 1.2em;
        color: #ff0000;
        transition: color 0.3s ease;
    }

    .modal-body-content {
        padding: 20px;
    }
    .bio {
        margin-bottom: 20px;
        font-size: 1.1em;
        color: #444;
    }
    .section-title {
        color: #f25e18;
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 15px;
        border-bottom: 2px solid #f25e18;
        padding-bottom: 5px;
    }
    .contact-grid-ui {
        display: grid; /* Usar grid para mejor control de columnas */
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* 2 columnas responsivas */
        gap: 15px;
        margin-top: 15px;
    }
    .contact-card {
        display: flex;
        flex-direction: column; /* Icono arriba, texto abajo */
        align-items: center;
        padding: 15px;
        border-radius: 12px;
        text-decoration: none;
        box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .contact-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .contact-card .icon-ui {
        font-size: 2em;
        margin-bottom: 10px;
        color: white; /* Color del icono */
        background: rgba(255,255,255,0.2);
        border-radius: 50%;
        padding: 10px;
    }
    .contact-card .label-ui {
        font-weight: 600;
        font-size: 1em;
        color: white;
    }
    .contact-card .subtext-ui {
        font-size: 0.8em;
        color: rgba(255,255,255,0.8);
        text-align: center;
    }
    .contact-card.phone { background: linear-gradient(135deg, #28a745, #34d058); }
    .contact-card.email { background: linear-gradient(135deg, #007bff, #3399ff); }
    /* Duplicated block for .contact-card.sms removed */ /* Nuevo color para SMS */

    .profile-views-ui {
        text-align: center;
        margin-top: 20px;
        font-size: 0.9em;
        color: #777;
    }
    .profile-views-ui .views-count-ui {
        font-weight: bold;
        color: #f25e18;
    }
    .skill-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }
    .skill-badges span {
        background-color: #e9e9e9;
        color: #555;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.9em;
    }
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
        margin-top: 15px;
    }
    .gallery img {
        width: 100%;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    /* Estilos para la sección de reseñas */
    .review-section {
        background-color: #fdfdfd;
        border-radius: 10px;
        padding: 20px;
        margin-top: 25px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .review-section h4 {
        color: #333;
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    .review-input-form {
        background-color: #fff;
        padding: 15px;
        border-radius: 8px;
        border: 1px solid #eee;
        margin-bottom: 20px;
    }
    .star-rating {
        font-size: 1.8em;
        cursor: pointer;
        margin-bottom: 10px;
        display: block; /* Para centrar si es necesario */
        text-align: center;
    }
    .star-rating .star {
        color: #ccc;
        margin: 0 3px;
        transition: color 0.2s;
    }
    .star-rating .star:hover,
    .star-rating .star:hover ~ .star,
    .star-rating.selected .star { /* Aplicar color cuando ya está seleccionado */
        color: #f18300;
    }
    .review-comment-textarea {
        width: 100%;
        padding: 10px;
        border-radius: 6px;
        border: 1px solid #ddd;
        font-size: 1em;
        margin-top: 10px;
        box-sizing: border-box;
    }
    .review-submit-btn {
        background-color: #f25e18;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 1em;
        margin-top: 10px;
    }
    .review-submit-btn:hover {
        background-color: #d94e0f;
    }
    .review-list {
        max-height: 300px; /* Limitar altura para scroll */
        overflow-y: auto;
        padding-right: 10px; /* Espacio para scrollbar */
    }
    .review-card {
        background-color: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 0 1px 5px rgba(0,0,0,0.03);
    }
    .review-card.current-user-review {
        border: 2px solid #f25e18; /* Resaltar la reseña del usuario actual */
        background-color: #fffaf7;
    }
    .review-card .review-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    .review-card .user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }
    .review-card .user-info {
        font-weight: bold;
        color: #333;
    }
    .review-card .review-stars {
        color: #f18300;
        margin-left: 5px;
    }
    .review-card .review-meta {
        font-size: 0.8em;
        color: #888;
        margin-top: 5px;
    }
    .review-card .review-comment-text {
        font-size: 0.95em;
        color: #444;
        line-height: 1.5;
        margin-top: 10px;
    }
    .review-card .review-actions {
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;
    }
    .review-card .edit-review-btn {
        background-color: #007bff;
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 0.8em;
        cursor: pointer;
        border: none;
    }
    .review-card .edit-review-btn:hover {
        background-color: #0056b3;
    }
    /* Estilos para el texto de "Ya enviaste una reseña" */
    .user-reviewed-message {
        text-align: center;
        color: #f25e18;
        font-weight: bold;
        padding: 15px;
        border: 1px solid #f25e18;
        border-radius: 8px;
        background-color: #fffaf7;
        margin-bottom: 20px;
    }
 .modal-content {
         padding: 0;
        overflow: hidden; /* Asegura que el banner no se desborde */
        border-radius: 12px; /* Consistencia con otros elementos */
        display: flex;
        flex-direction: column; /* Para que los elementos se apilen verticalmente */
    }

    /* Banner superior del perfil */
    .profile-banner {
        width: 100%;
        height: 150px; /* Altura del banner */
        background-color: rgb(144 175 197); /* Color de fallback */
        background-size: cover;
        background-position: center;
        position: relative; /* Para posicionar elementos internos */
        display: flex;
        align-items: flex-end; /* Alinear el contenido del banner abajo */
        justify-content: space-between; /* Espaciar elementos */
        padding: 15px;
        box-sizing: border-box;
        color: white; /* Color base del texto sobre el banner */
    }

    /* Degradado oscuro para mejorar la legibilidad del texto sobre la imagen del banner */
    .profile-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1)); /* Degradado de negro a transparente */
        z-index: 0; /* Asegura que esté detrás del contenido pero sobre la imagen */
    }

    .profile-banner-info {
        display: flex;
        align-items: flex-end; /* Alinear foto y nombre en la parte inferior del banner */
        gap: 15px;
        position: relative; /* Para que esté sobre el degradado */
        z-index: 1;
    }
    .profile-pic-large {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid white; /* Borde blanco para la foto de perfil */
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
        margin-bottom: -50px; /* Para superponer la foto un poco sobre el cuerpo del modal */
        z-index: 2; /* Para que la foto esté por encima del resto del contenido del banner y modal */
    }
    .profile-name-loc {
        flex-grow: 1; /* Permitir que el texto ocupe espacio */
    }
    .profile-name-loc h2 {
        margin: 0;
        font-size: 1.8em;
        color: white;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Sombra para mejor legibilidad sobre fondos claros */
    }
    .profile-name-loc p {
        margin: 0;
        font-size: 0.9em;
        color: rgba(255,255,255,0.8);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    /* Acciones del modal (ej. botón de favoritos) */
    .modal-actions {
        display: flex;
        gap: 10px;
        align-items: center;
        position: relative; /* Para que esté sobre el degradado */
        z-index: 1;
        margin-bottom: -50px; /* Alineado con la superposición de la foto */
    }
    .favorite-button {
        background-color: #f0f0f0;
        color: #555;
        border: 1px solid #ccc;
        padding: 8px 15px;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap; /* Evitar que el texto se rompa */
        box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Sombra para que destaque */
    }
    
    .favorite-icon {
        font-size: 1.2em;
        color: #ff0000;
        transition: color 0.3s ease;
    }
    

    /* Cuerpo del modal debajo del banner */
    .modal-body-content {
        padding: 20px;
        padding-top: 60px; /* Para dejar espacio a la parte superpuesta de la foto de perfil y el botón de favorito */
        position: relative; /* Necesario para que el padding-top funcione correctamente con el margin-bottom negativo de los elementos de arriba */
        z-index: 0; /* Detrás de la foto y el botón */
    }

    /* Títulos de sección */
    .section-title {
        color: #f25e18;
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 15px;
        border-bottom: 2px solid #f25e18;
        padding-bottom: 5px;
    }

    /* Contact Grid */
    .contact-grid-ui {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* 2-3 columnas responsivas */
        gap: 15px;
        margin-top: 15px;
    }
    .contact-card {
        display: flex;
        flex-direction: column; /* Icono arriba, texto abajo */
        align-items: center;
        padding: 15px;
        border-radius: 12px;
        text-decoration: none;
        box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        text-align: center;
    }
    .contact-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .contact-card .icon-ui {
        font-size: 2em;
        margin-bottom: 10px;
        color: white;
        background: rgba(255,255,255,0.2);
        border-radius: 50%;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
    }
    .contact-card .label-ui {
        font-weight: 600;
        font-size: 1em;
        color: white;
    }
    .contact-card .subtext-ui {
        font-size: 0.8em;
        color: rgba(255,255,255,0.8);
        text-align: center;
    }
    /* Colores de contacto */
    .contact-card.phone { background: linear-gradient(135deg, #28a745, #34d058); } /* Verde para Teléfono */
    .contact-card.email { background: linear-gradient(135deg, #007bff, #3399ff); } /* Azul para Email */
    .contact-card.sms { back/* Duplicated block for .contact-card.sms removed */
    /* ... (resto de los estilos existentes, como .bio, .skill-badges, .gallery, .review-section, etc.) ... */

    /* Estilos específicos para la reseña del usuario actual */
    .review-card.current-user-review {
        border: 2px solid #f25e18; /* Borde para resaltar */
        background-color: #fffaf7; /* Fondo ligero */
    }
    .review-card .review-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8em;
        color: #888;
        margin-top: 5px;
    }

    /* Media queries para responsividad */
    @media (max-width: 600px) {
        .profile-banner {
            height: 120px; /* Menor altura en móviles */
            padding: 10px;
        }
        .profile-pic-large {
            width: 80px;
            height: 80px;
            margin-bottom: -40px; /* Ajustar superposición */
            border-width: 3px;
        }
        .profile-name-loc h2 {
            font-size: 1.5em;
        }
        .profile-name-loc p {
            font-size: 0.8em;
        }
        .modal-actions {
            margin-bottom: -40px; /* Ajustar superposición */
            gap: 5px;
        }
        .favorite-button {
            padding: 6px 10px;
            font-size: 0.8em;
            border-radius: 20px;
        }
        .contact-card {
            padding: 10px;
        }
        .contact-card .icon-ui {
            font-size: 1.8em;
            width: 45px;
            height: 45px;
        }
        .contact-card .label-ui {
            font-size: 0.9em;
        }
    }
    .modal-content {
        padding: 0;
        overflow: hidden; /* Asegura que el banner no se desborde */
        border-radius: 12px; /* Consistencia con otros elementos */
    }

    /* Banner superior del perfil */
    .profile-banner {
        width: 100%;
        height: 150px; /* Altura del banner */
        background-color: #f25e18; /* Color de fallback */
        background-size: cover;
        background-position: center;
        position: relative; /* Para posicionar elementos internos */
        display: flex;
        align-items: flex-end; /* Alinear el contenido del banner abajo */
        justify-content: space-between; /* Espaciar elementos */
        padding: 15px;
        box-sizing: border-box;
        color: white; /* Color base del texto sobre el banner */
    }

    /* Degradado oscuro para mejorar la legibilidad del texto sobre la imagen del banner */
    .profile-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1)); /* Degradado de negro a transparente */
        z-index: 0; /* Asegura que esté detrás del contenido pero sobre la imagen */
    }

    .profile-banner-info {
        display: flex;
        align-items: flex-end; /* Alinear foto y nombre en la parte inferior del banner */
        gap: 15px;
        position: relative; /* Para que esté sobre el degradado */
        z-index: 1;
    }
    .profile-pic-large {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid white; /* Borde blanco para la foto de perfil */
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
        margin-bottom: -50px; /* Para superponer la foto un poco sobre el cuerpo del modal */
        z-index: 2; /* Para que la foto esté por encima del resto del contenido del banner y modal */
    }
    /* Duplicated block for .profile-name-loc removed */
    .profile-name-loc h2 {
        margin: 0;
        font-size: 1.8em;
        color: white;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Sombra para mejor legibilidad sobre fondos claros */
    }
    .profile-name-loc p {
        margin: 0;
        font-size: 0.9em;
        color: rgba(255,255,255,0.8);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    /* Acciones del modal (ej. botón de favoritos) */
    .modal-actions {
        display: flex;
        gap: 10px;
        align-items: center;
        position: relative; /* Para que esté sobre el degradado */
        z-index: 1;
        margin-bottom: -50px; /* Alineado con la superposición de la foto */
    }
    .favorite-button {
        background-color: #f0f0f0;
        color: #555;
        border: 1px solid #ccc;
        padding: 8px 15px;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap; /* Evitar que el texto se rompa */
        box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Sombra para que destaque */
    }
    
    .favorite-icon {
        font-size: 1.2em;
        color: #ff0000;
        transition: color 0.3s ease;
    }
   

    /* Cuerpo del modal debajo del banner */
    .modal-body-content {
        padding: 20px;
        padding-top: 60px; /* Para dejar espacio a la parte superpuesta de la foto de perfil y el botón de favorito */
        position: relative; /* Necesario para que el padding-top funcione correctamente con el margin-bottom negativo de los elementos de arriba */
        z-index: 0; /* Detrás de la foto y el botón */
    }

    /* Títulos de sección */
    .section-title {
        color: #f25e18;
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 15px;
        border-bottom: 2px solid #f25e18;
        padding-bottom: 5px;
    }

    /* Contact Grid */
    .contact-grid-ui {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* 2-3 columnas responsivas */
        gap: 15px;
        margin-top: 15px;
    }
    .contact-card {
        display: flex;
        flex-direction: column; /* Icono arriba, texto abajo */
        align-items: center;
        padding: 15px;
        border-radius: 12px;
        text-decoration: none;
        box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        text-align: center;
    }
    .contact-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .contact-card .icon-ui {
        font-size: 2em;
        margin-bottom: 10px;
        color: white;
        background: rgba(255,255,255,0.2);
        border-radius: 50%;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
    }
    .contact-card .label-ui {
        font-weight: 600;
        font-size: 1em;
        color: white;
    }
    .contact-card .subtext-ui {
        font-size: 0.8em;
        color: rgba(255,255,255,0.8);
        text-align: center;
    }
    /* Colores de contacto */
    .contact-card.phone { background: linear-gradient(135deg, #28a745, #34d058); } /* Verde para Teléfono */
    .contact-card.email { background: linear-gradient(135deg, #007bff, #3399ff); } /* Azul para Email */
    .contact-card.sms { background: linear-gradient(/* Duplicated block for .contact-card.sms removed */s estilos existentes, como .bio, .skill-badges, .gallery, .review-section, etc.) ... */

    /* Estilos específicos para la reseña del usuario actual */
    .review-card.current-user-review {
        border: 2px solid #f25e18; /* Borde para resaltar */
        background-color: #fffaf7; /* Fondo ligero */
    }
    .review-card .review-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8em;
        color: #888;
        margin-top: 5px;
    }

    /* Media queries para responsividad */
    @media (max-width: 600px) {
        .profile-banner {
            height: 120px; /* Menor altura en móviles */
            padding: 10px;
        }
        .profile-pic-large {
            width: 80px;
            height: 80px;
            margin-bottom: -40px; /* Ajustar superposición */
            border-width: 3px;
        }
        .profile-name-loc h2 {
            font-size: 1.5em;
        }
        .profile-name-loc p {
            font-size: 0.8em;
        }
        .modal-actions {
            margin-bottom: -40px; /* Ajustar superposición */
            gap: 5px;
        }
        .favorite-button {
            padding: 6px 10px;
            font-size: 0.8em;
            border-radius: 20px;
        }
        .contact-card {
            padding: 10px;
        }
        .contact-card .icon-ui {
            font-size: 1.8em;
            width: 45px;
            height: 45px;
        }
        .contact-card .label-ui {
            font-size: 0.9em;
        }
    }