/* Variables de colores y tipografía */
:root {
  --orange:  hsl(25, 97%, 53%);
  --white: hsl(0, 0%, 100%);
  --light-grey: hsl(217, 12%, 63%);
  --dark-blue: hsl(213, 19%, 18%);
  --very-dark-blue: hsl(216, 12%, 8%);
  --font-family: 'Overpass', sans-serif;
  --font-size: 15px;
}

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size);
  background-color: var(--very-dark-blue);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}



.form-text{
  text-align: left;
}

.feedback-container {
  width: 90%;
  max-width: 375px;
  text-align: center;
}

.feedback-card {
  background-color: hsl(213, 19%, 18%);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
}

.star-icon {
  font-size: 2rem;
  color:  hsl(25, 97%, 53%);
  margin-bottom: 1rem;
  display: flex;
}

.star-icon .circle {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  background-color: hsl(217, 12%, 63%);
  color:  hsl(25, 97%, 53%);
  border-radius: 50%;
  text-align: center;
  font-size: 25px;
  transition: all 0.3s ease;
  border: 2px solid var(--dark-blue);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: var(--font-size);
  color: var(--light-grey);
  margin-bottom: 2rem;
}

.ratings {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.ratings label {
  cursor: pointer;
  position: relative;
}

.ratings input {
  display: none;
}

.ratings .circle {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  background-color: hsl(217, 12%, 63%);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--dark-blue);
}

.ratings .circle:hover {
  background-color: var(--orange);
  color: var(--dark-blue);
}

.ratings input:checked + .circle {
  background-color: var(--orange);
  color: var(--dark-blue);
  border: 2px solid var(--orange);
}

.submit-btn {
  background-color:  hsl(25, 97%, 53%);
  color: var(--white);
  border: none;
  padding: 0.8rem 6rem;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.submit-btn:hover {
  background-color: hsl(25, 97%, 60%);
}

.hidden {
  display: none;
}

.thank-you-card {
  background-color: var(--dark-blue);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.thank-you-icon {
  margin-bottom: 1rem;
}

.thank-you-img {
  width: 100px;
  height: auto;
}

.selected-rating {
  background-color: var(--dark-blue);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  color: var(--orange);
  font-weight: bold;
  margin-bottom: 1rem;
}

h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

p {
  color: var(--light-grey);
  line-height: 1.5;
}



/* Diseño responsivo */
@media (min-width: 1440px) {
  .feedback-container {
    max-width: 400px;
  }
}

/* Centrar solo en dispositivos móviles */
@media (max-width: 768px) {
  .submit-btn {
    display: block; /* Asegura que sea un bloque para centrarlo */
    margin: 0 auto; /* Centrará el botón horizontalmente */
  }
}