/*
Theme Name: Findus Child
Theme URI: https://themeforest.net/item/findus-multiple-listing-directory-wordpress-theme/23710691
Template: findus
Author: ApusTheme
Author URI: https://themeforest.net/user/apustheme
Description: Findus - Multiple Listing &amp; Directory WordPress Theme
Tags: custom-background,custom-colors,custom-header,custom-menu,editor-style,featured-images,microformats,rtl-language-support,sticky-post,threaded-comments,translation-ready
Version: 1.1.46.1747148010
Updated: 2025-05-13 14:54:53

*/

.comment-popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.comment-popup-wrapper.active {
  opacity: 1;
  visibility: visible;
}

.comment-popup-container {
  background: #fff;
  padding: 30px;
  border-radius: 5px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.comment-popup-content {
  padding: 20px;
}

.entry-header-wrapper {
  img {
    width: 80px;
    height: 80px;
    @media only screen and (min-width: 768px) {
      width: 100px;
      height: 100px;
    }
  }
}

.header-top-job.style-white .entry-header .entry-header-left a:hover {
  color: #d6d6d6;
}

.star-rating {
  color: #ffffff; /* Dorado */
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0px 0px 12px;
}
.header-top-job .header-metas .star-rating i {
  margin-right: 0;
}
.star-rating .review-avg {
  margin-left: 6px;
  color: #333;
  font-weight: 500;
  font-size: 0.9em;
}

.listing-review .star-rating .review-avg {
  color: #fff;
}

.listing-main-content > div .widget-title.no-reviews {
  text-transform: initial;
}

.widget-title .map-direction.direction-map.pull-right {
  display: none;
}

#listing-comments {
  /* Estilo para el fondo del modal */
  #reviewModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000088;
    z-index: 9999;
    overflow-y: auto; /* Permite scroll vertical en mobile si hace falta */
    padding: 20px;
    box-sizing: border-box;
  }

  #section-form {
    background: #fff;
    width: 100%;
    margin: auto;
    padding: 20px;
    position: relative;
    border-radius: 8px;
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-out;
    @media only screen and (min-width: 768px) {
      max-width: 500px;
    }
  }

  /* Botón cerrar */
  #closeReviewModal {
    position: absolute;
    top: 0px;
    right: 12px;
    background: none;
    border: none;
    font-size: 46px;
    line-height: 1;
    cursor: pointer;
  }

  /* Formularios */
  #reviewForm .form-group {
    margin-bottom: 15px;
  }

  #reviewForm label {
    display: block;
    margin-bottom: 5px;
    margin-left: 5px;
    font-weight: bold;
  }

  #reviewForm input[type="text"],
  #reviewForm input[type="email"],
  #reviewForm textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
  }

  #reviewForm textarea {
    resize: vertical;
  }

  /* Botón de enviar */
  #reviewForm button[type="submit"] {
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
  }

  #reviewForm button[type="submit"]:hover {
    background-color: #ea2600;
    border-color: #e02500;
  }

  /* Mensaje de respuesta */
  #reviewMessage {
    font-size: 14px;
    margin-top: 10px;
  }

  .listing-reviews {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
  }

  .star-rating {
    margin-bottom: 15px;
    label {
      color: #626a70;
    }
  }

  .rating {
    direction: rtl;
    display: inline-flex;
    input {
      display: none;
    }
    label {
      font-size: 32px;
      line-height: 1;
      color: #ccc;
      cursor: pointer;
      transition: color 0.2s;
    }
    input:checked ~ label {
      color: #f7a816;
    }
  }
  .rating label:hover,
  .rating label:hover ~ label {
    color: #f9bd50;
  }
}

.review-summary {
  padding: 16px;
  border-radius: 8px;
  margin-top: 20px;
  font-family: sans-serif;
  h3 {
    margin-top: 0;
    font-size: 20px;
    @media only screen and (min-width: 768px) {
      font-size: 24px;
    }
  }
}
.average-score {
  font-size: 32px;
  color: #f7a816;
  font-weight: bold;
  @media only screen and (min-width: 768px) {
    font-size: 40px;
  }
}
.stars {
  font-size: 20px;
  color: #f7a816;
}
.count {
  color: #555;
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
}
.rating-breakdown {
  margin-top: 20px;
}
.rating-breakdown .bar {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}
.rating-breakdown .bar span {
  width: 40px;
}
.rating-breakdown .bar-bg {
  flex: 1;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}
.rating-breakdown .bar-fill {
  height: 8px;
  background: #f7a816;
  border-radius: 4px;
}

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

/* CARD LISTING */
.card-link-wrapper {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link-wrapper:hover {
  background-color: #f9f9f9;
}

.empresa-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-direction: column;

  @media (min-width: 768px) {
    flex-direction: row;
  }
}

.logo-container {
  flex-shrink: 0;
  width: 100%;
  height: 120px;

  @media (min-width: 768px) {
    width: 124px;
    height: 124px;
  }
}

.logo-container img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.logo-empresa {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.info-container {
  padding: 12px;
  flex: 1;

  @media (min-width: 768px) {
    padding: 12px 12px 12px 8px;
  }
}

.empresa-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px 0;
}

.empresa-nombre {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
}

.job-number {
  display: inline-block;
  background-color: #f1f1f1;
  color: #333;
  font-weight: bold;
  font-size: 14px;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 26px;
  flex-shrink: 0;
}

.empresa-rating {
  margin: 0;
  font-size: 1.2em;
  color: #444;
}

.empresa-rating .star-rating {
  font-size: 12px;
  color: #f7a816;
}

.empresa-rating .star-rating .review-avg {
  font-size: 12px;
}

.opiniones {
  font-size: 0.85em;
  color: #666;
  margin-left: 5px;
}

.empresa-direccion,
.empresa-legajo {
  font-size: 0.9em;
  color: #555;
  margin: 2px 0;
}

