#contacto {
    background: #413B64;
    color: white;
    font-size: 1em;
    text-align: center;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#contacto .error {
    color: red;
    font-style: italic;
    text-shadow: 1px 1px 1px black
}

#contacto .inputcontacto,
#contacto .inputcontacto2 {
    background: black;
    color: white;
    font-size: 1em
}

#contacto .inputcontacto {
    width: 200px
}

.textocont {
    color: #B9FFCC;
    font-size: 0.9em
}

.botonform {
    color: #ffffff;
    font-size: 1.3em;
    text-shadow: 0 2px 2px black;
    font-weight: bold;
    box-shadow: inset 0px 1px 0px 0px #9acc85;
    background-color: #68a54b;
    border: 1px solid #3b6e22;
    display: inline-block;
    cursor: pointer;
    padding: 5px;
    filter: drop-shadow(2px 4px 6px black);
    text-align: center;
}

.correctocont,
.errorcont {
    width: 100%;
    background: green;
    color: white;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}

.errorcont {
    background: red;
}

/* Brackets Section Styling */
#brackets-section {
  margin: 2em 0;
  background: #f4f6fb;
  border-radius: 8px;
  padding: 1em 0.5em;
  box-shadow: 0 2px 8px rgba(70,67,121,0.06);
  max-width: 600px;
  min-width: 320px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
#brackets-section h3 {
  margin-top: 1.5em;
  color: #363776;
  font-size: 1.15em;
}
#brackets-section h4 {
  margin: 1em 0 0.5em 0;
  color: #464379;
  font-size: 1em;
}
.bracket-group {
  margin-bottom: 1.2em;
  padding: 0.7em;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #dbe2ef;
}
.bracket-participants {
  margin-bottom: 0.5em;
  font-size: 0.98em;
  color: #363776;
}
.bracket-participants span {
  display: inline-block;
  background: #e3eafc;
  color: #363776;
  border-radius: 4px;
  padding: 2px 7px;
  margin-right: 5px;
  margin-bottom: 2px;
  font-weight: 500;
}
.bracket-matches {
  list-style: none;
  padding: 0;
  margin: 0.5em 0 0 0;
}
.bracket-matches li {
  background: #f0f2fa;
  border-left: 4px solid #464379;
  margin-bottom: 5px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.98em;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bracket-matches li span {
  color: #3949ab;
  font-size: 0.93em;
  margin-left: 10px;
}
.bracket-matches li.winner {
  background: #e3eafc;
  border-left: 4px solid #3949ab;
  font-weight: bold;
}

/* Stats Table Styling */
#stats-section table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.2em;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(70,67,121,0.04);
  font-size: 0.95em;
}
#stats-section th, #stats-section td {
  border: 1px solid #dbe2ef;
  padding: 4px 7px;
  text-align: center;
}
#stats-section th {
  background: #464379;
  color: #fff;
  font-weight: 600;
  font-size: 0.98em;
}
#stats-section tr:nth-child(even) {
  background: #f4f6fb;
}

/* General Table Styling */
table, #stats-section table {
  width: 100%;
  max-width: 600px;
  min-width: 320px;
  margin: 0 auto 1.2em auto;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(70,67,121,0.04);
  font-size: 0.95em;
}
th, td {
  border: 1px solid #dbe2ef;
  padding: 4px 7px;
  text-align: center;
}
th {
  background: #363776;
  color: #fff;
  font-weight: 600;
  font-size: 0.98em;
}
tr:nth-child(even) {
  background: #f4f6fb;
}

/* Responsive */
@media (max-width: 700px) {
  .bracket-group, table, #stats-section table {
    font-size: 0.93em;
    padding: 0.3em;
    max-width: 100%;
    min-width: 0;
  }
  th, td {
    padding: 3px 3px;
  }
}

.table-destinations {
  text-align: center;
  display: block;
  margin: 0.5em auto 0.7em auto;
}

@media (max-width: 700px) {
  #brackets-section {
    max-width: 100%;
    min-width: 0;
    padding: 0.5em 0.1em;
  }
}