/* Ventopia shared desk calendar (Marketer NeckersBOX / freefrontend calendar-7) */
/* Classes: mk-desk-cal or vt-desk-cal on .dashboard-calendar-card */

/* Marketer desk calendar — NeckersBOX zwWpXz / freefrontend calendar-7 exact palette */
.mk-desk-cal.dashboard-calendar-card,
.vt-desk-cal.dashboard-calendar-card,
.dashboard-calendar-card.mk-desk-cal,
.dashboard-calendar-card.vt-desk-cal{
    --mk-cal-bg: transparent;
    --mk-cal-navy: #29335C;
    --mk-cal-yellow: #F3A712;
    --mk-cal-shadow: rgba(0, 0, 0, 0.27);
    /* No outer blue/white desk frame — only navy header + white grid */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 14px;
    overflow: visible;
    padding: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    font-family: Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
/* no outer white/modern-info wrapper look */
.col-xl-5 > .mk-desk-cal,
.col-xl-5 > .vt-desk-cal,
.mk-top-row .mk-desk-cal,
.mk-top-row .vt-desk-cal{
    width: 100%;
}
.mk-desk-cal.dashboard-calendar-card:hover,
.vt-desk-cal.dashboard-calendar-card:hover{ box-shadow: none; }

.mk-desk-cal-top,
.vt-desk-cal-top{
    position: relative;
    background: var(--mk-cal-navy);
    border-radius: 14px;
    min-height: 110px;
    height: 110px;
    box-shadow: 2px 2px 10px 0 var(--mk-cal-shadow);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    z-index: 2;
}
.mk-desk-cal-year-tab,
.vt-desk-cal-year-tab{
    width: 20%;
    max-width: 56px;
    flex: 0 0 20%;
    background: var(--mk-cal-yellow);
    color: var(--mk-cal-navy);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
}
.mk-desk-cal .dashboard-calendar-header,
.vt-desk-cal .dashboard-calendar-header{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 8px 12px 20px 8px;
    background: transparent;
    color: #fff;
    position: relative;
}
.mk-desk-cal .dashboard-calendar-title,
.vt-desk-cal .dashboard-calendar-title{
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
    font-weight: 900 !important;
    color: #F3A712 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 1px 0 rgba(0,0,0,0.15);
    -webkit-text-fill-color: #F3A712 !important;
}
.mk-desk-cal .dashboard-calendar-nav,
.vt-desk-cal .dashboard-calendar-nav{
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(243, 167, 18, 0.45);
    background: transparent;
    color: var(--mk-cal-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
}
.mk-desk-cal .dashboard-calendar-nav:hover,
.vt-desk-cal .dashboard-calendar-nav:hover{
    background: var(--mk-cal-yellow);
    color: var(--mk-cal-navy);
    border-color: var(--mk-cal-yellow);
}

/* Punch holes + binder rings (NeckersBOX) */
.mk-desk-cal-rings,
.vt-desk-cal-rings{
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 0;
    margin: -12px 10% 0;
    pointer-events: none;
}
.mk-desk-cal-rings i,
.vt-desk-cal-rings i{
    width: 12px;
    height: 26px;
    border-radius: 70% / 18%;
    background: #fff;
    box-shadow: 2px 0 5px -2px var(--mk-cal-shadow);
    display: block;
    position: relative;
}
.mk-desk-cal-rings i::before,
.vt-desk-cal-rings i::before,
.mk-desk-cal-rings i::after,
.vt-desk-cal-rings i::after{
    content: "";
    position: absolute;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mk-cal-bg);
    box-shadow: inset 1px 1px 4px 0 var(--mk-cal-shadow);
    transform: translateX(-50%);
}
.mk-desk-cal-rings i::before,
.vt-desk-cal-rings i::before{ top: -5px; }
.mk-desk-cal-rings i::after,
.vt-desk-cal-rings i::after{ bottom: -5px; }

.mk-desk-cal-bottom,
.vt-desk-cal-bottom{
    background: #fff;
    border-radius: 14px;
    box-shadow: 2px 2px 10px 0 var(--mk-cal-shadow);
    overflow: visible;
    z-index: 1;
    margin-top: 10px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
}
.mk-desk-cal-bottom::before,
.vt-desk-cal-bottom::before{
    content: "";
    display: block;
    width: 100%;
    height: 42px;
    background: var(--mk-cal-navy);
    flex: 0 0 42px;
}
.mk-desk-cal .dashboard-calendar-weekdays,
.vt-desk-cal .dashboard-calendar-weekdays{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    margin: -42px 0 0;
    padding: 10px 12px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--mk-cal-yellow);
    text-align: center;
    letter-spacing: 0.04em;
    background: transparent;
    border-bottom: none;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
}
.mk-desk-cal .dashboard-calendar-weekdays > span,
.vt-desk-cal .dashboard-calendar-weekdays > span{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}
.mk-desk-cal .dashboard-calendar-days,
.vt-desk-cal .dashboard-calendar-days{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    flex: 1;
    min-height: 220px;
    padding: 4px 12px 14px;
    background: #fff;
    box-sizing: border-box;
    width: 100%;
}
.mk-desk-cal .dashboard-calendar-day,
.vt-desk-cal .dashboard-calendar-day{
    aspect-ratio: 1;
    max-height: none;
    min-height: 34px;
    border-radius: 0;
    border: none;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--mk-cal-navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 0;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    position: relative;
    background: transparent;
}
.mk-desk-cal .dashboard-calendar-day .cal-day-num,
.vt-desk-cal .dashboard-calendar-day .cal-day-num{
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline;
    background: transparent;
    color: inherit;
    box-shadow: none;
    font-weight: inherit;
}
.mk-desk-cal .dashboard-calendar-day.other-month,
.vt-desk-cal .dashboard-calendar-day.other-month{ color: #999; background: transparent; }



.mk-desk-cal .dashboard-calendar-day.has-events,
.vt-desk-cal .dashboard-calendar-day.has-events{ background: transparent; color: var(--mk-cal-navy); font-weight: 600; }
.mk-desk-cal .dashboard-calendar-day.has-events.today,
.vt-desk-cal .dashboard-calendar-day.has-events.today{ background: transparent; }
.mk-desk-cal .dashboard-calendar-day.in-range,
.vt-desk-cal .dashboard-calendar-day.in-range{ background: transparent !important; }
.mk-desk-cal .dashboard-calendar-day.in-range.today,
.vt-desk-cal .dashboard-calendar-day.in-range.today{ background: transparent !important; }
.mk-desk-cal .dashboard-calendar-day:hover:not(.empty),
.vt-desk-cal .dashboard-calendar-day:hover:not(.empty){ background: rgba(41, 51, 92, 0.06); color: var(--mk-cal-navy); }
.mk-desk-cal .dashboard-calendar-day.has-events::after,
.vt-desk-cal .dashboard-calendar-day.has-events::after{ display: none; }
.mk-desk-cal .dashboard-calendar-day .cal-day-dots,
.vt-desk-cal .dashboard-calendar-day .cal-day-dots{
    display: flex; align-items: center; justify-content: center; gap: 3px; min-height: 6px;
}
.mk-desk-cal .dashboard-calendar-day .cal-day-dots i,
.vt-desk-cal .dashboard-calendar-day .cal-day-dots i{
    width: 5px; height: 5px; border-radius: 50%; display: inline-block; background: #94a3b8;
}
.mk-desk-cal .dashboard-calendar-day .cal-day-dots i.cal-dot-visit,
.vt-desk-cal .dashboard-calendar-day .cal-day-dots i.cal-dot-visit{ background: #F3A712; }
.mk-desk-cal .dashboard-calendar-day .cal-day-dots i.cal-dot-content,
.vt-desk-cal .dashboard-calendar-day .cal-day-dots i.cal-dot-content{ background: #3b82f6; }
.mk-desk-cal .dashboard-calendar-day .cal-day-dots i.cal-dot-link,
.vt-desk-cal .dashboard-calendar-day .cal-day-dots i.cal-dot-link{ background: #10b981; }
.mk-desk-cal .dashboard-calendar-day .cal-day-dots i.cal-dot-recruit,
.vt-desk-cal .dashboard-calendar-day .cal-day-dots i.cal-dot-recruit{ background: var(--mk-cal-yellow); box-shadow: 0 0 0 1px var(--mk-cal-navy); }
.mk-desk-cal .dashboard-calendar-day .cal-day-dots i.cal-dot-other,
.vt-desk-cal .dashboard-calendar-day .cal-day-dots i.cal-dot-other{ background: #64748b; }
.mk-desk-cal .dashboard-calendar-day.has-events.today .cal-day-dots i,
.vt-desk-cal .dashboard-calendar-day.has-events.today .cal-day-dots i{ box-shadow: none; }

.mk-desk-cal .dashboard-calendar-events,
.vt-desk-cal .dashboard-calendar-events{ display: none !important; height: 0 !important; margin: 0 !important; padding: 0 !important; }


/* Desk chrome: hide under-calendar hint list (events open in Swal) */
.mk-desk-cal .dashboard-calendar-events,
.vt-desk-cal .dashboard-calendar-events {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}


/* Kill outer chrome that page CSS re-applies after this file */
.mk-desk-cal.dashboard-calendar-card,
.vt-desk-cal.dashboard-calendar-card,
.dashboard-calendar-card.mk-desk-cal,
.dashboard-calendar-card.vt-desk-cal,
.dashboard-calendar-card-compact.mk-desk-cal,
.dashboard-calendar-card-compact.vt-desk-cal {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-height: none !important;
}

.mk-desk-cal.dashboard-calendar-card:hover,
.vt-desk-cal.dashboard-calendar-card:hover {
  box-shadow: none !important;
}

/* Hide type legend dots under desk calendar */
.mk-desk-cal .dashboard-calendar-legend,
.vt-desk-cal .dashboard-calendar-legend {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}


/* ===== Alignment + today (beat page #dashboard_event_calendar_wrap rules) ===== */
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-weekdays,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-weekdays,
.mk-desk-cal .dashboard-calendar-weekdays,
.vt-desk-cal .dashboard-calendar-weekdays {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 0 !important;
  margin: -42px 0 0 !important;
  padding: 10px 12px 8px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: var(--mk-cal-yellow, #F3A712) !important;
  text-align: center !important;
  letter-spacing: 0.04em;
  background: transparent !important;
  border-bottom: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
}
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-weekdays > span,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-weekdays > span,
.mk-desk-cal .dashboard-calendar-weekdays > span,
.vt-desk-cal .dashboard-calendar-weekdays > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
}
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-days,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-days,
.mk-desk-cal .dashboard-calendar-days,
.vt-desk-cal .dashboard-calendar-days,
#dashboard_event_calendar_wrap.mk-desk-cal #calendar_days_grid,
#dashboard_event_calendar_wrap.vt-desk-cal #calendar_days_grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 0 !important;
  padding: 4px 12px 14px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 220px !important;
}
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-day,
.mk-desk-cal .dashboard-calendar-day,
.vt-desk-cal .dashboard-calendar-day,
#dashboard_event_calendar_wrap.mk-desk-cal #calendar_days_grid .dashboard-calendar-day {
  aspect-ratio: 1 !important;
  max-height: none !important;
  min-height: 34px !important;
  border-radius: 0 !important;
  border: none !important;
  font-size: 0.88rem !important;
  background: transparent !important;
  color: var(--mk-cal-navy, #29335C) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  padding: 4px 0 !important;
  box-shadow: none !important;
}

/* Today: larger lighter yellow ring — number stays readable on top */
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day.today,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-day.today,
.mk-desk-cal .dashboard-calendar-day.today,
.vt-desk-cal .dashboard-calendar-day.today,
.mk-desk-cal #mk_cal_days .dashboard-calendar-day.today {
  background: transparent !important;
  color: #29335C !important;
  font-weight: 800 !important;
  position: relative;
}
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day.today::before,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-day.today::before,
.mk-desk-cal .dashboard-calendar-day.today::before,
.vt-desk-cal .dashboard-calendar-day.today::before,
.mk-desk-cal #mk_cal_days .dashboard-calendar-day.today::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.55em;
  height: 2.55em;
  transform: translate(-50%, -55%);
  border-radius: 999px;
  background: #FFE9A8 !important; /* lighter yellow */
  box-shadow: 0 0 0 2px rgba(243, 167, 18, 0.55), 0 2px 10px rgba(243, 167, 18, 0.22);
  z-index: 0;
  pointer-events: none;
}
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day.today > *,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-day.today > *,
.mk-desk-cal .dashboard-calendar-day.today > *,
.vt-desk-cal .dashboard-calendar-day.today > * {
  position: relative;
  z-index: 1;
  color: #29335C !important;
}
/* Do NOT paint a second solid circle on .cal-day-num (that stacked dark look) */
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day.today .cal-day-num,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-day.today .cal-day-num,
.mk-desk-cal .dashboard-calendar-day.today .cal-day-num,
.vt-desk-cal .dashboard-calendar-day.today .cal-day-num,
.mk-desk-cal .dashboard-calendar-day.today > span:not(.cal-day-dots),
.vt-desk-cal .dashboard-calendar-day.today > span:not(.cal-day-dots) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #29335C !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
.mk-desk-cal .dashboard-calendar-day.has-events.today,
.vt-desk-cal .dashboard-calendar-day.has-events.today,
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day.has-events.today {
  background: transparent !important;
  color: #29335C !important;
}


/* ===== desk5: today readable + other-month dim ===== */
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day.today,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-day.today,
.mk-desk-cal .dashboard-calendar-day.today,
.vt-desk-cal .dashboard-calendar-day.today,
.mk-desk-cal #mk_cal_days .dashboard-calendar-day.today {
  background: transparent !important;
  position: relative;
  color: #29335C !important;
  font-weight: 800 !important;
}
/* Kill overlay circle that covered bare text */
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day.today::before,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-day.today::before,
.mk-desk-cal .dashboard-calendar-day.today::before,
.vt-desk-cal .dashboard-calendar-day.today::before,
.mk-desk-cal #mk_cal_days .dashboard-calendar-day.today::before {
  content: none !important;
  display: none !important;
}
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day.today .cal-day-num,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-day.today .cal-day-num,
.mk-desk-cal .dashboard-calendar-day.today .cal-day-num,
.vt-desk-cal .dashboard-calendar-day.today .cal-day-num,
.mk-desk-cal #mk_cal_days .dashboard-calendar-day.today .cal-day-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2.35em !important;
  width: 2.35em !important;
  height: 2.35em !important;
  border-radius: 999px !important;
  background: #FFF1C2 !important; /* light yellow */
  color: #29335C !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 0 0 1.5px rgba(243, 167, 18, 0.45) !important;
  position: relative !important;
  z-index: 2 !important;
}
.mk-desk-cal .dashboard-calendar-day.has-events.today,
.vt-desk-cal .dashboard-calendar-day.has-events.today,
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day.has-events.today {
  background: transparent !important;
  color: #29335C !important;
}

