/** {*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  box-sizing: border-box;*/
/*}*/

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  padding: 20px;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.main-card {
  background: white;
  border: 3px solid #313b77;
  border-radius: 8px;
  padding: 30px;
  flex: 1;
  min-width: 300px;
}

.rating-card {
  background: #2c3e50;
  color: white;
  border-radius: 8px;
  padding: 20px;
  width: 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.left-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 200px;
}

.circular-progress {
  position: relative;
  width: 120px;
  height: 120px;
}

.progress-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(#27ae60 0deg, #27ae60 var(--progress-angle), #e8e8e8 var(--progress-angle), #e8e8e8 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.progress-inner {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.progress-value {
  font-size: 28px;
  color: #333;
}

.progress-total {
  font-size: 16px;
  color: #666;
}

.features-list {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.feature-item.positive::before {
  content: "✓";
  color: #27ae60;
  font-weight: bold;
}

.feature-item.negative::before {
  content: "−";
  color: #e74c3c;
  font-weight: bold;
}

.right-section {
  flex: 1;
}

.ratings-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 15px 20px;
  align-items: center;
}

.rating-label {
  font-size: 14px;
  color: #555;
}

.rating-value {
  font-weight: bold;
  font-size: 14px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  width: 16px;
  height: 16px;
  position: relative;
  cursor: pointer;
}

.star::before {
  content: "★";
  position: absolute;
  color: #ddd;
  font-size: 16px;
}

.star::after {
  content: "★";
  position: absolute;
  color: #ffd700;
  font-size: 16px;
  width: var(--fill-width, 0%);
  overflow: hidden;
}

.verdict {
  margin-top: 30px;
}

.verdict h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.verdict p {
  line-height: 1.5;
  color: #555;
  font-size: 14px;
}

.rating-arrow {
  font-size: 24px;
  margin-bottom: 10px;
}

.rating-arrow.up {
  color: #27ae60;
}

.rating-arrow.down {
  color: #e74c3c;
}

.rating-percentage {
  font-size: 32px;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 5px;
}

.rating-label-card {
  font-size: 14px;
  margin-bottom: 15px;
}

.cta-section {
  text-align: center;
}

.cta-button {
  background: #f1c40f;
  color: #333;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  margin-top: 10px;
}

.controls {
  background: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.control-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.control-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .rating-card {
    width: 100%;
  }

  .card-content {
    flex-direction: column;
    gap: 20px;
  }

  .left-section {
    align-items: center;
    width: 100%;
  }

  .ratings-grid {
    grid-template-columns: 1fr auto;
    gap: 10px 15px;
  }

  .rating-value {
    grid-column: 1;
    justify-self: end;
  }

  .stars {
    grid-column: 2;
  }
}
