:root {
  --primary: #c0c0c0;
  /* Silver / Huawei-esque */
  --accent: #ff0000;
  /* Secretive Red */
  --bg: #ccc;
  --text: #ffffff;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --grey-light: #eeeaeb;
  --grey-dark: #999697;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

body {
  font-family: "Huawei-Sans-Regular", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

header,
.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

header {
  text-align: center;
  background-color: white;
  padding: 30px 0;
}

.glow-text {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.5rem;
  background: linear-gradient(to right, #fff, #666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.1rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

p {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ccc;
  font-size: 0.9rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.classes-selector {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.class-item {
  position: relative;
}

.class-item input {
  position: absolute;
  opacity: 0;
}

.class-item label {
  display: block;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.class-item input:checked + label {
  border-color: var(--accent);
  background: rgba(255, 0, 0, 0.05);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.class-item.disabled label {
  opacity: 0.5;
  cursor: not-allowed;
}

.class-name {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #fff;
}

.dashboard-container .class-name {
  color: #000;
}
.dashboard-container .active .class-name {
  color: white;
}

.class-info {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.class-seats {
  display: block;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: bold;
}

.btn-primary {
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  padding: 1.2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.btn-primary:hover {
  background: #ccc;
  transform: translateY(-2px);
}

.info-block {
  padding: 2rem;
  border-radius: 15px;
  margin-top: 1rem;
}

.info-block.success {
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid rgba(0, 255, 0, 0.2);
}

.info-block.warning {
  background: rgba(255, 255, 0, 0.05);
  border: 1px solid rgba(255, 255, 0, 0.2);
}

footer {
  text-align: center;
  margin-top: 4rem;
  color: #444;
  font-size: 0.8rem;
}

.mt-1 {
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .glow-text {
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }

  .glass-card {
    padding: 1.5rem;
  }
}
/* ------------------------- added ------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.card {
  background: none;
  border: 0;
}

#form-container {
  background-image: url(/assets/img/bg_stand_huawei.webp);
  background-size: cover;
  background-position: center;
  padding: 40px;
}

#form-row {
  background-color: #ffffff;
  padding: 17px;
  border-radius: 20px;
}

.img-stand {
  /*aspect-ratio: 365/490;*/
  height: 100%;
  max-height: 100%;
  transition: max-height 0.5s ease-out;
  border-radius: 20px;
  overflow: hidden;
}

.img-stand img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
#section_form h1,
#section_form h2 {
  font-size: 22px;
  font-family: "Huawei-Sans-Bold", Helvetica, Arial, sans-serif;
}

#section_form h1 + p {
  font-family: "Huawei-Sans-Regular", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.2;
}
#registration-form input {
  color: black;
  border: 1px solid black;
  font-size: 14px;
  border-radius: 13px;
  padding: 10px 14px;
}

#registration-form input::placeholder {
  color: black;
}

#form-row h3 {
  font-size: 16px;
  font-family: "Huawei-Sans-Bold", sans-serif;
}

p.selecciona-dia {
  font-size: 15px;
  font-family: "Huawei-Sans-Light", sans-serif;
  margin-top: 5px;
  margin-bottom: 15px;
}

p.selecciona-dia::before {
  width: 16px;
  height: 16px;
  content: " ";
  background-image: url(/assets/svg/Calendar_huawei.svg);
  background-size: contain;
  background-position: center;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: -3px;
}

.classes-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.class-option {
  background-color: var(--grey-light);
  border: 1px solid var(--grey-light);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px 0px;
  transition: background-color 0.5s ease;
}
.class-option.selected,
.class-option:hover {
  border: 1px solid black;
}

.class-option *:not(p) {
  text-align: center;
}

.class-option p {
  text-align: left;
  line-height: 1.2;
  margin: 0;
  padding: 8px;
  font-size: 15px;
  font-family: "Huawei-Sans-Bold", sans-serif;
}

.big-number {
  font-size: 33px;
  font-family: "Huawei-Sans-Bold", sans-serif;
}

.month {
  font-size: 15px;
  font-family: "Huawei-Sans-Bold", sans-serif;
  margin-top: -5px;
}

/* Time slot buttons */
.time-slot-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 7px;
  margin-bottom: 10px;
}

.time-slot-button {
  background-color: var(--grey-light);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-family: "Huawei-Sans-Medium", sans-serif;
  font-size: 13px;
}

.time-slot-button:hover:not(.disabled) {
  background-color: #d5d1d2;
  border-color: var(--grey-dark);
}

.time-slot-button.selected {
  background-color: var(--grey-dark);
  border-color: #000;
  color: #fff;
}

.time-slot-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.time-slot-button .time {
  font-size: 16px;
  font-family: "Huawei-Sans-Bold", sans-serif;
  margin-bottom: 4px;
}

.time-slot-button .seats {
  font-size: 10px;
  color: #666;
}

.time-slot-button.selected .seats {
  color: #fff;
}

/* Class summary */
.class-summary {
  background-color: #f8f9fa;
  border-left: 4px solid var(--grey-dark);
  padding: 12px 16px;
  margin-top: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  display: none;
}

.class-summary.visible {
  display: block;
}

.class-summary .summary-title {
  font-family: "Huawei-Sans-Bold", sans-serif;
  font-size: 12px;
  margin-bottom: 6px;
  color: #000;
}

.class-summary .summary-details {
  font-family: "Huawei-Sans-Regular", sans-serif;
  font-size: 11px;
  color: #333;
  line-height: 1.5;
}

.time-slot-button {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 4px 16px;
  border: 1px solid black;
}

.time-slot-button .time {
  margin: 0;
}

.time-slot-button .seats {
  line-height: 1.2;
}

#tit-horas {
  font-size: 15px;
  margin-top: 10px;
  font-family: "Huawei-Sans-Regular", sans-serif;
}

#tit-horas::before {
  width: 16px;
  height: 16px;
  content: " ";
  background-image: url(/assets/svg/Hora_huawei.svg);
  background-size: contain;
  background-position: center;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: -3px;
}

#class-summary {
  border: 0;
  padding: 8px 12px;
  background-color: var(--grey-light);
}

