/* HTNS v279 — Schedule page compact date header and standalone Media/Worship buttons. */
#view-schedule .simple-schedule-page{
  gap:10px !important;
}

#view-schedule .simple-schedule-date-head{
  padding:8px 10px !important;
  border-radius:18px !important;
}

#view-schedule .simple-schedule-date-head .schedule-month-title,
#view-schedule .schedule-month-title{
  margin:0 0 6px !important;
  font-size:13px !important;
  letter-spacing:.065em !important;
}

#view-schedule .simple-date-nav,
#view-schedule .schedule-nav-row.simple-date-nav{
  display:grid !important;
  grid-template-columns:40px minmax(0, 250px) 40px !important;
  justify-content:center !important;
  align-items:center !important;
  gap:10px !important;
}

#view-schedule .schedule-nav-btn{
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  min-height:40px !important;
  border-radius:14px !important;
  font-size:16px !important;
}

#view-schedule .schedule-date-box{
  width:100% !important;
  max-width:250px !important;
  height:40px !important;
  min-height:40px !important;
  padding:0 12px !important;
  border-radius:14px !important;
  gap:9px !important;
}

#view-schedule .schedule-date-box > span{
  font-size:12px !important;
  font-weight:900 !important;
}

#view-schedule .schedule-date-icon{
  width:16px !important;
  height:16px !important;
}

/* Remove the nested segmented wrapper feel and make each team button look like a standalone quick-action card. */
#view-schedule .simple-team-tabs{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  gap:12px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

#view-schedule .simple-team-tab{
  position:relative !important;
  min-height:74px !important;
  height:auto !important;
  padding:12px 14px !important;
  border:2px solid #c8d7e5 !important;
  border-radius:22px !important;
  background:#ffffff !important;
  color:#163150 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  text-align:center !important;
  box-shadow:0 1px 0 rgba(18,37,63,.03) !important;
}

#view-schedule .simple-team-tab span{
  color:#163150 !important;
  font-size:14px !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  letter-spacing:.03em !important;
}

#view-schedule .simple-team-tab small{
  margin:0 !important;
  color:#6e8fb0 !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:900 !important;
  opacity:1 !important;
}

#view-schedule .simple-team-tab.active{
  background:#dcecf9 !important;
  border-color:#76a7cf !important;
  color:#163150 !important;
  box-shadow:none !important;
}

#view-schedule .simple-team-tab.active span{
  color:#163150 !important;
}

#view-schedule .simple-team-tab.active small{
  color:#5f88af !important;
}

#view-schedule .simple-team-tab.active::before{
  content:none !important;
}

#view-schedule .simple-team-tab:active{
  transform:translateY(1px) !important;
}

@media (max-width: 520px){
  #view-schedule .simple-date-nav,
  #view-schedule .schedule-nav-row.simple-date-nav{
    grid-template-columns:38px minmax(0, 1fr) 38px !important;
    gap:8px !important;
  }

  #view-schedule .schedule-nav-btn{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
  }

  #view-schedule .schedule-date-box{
    max-width:none !important;
    height:38px !important;
    min-height:38px !important;
  }

  #view-schedule .simple-team-tabs{
    gap:10px !important;
  }

  #view-schedule .simple-team-tab{
    min-height:68px !important;
    padding:10px 12px !important;
    border-radius:20px !important;
    gap:8px !important;
  }

  #view-schedule .simple-team-tab span{
    font-size:13px !important;
  }

  #view-schedule .simple-team-tab small{
    font-size:10px !important;
  }
}

[data-theme="dark"] #view-schedule .simple-team-tab{
  background:#10243b !important;
  border-color:#2e4a67 !important;
  color:#dbe8f3 !important;
}

[data-theme="dark"] #view-schedule .simple-team-tab span{
  color:#dbe8f3 !important;
}

[data-theme="dark"] #view-schedule .simple-team-tab small{
  color:#94b6d6 !important;
}

[data-theme="dark"] #view-schedule .simple-team-tab.active{
  background:#18395c !important;
  border-color:#5c8fbb !important;
}

[data-theme="dark"] #view-schedule .simple-schedule-date-head,
[data-theme="dark"] #view-schedule .schedule-nav-btn,
[data-theme="dark"] #view-schedule .schedule-date-box{
  box-shadow:none !important;
}
