.rewiews_container {
    display: flex;
    box-sizing: border-box;
    width: auto;
    background: var(--color-bg-box);
    box-shadow: var(--box-shadow-externa);
    border-radius: 8px;
    padding: 5px;
    flex-wrap: wrap;
    gap: 3px;
}

.rewiew_title {
    padding: 3px;
    grid-area: title;
  }
  
  .rewiew_title a {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}
  
  
.rewiew_container {
    display: grid;
    grid-template-columns: 55px calc(100% - 55px);
    grid-template-areas:
        "title title"
        "icon text"
        "date date"
        "seller seller";
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 8px;
    height: auto;
    background-position: right center;
    align-items: center;
    background: linear-gradient(180deg, #fbfafa 0%, #e7e2de63 100%);
    align-content: center;
    justify-content: flex-start;
}
  
  
  .rewiew_icon {
    grid-area: icon;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 35px;
    border-radius: 6px;
    margin: 6px;
  }
  
  
  
  .good_rewiew .rewiew_icon {
    background: rgba(90, 239, 114, 0.76);
    box-shadow: 0 0 0px 5px rgb(90 239 114 / 15%);
  }
  
  .bad_rewiew .rewiew_icon {
    background: rgba(239, 90, 90, 0.76);
    box-shadow: 0 0 0px 5px rgb(241 127 127 / 16%);
  }
  
  .good_rewiew .rewiew_icon:before {
    content: "";
    width: 29px;
    height: 29px;
    background-image: url("../icon-pages/good-rewiew.b0a4ad962fb2.svg");
    background-position: center;
    background-size: cover;
    display: block;
  }
  
  .bad_rewiew .rewiew_icon:before {
    content: "";
    width: 29px;
    height: 29px;
    background-image: url("../icon-pages/bad-rewiew.bb07efcea0ea.svg");
    background-position: center;
    background-size: cover;
    display: block;
  }
  
  .rewiew_text {
    box-sizing: border-box;
    grid-area: text;
    width: 100%;
    padding: 3px 10px 3px 3px;
    color: #5E5F65;
  }
  
  span.rewiew_date {
    color: #5E5F65;
    font-size: 12px;
  }
  
  .rewiew_date {
    grid-area: date;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
  }

  .rewiew_seller_title {
    color: #5E5F65;
    font-weight: 500;
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
}
.rewiew_seller_answer {
  grid-area: seller;
  padding: 3px;
}

.rewiew_seller_text {
  color: #5E5F65;
}






.compact-stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Inter', system-ui, sans-serif;
}

.compact-stat-card {
  background: linear-gradient(135deg, #8ccafa 0%, #4780ad 100%);
  border-radius: 16px;
  padding: 10px;
  color: white;
  text-align: center;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.compact-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3);
}

.compact-stat-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.compact-stat-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.compact-stat-icon {
  font-size: 18px;
  opacity: 0.9;
}

.compact-stat-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

.compact-stat-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #fff, #f8f9fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.compact-stat-trend {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .compact-stats-container {
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
  }
  
  .compact-stat-value {
      font-size: 22px;
  }
}

@media (max-width: 640px) {
  .compact-stats-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
  }
  
  .compact-stat-header {
      justify-content: flex-start;
      margin-bottom: 10px;
  }
  
  .compact-stat-value {
      font-size: 20px;
      text-align: left;
  }
  
  .compact-stat-trend {
      text-align: left;
  }
}

@media (max-width: 480px) {
  .compact-stats-container {
      gap: 8px;
  }
  
  .compact-stat-card {
      padding: 10px 14px;
      border-radius: 12px;
  }
  
  .compact-stat-value {
      font-size: 18px;
  }
  
  .compact-stat-title {
      font-size: 12px;
  }
  
  .compact-stat-trend {
      font-size: 10px;
  }
}

.reviews_page_text_container {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  margin: 10px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.m4g-light-header {
  text-align: center;
  margin-bottom: 40px;
}


.m4g-light-header h2 {
  color: #1a202c;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.m4g-light-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.m4g-light-main p {
  color: #4a5568;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.m4g-light-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.m4g-light-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.m4g-light-feature:hover {
  background: #f7fafc;
  border-color: #3a7bd5;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(58, 123, 213, 0.1);
}

.light-feature-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  background: linear-gradient(135deg, #3a7bd5, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.light-feature-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.light-feature-text strong {
  color: #2d3748;
  font-size: 16px;
  font-weight: 600;
}

.light-feature-text span {
  color: #718096;
  font-size: 14px;
  line-height: 1.4;
}

/* Sidebar */
.m4g-light-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.m4g-light-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.m4g-light-card:hover {
  border-color: #3a7bd5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(58, 123, 213, 0.15);
}

.light-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.light-card-icon {
  line-height: 24px;
  font-size: 20px;
  background: linear-gradient(135deg, #3a7bd5, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.light-card-header h4 {
  color: #2d3748;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.m4g-light-card p {
  color: #718096;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .m4g-light-content {
      grid-template-columns: 1fr;
      gap: 30px;
  }
  
  .m4g-light-sidebar {
      flex-direction: row;
  }
}

@media (max-width: 768px) {
  .reviews_page_text_container {
      padding: 30px 24px;
      margin: 30px 0;
      border-radius: 12px;
  }
  
  .m4g-light-header h2 {
      font-size: 26px;
  }
  
  .m4g-light-main p {
      font-size: 16px;
  }
  
  .m4g-light-features {
      gap: 12px;
  }
  
  .m4g-light-feature {
      padding: 10px;
      gap: 10px;
  }
}

@media (max-width: 640px) {
  .m4g-light-sidebar {
      flex-direction: column;
  }
  
  .m4g-light-header h2 {
      font-size: 24px;
  }

  
  .light-feature-icon {
      font-size: 20px;
  }
  
  .light-feature-text strong {
      font-size: 15px;
  }
  
  .light-feature-text span {
      font-size: 13px;
  }
  .m4g-light-card {
      padding: 10px;
  }
  .light-card-header {
      margin-bottom:5px;
  }
}

@media (max-width: 480px) {
  .reviews_page_text_container {
      padding: 24px 20px;
      margin: 20px 0;
  }
  
  .m4g-light-header {
      margin-bottom: 30px;
  }
  
  .m4g-light-header h2 {
      font-size: 22px;
  }
  
}