label.form-check-label {
  color: black;
  font-size: 11px;
  line-height: 1;
  margin-bottom: 0;
}
.form-check {
  display: flex;
  gap: 7px;
  align-items: center;
  line-height: 1;
}

#registration-form .form-check-input[type="checkbox"] {
  border-radius: 0;
  padding: 8px;
  margin-top: -1px;
}

#registration-form .form-check-input[type="checkbox"]:checked {
  background-color: black;
}

#registration-form .form-check-input[type="checkbox"]:focus {
  box-shadow: none;
}

.form-check-input:checked[type="checkbox"]:focus {
  background-image: var(--bs-form-check-bg-image) !important;
}

#section_hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.container-kipchoge {
  padding: 125px 70px;
}

.container-kipchoge > div {
  width: 70%;
}

.container-kipchoge h2 {
  font-size: 65px;
  font-family: "Huawei-Sans-Bold", sans-serif;
  text-shadow:
    0 5px 16px rgba(0, 0, 0, 0.27),
    0 3px 8px rgba(0, 0, 0, 0.15);
}

.container-kipchoge h2 + p {
  max-width: 300px;
  line-height: 1.2;
  text-shadow:
    0 5px 16px rgba(0, 0, 0, 0.27),
    0 3px 8px rgba(0, 0, 0, 0.15);
}

.btn-kipchoge {
  padding: 12px 40px 11px;
  border-radius: 12px;
  border: 0;
  font-size: 16px;
  font-family: "Huawei-Sans-Bold", sans-serif;
  line-height: 1;
}

.btn-kipchoge:hover {
  background-color: var(--grey-light);
}

