
.card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 80%;
}

.section-factura {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

/* Estilo para alinear el primer td a la derecha */
.section-factura table tr td:first-child {
  text-align: right;
}

/* Estilo para centrar el segundo td */
.section-factura table tr td:last-child {
  text-align: center;
}

.section-factura-carrito {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  padding: 10px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

@media (max-width: 600px) {
  .card {
    max-width: 300px;
  }
}


/* section player */
.container-player {
  font-size: .9;
  max-width: 80%;
  margin: 30px auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra tipo card */
  background-color: #fff; /* Color de fondo del formulario */
}
.form-row {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
}

/* ++++++++ */


  /* Estilos generales */
  .container-player {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    padding: 20px;
  }

  .form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  @media screen and (max-width: 768px) {
    .form-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }


/* Estilos para los inputs */
.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Estilos para los errores */
.error-message {
  color: var(--background-table-color);
  font-size: 12px;
}



.formulario-tarjeta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.form-grid-tarjeta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Estilos para los inputs */
.form-group-payment {
  margin-bottom: 15px;
}

.label-payment {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.input-payment {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}



/* ++++++++ */




.form-group {
  flex: 1;
  margin-right: 15px;
}

.form-group:last-child {
  margin-right: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.container-date {
  display: flex;
}

.size-input-date {
  width: 50%;
}

.info-tarjeta-credito {
  font-size: .9rem;
  margin: 20px;
  margin-bottom: 20px;
}

@media (max-width: 480px){
  .container-date {
    width: 100%;
  }
  .size-input-date {
    width: 50%;
  }
} 

.title-tarjeta-credito{
  margin-left: 50px;
  font-size: 1rem;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}


.title-factura {
  font-size: 24px;
  margin-left: -10px;
}

.text-area {
  width: 100%;
  height: 100px;
}

.checkbox-label {
  display: block;
  font-weight: normal;
  color: #555; /* Color del texto del checkbox */
}
button {
  background-color: var(--background-table-color); /* Color del botón */
  color: #fff; /* Color del texto del botón */
  padding: 12px 20px; /* Tamaño más grande */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  width: 100%; /* Ocupa el 100% del ancho */
  margin-top: 20px; /* Espaciado entre el último input y el botón */
  transition: background-color 0.3s ease; /* Transición suave */
}
button:hover {
  background-color: var(--background-table-color);/* Color del botón al pasar el mouse */
}
@media (max-width: 768px) {
  .form-group {
      flex: 0 0 calc(50% - 10px); /* Cambia a dos inputs por fila en pantallas medianas */
  }
}
@media (max-width: 480px) {
  .form-group {
      flex: 0 0 100%; /* Cambia a un input por fila en pantallas pequeñas */
  }
}

/* card info  */

.card {
  max-width: 80%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.card h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.policy {
  margin-bottom: 15px;
}

.policy-title {
  font-size: 18px;
  font-weight: bold;
}

.policy-content {
  margin-left: 20px;
}

.agreement {
  margin-top: 20px;
}

.agreement label {
  font-weight: bold;
}

.agreement-content {
  margin-left: 20px;
}

.agreement-content a {
  color: #007bff;
  text-decoration: none;
}

.agreement-content a:hover {
  text-decoration: underline;
}

/* comments sections */
.comments-section {
  max-width: 90%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-top: 20px;
}



.button-div {
  display: flex;
  justify-content: flex-end;
  margin-right: 50px;
}

.comments-section textarea {
  width: 100%;
  min-height: 150px;
  padding: 10px;
  resize: vertical;
}

.comments-section-button {
  width: 25%;
  background-color: var(--background-table-color);
  color: #fff;
  border: none;
  padding: 10px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
}



@media (max-width: 1000px) {
  .container-player {
      font-size: .8rem;
  }
}

@media (max-width: 800px) {
  .container-player {
      font-size: .69rem;
  }
}

@media (max-width: 700px) {
  .container-player {
      font-size: .6rem;
  }
}

@media (max-width: 500px) {
  .container-player {
    min-width: 90%;
    font-size: .7rem;
  }
  .card {
    font-size: .8rem;
    min-width: 95%;
    padding: 5px;
  }
}

.textarea-factura{
  width: 100%;
  height: 100px;
}

/* Estilos base para ambos elementos */
.input-group {
  display: flex;
  flex-wrap: wrap;
}

.country-code {
  flex: 1;
}

#country-select {
  font-size: 10px;
  width: 100%;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.phone-number {
  flex: 2;
}

#phone-input {
  margin-top: 25px;
  width: 100%;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

@media screen and (max-width: 1000px) {
  #phone-input {
    margin-top: 20px;
  }
}

/* Estilos responsivos */
@media screen and (max-width: 767px) {
  #phone-input {
    margin-top: 19px;
  }
}
/* Estilos responsivos */
@media screen and (max-width: 700px) {
  #phone-input {
    margin-top: 17px;
  }
}

/* Estilos responsivos */
@media screen and (max-width: 480px) {
  #phone-input {
    margin-top: 19px;
  }
}


/* validate form */
/* Custom CSS for visual feedback */
/* Custom CSS for visual feedback */
.valid {
  border: 2px solid green;
}

.invalid {
  border: 2px solid red;
}

/* Custom CSS for the checkmark icon */
.valid-icon::before {
  content: "\2713";
  color: green;
  font-size: 16px;
  display: inline-block;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.error-message {
  color: red;
  font-size: 12px;
}



/* ultima section pagina */


.event-section {
  display: flex;
  flex-wrap: wrap;
  justify-content:space-evenly;
  align-items: flex-start;
  margin: 50px;
}

.card-payment {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 45%;
  padding: 20px;
  margin: 10px;
}

.card-title-payment {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-subtitle-payment {
  font-size: 18px;
  margin-bottom: 10px;
}

.card-details-payment {
  font-size: 16px;
  line-height: 1.5;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .card-payment {
    width: 100%;
    margin: 10px 0;
  }
  .event-section {
    margin: 30px;
  }
}