/* Modal popup container */
.mrs-modal {
  display: none;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 30px;
  z-index: 10000;
  border: 1px solid #ccc;
  width: 600px;
  max-width: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
}
.mrs-modal h3 {
  margin-top: 0;
  font-size: 20px;
  margin-bottom: 15px;
}
.mrs-modal label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}
.mrs-stars {
  direction: rtl;
  display: flex;
  justify-content: flex-start;
  margin-top: 5px;
  margin-bottom: 10px;
}
.mrs-stars input {
  display: none;
}
.mrs-stars label {
  font-size: 22px;
  color: #ccc;
  cursor: pointer;
}
.mrs-stars input:checked ~ label,
.mrs-stars label:hover,
.mrs-stars label:hover ~ label {
  color: gold;
}
.mrs-form textarea {
  width: 100%;
  height: 80px;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
}
.mrs-form input[type=submit] {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
}
.mrs-form input[type=submit]:hover {
  background-color: #0056b3;
}
button.mrs-close {
  float: right;
  font-size: 16px;
  background: #eee;
  border: none;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
}
button.mrs-close:hover {
  background-color: #ccc;
}





.mrs-modal {
  display: none;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 30px;
  z-index: 9999;
  border: 1px solid #ccc;
  width: 640px;
  max-width: 95%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  font-family: "Segoe UI", Roboto, sans-serif;
}

.mrs-modal h3 {
  font-size: 20px;
  color: #0366d6;
  margin: 0 0 15px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.mrs-modal legend {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
}

.mrs-modal label {
  font-size: 15px;
  margin-top: 10px;
  font-weight: 500;
  display: block;
}

.mrs-stars {
  direction: rtl;
  display: flex;
  margin: 5px 0 15px;
}

.mrs-stars input {
  display: none;
}

.mrs-stars label {
  font-size: 22px;
  color: #ccc;
  cursor: pointer;
  margin-right: 3px;
}

.mrs-stars input:checked ~ label,
.mrs-stars label:hover,
.mrs-stars label:hover ~ label {
  color: #ffc107;
}

.mrs-form textarea {
  width: 100%;
  height: 90px;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
  resize: vertical;
}

.mrs-form input[type=submit],
.mrs-modal .button.mrs-close {
  margin-top: 15px;
  margin-right: 10px;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 14px;
}

.mrs-form input[type=submit] {
  background-color: #007bff;
  color: #fff;
  border: none;
}

.mrs-form input[type=submit]:hover {
  background-color: #0056b3;
}

.button.mrs-close {
  background-color: #ddd;
  border: none;
}

.button.mrs-close:hover {
  background-color: #bbb;
}
