* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #0f0f1a;
  color: #fff;
}

.glass-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(5px);
  border: 2px solid #005fa3;
  border-radius: 12px;
  margin: 1rem auto 6em auto;
  width: 95%;
  max-width: 1400px;
  padding: 0.8rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00aaff;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: #f0f0f0;
  font-size: 1.2em;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00aaff;
}

.btn-primary {
  background-color: #0070cc;
  color: black !important;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  background-color: #005fa3;
  box-shadow: 0 0 10px #0070cc70;
}

.page-wrapper {
  display: flex;
  max-width: 1200px;
  margin: 2rem auto 6em auto;
  gap: 1.5rem;
  padding: 0 1rem;
}

.calendar-column, .slots-column, .form-column {
  background: #121826;
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1;
  box-shadow: 0 0 15px rgba(0, 136, 204, .3);
}

.calendar-column h2, .slots-column h2, .form-column h2 {
  color: #00aaff;
  margin-bottom: 1rem;
  text-align: center;
}

#datum {
  width: 100%;
  padding: .6rem;
  border-radius: 8px;
  border: none;
  background: #1a1f2f;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 3rem;
}

#slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.calendar-column h2,
.slots-column h2,
.form-column h2 {
  margin-bottom: 1.5rem;
}

.form-column .field {
  margin-bottom: 1.5rem;
}

.slot {
  padding: 1rem;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  background: #1a1f2f;
  color: #ccc;
  transition: .2s;
}

.slot.available:hover {
  background: #0070cc;
  color: #000;
}

.slot.busy {
  background: #333;
  color: #555;
  cursor: not-allowed;
}

.slot.selected {
  background: #0070cc;
  color: white;
}


.form-column .field {
  margin-bottom: 1rem;
  text-align: left;
}

.form-column label {
  display: block;
  color: #aaa;
  margin-bottom: .3rem;
}

.form-column input, .form-column select {
  width: 100%;
  padding: .6rem;
  border: none;
  border-radius: 6px;
  background: #1a1f2f;
  color: #fff;
  font-size: 1rem;
}

.submit-btn {
  width: 100%;
  padding: .8rem;
  font-size: 1.1rem;
  background: #0070cc;
  margin-top: 1.3em;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: .2s;
  box-shadow: 0 0 30px #0088ff50;
}

.submit-btn:disabled {
  background: #555;
  cursor: not-allowed;
}

.submit-btn:hover:enabled {
  background: #005fa3;
}

.site-footer {
  background-color: #0f0f1a;
  text-align: center;
  padding: 1rem;
  color: #8a8a8a;
  border-top: 1px solid #222;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0070cc;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, top 0.5s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  top: 40px;
}