:root {
  --gf-primary: #5B8DEF;
  --gf-warm: #FFF7EE;
  --gf-gold: #F5B942;
}

body {
  background-color: var(--gf-warm);
}

.login-bg {
  background: linear-gradient(160deg, #FFF7EE 0%, #EAF1FF 100%);
}

#sidebar .nav-link {
  color: #333;
  border-radius: 8px;
}

#sidebar .nav-link.active,
#sidebar .nav-link:hover {
  background-color: var(--gf-primary);
  color: #fff;
}

.gold-star {
  color: var(--gf-gold);
}

.card {
  border-radius: 14px;
}

.gf-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.gf-cal-head {
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: #666;
  padding: .5rem 0;
  border-bottom: 1px solid #e5e5e5;
  background: #fafafa;
}

.gf-cal-cell {
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  min-height: 100px;
  padding: .4rem;
}

.gf-cal-cell:nth-child(7n) {
  border-right: none;
}

.gf-cal-cell.gf-cal-outside {
  background: #fbfbfb;
  color: #aaa;
}

.gf-cal-daynum {
  font-size: .85rem;
  font-weight: 600;
}

.gf-cal-cell.gf-cal-today .gf-cal-daynum {
  background: var(--gf-primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
}

.gf-cal-item {
  font-size: .75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.gf-time-grid {
  display: grid;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.gf-time-gutter {
  font-size: .7rem;
  color: #999;
  text-align: right;
  padding-right: .4rem;
  transform: translateY(-.5em);
}

.gf-allday-row {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: .3rem;
  min-height: 2rem;
}

.gf-day-col {
  position: relative;
  border-left: 1px solid #eee;
  background-image: repeating-linear-gradient(to bottom, #f0f0f0, #f0f0f0 1px, transparent 1px, transparent calc(100% / 24));
  cursor: pointer;
}

.gf-positioned-item {
  position: absolute;
  left: 2px;
  right: 2px;
  border-radius: 6px;
  padding: 2px 4px;
  font-size: .7rem;
  color: #fff;
  overflow: hidden;
  cursor: pointer;
}
