/* BEGIN FINAL SPECIFICATION FIELDS */
.ide-table-wrapper {
  position: relative;
  overflow-x: auto; /* ✅ Scroll on small screens */
  margin: 20px 0;
  border-radius: 10px;
}

.ide-spec-table {
  width: 100%;
  min-width: 400px; /* ✅ Ensures table doesn’t break on small screens */
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  table-layout: fixed; /* ✅ Respect column width percentages */
}

.ide-spec-table th,
.ide-spec-table td {
  text-align: left;
  padding: 12px 16px;
  word-wrap: break-word; /* ✅ Prevent overflow text */
}

.ide-spec-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.ide-spec-table tr:nth-child(odd) {
  background-color: #ffffff;
}

.ide-spec-table tr:hover {
  background-color: #f1f3f5; /* Hover effect */
}

.ide-spec-table th {
  background-color: #f1f1f1;
  font-weight: bold;
  border-bottom: 2px solid #e0e0e0;
}

.ide-spec-table tr:last-child td {
  border-bottom: none;
}

/* ✅ Column width control */
.ide-spec-table td:first-child,
.ide-spec-table th:first-child {
  width: 30%;
}

.ide-spec-table td:last-child,
.ide-spec-table th:last-child {
  width: 70%;
}

.ide-rating-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #4caf50, #8bc34a);
  border-radius: 10px 0 0 10px;
}

@media screen and (max-width: 600px) {
  .ide-spec-table th, .ide-spec-table td {
    padding: 10px;
    font-size: 14px;
  }
}

.ide-rating-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.ide-rating-bar-bg {
  width: 300px;
  background: #ccc;
  height: 10px;
  border-radius: 9px;
  overflow: hidden;
}

.ide-rating-bar-fill {
  height: 100%;
  width: 65%; /* Adjust this value as needed */
  background-color: #3498db;
}
/* END FINAL SPECIFICATION FIELDS */