/* Styles scoped to Mikelle's page only. Shared site styles live in /style.css. */

.page {
  padding: 64px;
  background: #ffffff;
  transition: background .3s ease;
}

.card {
  position: relative;
  max-width: none;
}

.page.blue-bg {
  background: #16233e;
}

.page.pastel-blue-bg {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 233, 168, .3) 0%, transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(201, 236, 221, .3) 0%, transparent 55%),
    radial-gradient(circle at 20% 85%, rgba(255, 214, 230, .3) 0%, transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(207, 224, 255, .35) 0%, transparent 55%),
    #bcd9f0;
}

.decor-bar {
  width: 97%;
  height: 64px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d8dbdf;
  border-radius: 6px;
  color: #46617d;
  font-family: 'Dancing Script', cursive;
  font-size: 38px;
  font-weight: 600;
  text-align: center;
  padding: 0 16px;
}

.bg-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-track {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #ccd0d4;
  border-radius: 999px;
  transition: background .2s ease;
}

.switch-track::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform .2s ease;
}

.track-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #565e66;
}

.track-label-left { left: 6px; }
.track-label-right { right: 6px; }

.switch input:checked + .switch-track {
  background: #16233e;
}

.switch input:checked + .switch-track::before {
  transform: translateX(26px);
}

.switch input:focus-visible + .switch-track {
  outline: 2px solid #46617d;
  outline-offset: 2px;
}

.content-row {
  display: grid;
  grid-template-columns: minmax(300px, 760px) 420px;
  align-items: start;
  gap: 40px;
  margin-top: 40px;
}

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

.square {
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  background: #eef0f2;
  border: 1px solid #dde1e5;
  border-radius: 8px;
  color: #46617d;
  font-family: 'Dancing Script', cursive;
  font-size: 30px;
  font-weight: 600;
}

.calendar {
  flex: none;
  width: 420px;
  background: #f7f9fa;
  border: 1px solid #e6e9ec;
  border-radius: 10px;
  padding: 24px;
}

.calendar-title {
  font-family: 'Dancing Script', cursive;
  font-size: 32px;
  font-weight: 600;
  color: #46617d;
  text-align: center;
  margin-bottom: 16px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-weekday {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #aab0b6;
  text-align: center;
  padding-bottom: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #3a424a;
  background: #ffffff;
  border: 1px solid #e6e9ec;
  border-radius: 6px;
}

.calendar-day--today {
  background: #46617d;
  border-color: #46617d;
  color: #ffffff;
  font-weight: 700;
}
