/*
 * Global stylesheet for the Bakhter Money Transfer review portal.
 * Uses a clean white and blue palette inspired by the main website
 * (background white #ffffff, accent blue #378fce) and Poppins typography.
 */

/* Reset some basic styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
}

.site-header {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.logo {
  max-width: 220px;
  height: auto;
}

.container {
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111111;
}

.subtitle {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #555555;
}

.star-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/*
 * Style for individual stars. Use a span with class "star". We avoid :hover based
 * highlights here because the JavaScript handles highlighting based on hover and
 * click events to make the behaviour consistent across browsers.
 */
.star-rating .star {
  color: #cccccc;
  margin: 0 5px;
  cursor: pointer;
  font-size: inherit;
  transition: color 0.2s ease-in-out;
}

/* When selected (via JS), change star colour to accent blue */
.star-rating .star.selected {
  color: #378fce;
}

.instruction {
  font-size: 0.9rem;
  color: #777777;
  margin-top: 0;
}

/* Form styles */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.button {
  background-color: #378fce;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  text-decoration: none;
  display: inline-block;
}

.button:hover,
.button:focus {
  background-color: #2b72a4;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .logo {
    max-width: 160px;
  }
  .title {
    font-size: 1.5rem;
  }
  .star-rating {
    font-size: 2rem;
  }
}

/*
 * Style for the container that holds review platform buttons on the thank‑you page.
 * Use flexbox to lay buttons out horizontally with a consistent gap and allow them
 * to wrap on small screens. Without this, the buttons would appear directly
 * adjacent with no spacing when multiple options (e.g. Google and Trustpilot) are
 * presented. The gap matches the margin used inline previously.
 */
.review-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}