/* Other month / next month — clearly dimmer */
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day.other-month,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-day.other-month,
.mk-desk-cal .dashboard-calendar-day.other-month,
.vt-desk-cal .dashboard-calendar-day.other-month,
.mk-desk-cal #mk_cal_days .dashboard-calendar-day.other-month,
#dashboard_event_calendar_wrap.mk-desk-cal #calendar_days_grid .dashboard-calendar-day.other-month {
  color: #c5cdd8 !important;
  opacity: 1 !important;
  font-weight: 500 !important;
  background: transparent !important;
}
#dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day.other-month .cal-day-num,
#dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-day.other-month .cal-day-num,
.mk-desk-cal .dashboard-calendar-day.other-month .cal-day-num,
.vt-desk-cal .dashboard-calendar-day.other-month .cal-day-num {
  color: #c5cdd8 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}
.mk-desk-cal .dashboard-calendar-day.other-month .cal-day-dots i,
.vt-desk-cal .dashboard-calendar-day.other-month .cal-day-dots i {
  opacity: 0.45;
}

/* Phone: never clip the 5th/6th week (square aspect-ratio + overflow:hidden
   only showed ~4 rows, cutting the last days of the month). */
.mk-desk-cal.dashboard-calendar-card,
.vt-desk-cal.dashboard-calendar-card,
#dashboard_event_calendar_wrap.mk-desk-cal,
#dashboard_event_calendar_wrap.vt-desk-cal {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}
.mk-desk-cal-bottom,
.vt-desk-cal-bottom {
  overflow: visible !important;
  flex: 0 0 auto !important;
  height: auto !important;
  max-height: none !important;
}
.mk-desk-cal .dashboard-calendar-days,
.vt-desk-cal .dashboard-calendar-days,
#dashboard_event_calendar_wrap.mk-desk-cal #calendar_days_grid,
#dashboard_event_calendar_wrap.vt-desk-cal #calendar_days_grid {
  overflow: visible !important;
  flex: 0 0 auto !important;
  height: auto !important;
  max-height: none !important;
}

@media (max-width: 767.98px) {
  #dashboard_event_calendar_wrap.mk-desk-cal .dashboard-calendar-day,
  #dashboard_event_calendar_wrap.vt-desk-cal .dashboard-calendar-day,
  .mk-desk-cal .dashboard-calendar-day,
  .vt-desk-cal .dashboard-calendar-day,
  #dashboard_event_calendar_wrap.mk-desk-cal #calendar_days_grid .dashboard-calendar-day,
  .mk-desk-cal #mk_cal_days .dashboard-calendar-day {
    aspect-ratio: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: none !important;
  }
}
