/*--------------------------------------------------------------
# Company Detail Page Styles
--------------------------------------------------------------*/

/* Job Openings Section */
.job-openings-section {
  background-color: #90CCA6;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #6db18a;
}

.job-openings-section h6 {
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.job-openings-section h6 i {
  font-size: 20px;
  margin-right: 8px;
  color: #fff;
}

.job-openings-section .job-count-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.job-openings-section h3 {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.job-openings-section h3 span {
  font-size: 18px;
  font-weight: normal;
  color: #fff;
}

.job-openings-section p {
  margin-top: 8px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 0;
}

.job-openings-section .btn-view-jobs {
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  background-color: #fff;
  color: #90CCA6;
  display: inline-block;
  font-weight: 600;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

.job-openings-section .btn-view-jobs:hover {
  background-color: #6db18a;
  color: #fff;
  border-color: #fff;
}

.job-openings-section .btn-view-jobs i {
  margin-left: 5px;
  color: inherit;
}

@media (max-width: 768px) {
  .job-openings-section .job-count-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .job-openings-section .btn-view-jobs {
    margin-top: 15px;
  }
}

/* Company Header Styles */
.company-header-center {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* Application Response Time Badge */
.response-time-badge {
  font-size: 14px;
  padding: 8px 12px;
}

/* Candidate Reviews Section */
.employer-rating-section {
  margin-top: 30px;
  margin-bottom: 30px;
}

.employer-rating-section hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

.rating-summary {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
}

.rating-summary .d-flex {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.rating-summary .stars {
  margin-right: 1rem;
  font-size: 24px;
}

.rating-summary strong {
  font-size: 20px;
}

.rating-summary .text-muted {
  color: #6c757d;
}

.reviews-list h6 {
  margin-bottom: 1rem;
}

.review-item {
  border-bottom: 1px solid #dee2e6;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.review-item .d-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.review-item p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.review-item .text-warning {
  color: #ffc107;
}

.review-item .fa-sm {
  font-size: 0.875em;
}

.review-item .ms-2 {
  margin-left: 0.5rem;
}

.review-item small {
  font-size: 0.875em;
  color: #6c757d;
}

/* No Reviews Alert */
.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-info strong {
  font-weight: 600;
}

.alert-info .mb-0 {
  margin-bottom: 0;
}

.alert-info .mt-2 {
  margin-top: 0.5rem;
}

/* Social Media Section */
.social-wrap h6 {
  margin-bottom: 1rem;
}

/* Responsive Utilities */
@media (max-width: 991px) {
  .rating-summary .d-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .rating-summary .stars {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .job-openings-section {
    padding: 15px;
  }
  
  .job-openings-section h3 {
    font-size: 20px;
  }
  
  .job-openings-section h3 span {
    font-size: 16px;
  }
  
  .rating-summary strong {
    font-size: 18px;
  }
  
  .rating-summary .stars {
    font-size: 20px;
  }
}
