.rating {
	display: flex;
	justify-content: center;
	align-items: center;
	grid-gap: .5rem;
	font-size: 2rem;
	color: var(--yellow);
	margin-bottom: 2rem;
}
.rating .star {
	cursor: pointer;
}
.rating .star.active {
	opacity: 0;
	animation: animate .5s calc(var(--i) * .1s) ease-in-out forwards;
}
.rating {
  font-size: 2rem;
  color: #ffd700;
  cursor: pointer;
}
.rating-star {
  margin: 0 5px;
}
@keyframes animate {
	0% {
		opacity: 0;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.2);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.rating .star:hover {
	transform: scale(1.1);
}
textarea {
	width: 100%;
	background: var(--light);
	padding: 1rem;
	border-radius: .5rem;
	border: none;
	outline: none;
	resize: none;
	margin-bottom: .5rem;
}
/* feedback on cdr page */
.center-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1.5rem;
}

.feedback-card {
  background: white;
  padding: 2rem 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.stars {
	color: #ffc107;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}
.username {
	font-weight: 600;
	margin-bottom: 0.5rem;
}
.comment {
	color: #555;
	font-size: 1rem;
	line-height: 1.5;
}
.feedback-btn {
  font-size: 14px;
  padding: 6px 12px;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 20px;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 20px;
  margin-top: 20px;
}

.feedback-btn:hover {
  background-color: #e0e0e0;
}
@media (max-width: 991px) {
  .feedback-card {
    max-width: 328px;
	  margin-bottom: 20px;
  }
}
.star-error .rating-star {
    color: red !important;
    animation: shake 0.3s ease;
	  display: inline-block;

  }

  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
  }
.feedback-name {
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  width: 100%;
}
.contact-card-title {
  padding-top: 20px;
  text-align: center !important;
}