/*
Theme Name: PopUp Village Basketball Form
Author: Activart <teamweb@activart.it>
Description: Theme for the PopUp Village Basketball subscription form website
Version: 1.0.0
License: GPL-2.0
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: popupvillage-theme
*/

* {
  box-sizing: border-box;
}

:root {
  font-size: 12px;
}

main {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.container {
  width: 640px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.5rem;
}

.panel {
  border: 1px solid #777777;
  border-radius: 0.25rem;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 1px 1px 0 rgba(127, 127, 127, 0.6);
}

.panel-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.team-panel {
  background-color: rgb(230, 245, 255);
}

.players-panel {
  background-color: rgb(255, 249, 230);
}

.popupvillage-input-field {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 0.5em;
}

.popupvillage-input-field .label {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0.5rem;
}

.popupvillage-input-field .text-input {
  background-color: #ffffff;
  padding: 0.5em;
  border: 1px solid #777777;
  border-radius: 0.25rem;
  width: 100%;
}

.popupvillage-checkbox-field {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.popupvillage-checkbox-field .label {
  margin: 0;
}

.form-players-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  flex-wrap: wrap;
}

.form-players-section>* {
  width: 100%;
}

.form-player {
  padding: 0.5rem;
}

.card {
  border-radius: 0.5rem;
  border: 1px solid #777777;
  box-shadow: 0 1px 1px 0 rgba(127, 127, 127, 0.6);
}

.card-title {
  width: 100%;
  border-bottom: 1px solid #777777;
  font-size: 1.5rem;
  padding: 0.5em;
  background-color: #000000;
  color: #ffffff;
}

.card-small-title {
  font-size: 0.75em;
}

.card-body {
  padding: 1em;
}

.form-buttons {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: end;
  margin-top: 1rem;
}

.popupvillage-form-button {
  font-size: 1.25rem;
  padding: 0.5em 1em;
  text-transform: uppercase;
  font-weight: bold;
  color: #ffffff;
  background-color: #59BCFE;
  border: 1px solid #0199FE;
  border-radius: 0.25rem;
  box-shadow: 0 1px 1px 0 rgba(127, 127, 127, 0.6);
  cursor: pointer;
}

.popupvillage-form-button:hover {
  background-color: #48b5fe;
}

.popupvillage-form-button:disabled {
    filter: saturate(0);
}