#classes-container {
  background-color: white;
  color: black;
  padding: 60px 65px;
}
img.img-agenda {
  max-width: 80px;
  height: auto;
}

.partner {
  background-color: black;
  padding: 50px;
}

.location-block img {
  width: 17px;
  height: 23px;
}

.dia-semana-abrv {
  font-size: 41px;
  font-family: "Huawei-Sans-Light", sans-serif;
  line-height: 1;
}
.class-hour,
.class-month {
  font-size: 41px;
  font-family: "Huawei-Sans-Bold", sans-serif;
  line-height: 1;
}

.class-month-number {
  font-size: 135px;
  font-family: "Huawei-Sans-Bold", sans-serif;
  line-height: 1;
  margin-bottom: -14px;
}

#btn-newsletter {
  max-width: 647px;
  height: auto;
}

#disclaimer > p {
  font-size: 9px;
  margin-bottom: 10px;
}

.black-btn {
  font-size: 22px;
  margin-left: -15px;
  line-height: 1;
  padding: 8px 46px;
  font-family: "Huawei-Sans-Bold", sans-serif;
  color: white;
  background-color: black;
}

.date-badge-block {
  text-align: right;
}

.class-title {
  font-size: 36px;
  justify-content: space-between;
  font-family: "Huawei-Sans-Bold", sans-serif;
}

.rect-img-masterclass {
  background-color: black;
  padding: 14px;
  aspect-ratio: 496/108;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-masterclass {
  width: auto;
  height: 100%;
  max-width: 95%;
}

.class-content {
  padding: 30px;
}

.class-content p {
  font-size: 16px;
  font-family: "Huawei-Sans-Light", sans-serif;
}

.btn.btn-apuntame {
  font-size: 22px;
  padding: 10px 55px;
  line-height: 1;
}

.separator-line {
  margin: 100px 2.5%;
  height: 2px;
  width: 95%;
  background-color: #7f7f7f;
}

.info-block.success {
  background: rgba(150, 150, 150, 0.05);
  border: 1px solid rgba(150, 150, 150, 0.2);
}

/* Validation Dialog */
.validation-dialog {
  border: none;
  border-radius: 15px;
  padding: 0;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.validation-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.validation-dialog .dialog-content {
  padding: 30px;
  text-align: center;
}

.validation-dialog h3 {
  font-size: 22px;
  font-family: "Huawei-Sans-Bold", sans-serif;
  margin-bottom: 15px;
  color: #000;
}

.validation-dialog p {
  font-size: 16px;
  font-family: "Huawei-Sans-Regular", sans-serif;
  margin-bottom: 25px;
  color: #333;
}

.validation-dialog .btn {
  font-size: 16px;
  padding: 10px 40px;
  font-family: "Huawei-Sans-Bold", sans-serif;
}

.tit-agenda h2 {
  font-family: "Huawei-Sans-Bold", sans-serif;
  font-size: 44px;
}

.row.class-block {
  margin-bottom: 40px;
}

@media (max-width: 1120px) {
  h1 > br {
    display: none;
  }
}

@media (max-width: 768px) {
  .time-slot-buttons {
    display: grid;
    grid-template-columns: repeat(1, 3fr);
    gap: 16px;
  }
  .black-btn {
    margin-left: 0;
    width: 100%;
  }
  #section_form h1,
  #section_form h2 {
    font-size: 18px;
  }
  #section_form h1 + p {
    font-size: 14px;
  }
  .tit-agenda h2 {
    font-size: 30px;
  }
  .img-stand {
    aspect-ratio: 3/2;
  }
  img.img-agenda {
    max-width: 40px;
  }
  .class-content {
    padding: 30px 0px;
  }
  .class-content p {
    font-size: 14px;
  }
  .btn-apuntame {
    width: 100%;
  }
  #classes-container {
    padding: 60px 35px;
  }
  .class-title {
    font-size: 24px;
  }
  .class-option {
    padding: 10px 20px;
  }
  #form-container {
    padding: 25px;
  }
}
