.shadow-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); /* Softer shadow */
    z-index: 2;
}
.shadow-hover:hover .hover-icon {
    opacity: 1 !important;
}
.pulse-badge {
    animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.rounded-lg { border-radius: 12px; }

.home-calendar-card {
  border: 1px solid rgba(130, 197, 255, 0.24) !important;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(8, 23, 43, 0.94), rgba(8, 18, 32, 0.93)) !important;
}
.home-calendar-card .card-header {
  background: rgba(8, 23, 42, 0.72) !important;
  border-bottom: 1px solid rgba(129, 196, 255, 0.24) !important;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px 10px;
}
.home-calendar-card .card-title {
  color: #e6f4ff !important;
  font-family: 'Outfit', sans-serif;
  margin: 0;
  letter-spacing: 0.02em;
}
.home-calendar-subtitle {
  margin-top: 3px;
  font-size: 0.79rem;
  color: #8fbde4;
  font-weight: 600;
}
.home-calendar-card .btn-tool {
  color: #9ad4ff !important;
  border-radius: 10px;
  border: 1px solid rgba(133, 199, 255, 0.26);
  background: rgba(32, 87, 146, 0.16);
  margin-left: 4px;
}
.home-calendar-card .btn-tool:hover {
  color: #f0f9ff !important;
  background: rgba(67, 145, 218, 0.24);
}
.home-calendar-card .card-body {
  padding: 12px;
}

#dashboard-calendar {
  min-height: 0;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(126, 193, 255, 0.24);
  background: linear-gradient(140deg, rgba(8, 33, 60, 0.86), rgba(8, 20, 38, 0.88));
}
#dashboard-calendar .fc-view-harness,
#dashboard-calendar .fc-scroller {
  height: auto !important;
  overflow: visible !important;
}
#dashboard-calendar .fc-toolbar.fc-header-toolbar {
  margin-bottom: 0.8rem;
  gap: 8px;
}
#dashboard-calendar .fc-toolbar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #eaf6ff;
}
#dashboard-calendar .fc-button {
  border-radius: 999px !important;
  border: 1px solid rgba(131, 202, 255, 0.38) !important;
  background: rgba(58, 130, 204, 0.24) !important;
  color: #dff2ff !important;
  box-shadow: none !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: none;
  padding: 0.26rem 0.6rem;
}
#dashboard-calendar .fc-button:hover,
#dashboard-calendar .fc-button:focus {
  background: rgba(92, 167, 241, 0.3) !important;
}
#dashboard-calendar .fc-button-primary:not(:disabled).fc-button-active,
#dashboard-calendar .fc-button-primary:not(:disabled):active {
  background: rgba(101, 182, 255, 0.4) !important;
  color: #f3fbff !important;
}
#dashboard-calendar .fc-scrollgrid,
#dashboard-calendar .fc-theme-standard td,
#dashboard-calendar .fc-theme-standard th {
  border-color: rgba(125, 193, 255, 0.18);
}
#dashboard-calendar .fc-col-header-cell-cushion {
  color: #b8daf7;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 2px;
}
#dashboard-calendar .fc-daygrid-day-number {
  color: #d9eeff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 6px;
}
#dashboard-calendar .fc-day-today {
  background: rgba(89, 170, 248, 0.16) !important;
}
#dashboard-calendar .fc-daygrid-event {
  border-radius: 9px;
  border: 1px solid rgba(128, 203, 255, 0.44);
  background: linear-gradient(90deg, rgba(67, 153, 228, 0.85), rgba(72, 188, 209, 0.83));
  color: #05203d;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 7px;
  margin-top: 2px;
}
#dashboard-calendar .fc-daygrid-event .fc-event-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
#dashboard-calendar .fc-daygrid-day-events {
  margin-top: 2px;
}
#dashboard-calendar .fc-daygrid-event-dot {
  border-color: #d8f4ff;
}
#dashboard-calendar .fc-daygrid-more-link {
  color: #9ed8ff;
}
#dashboard-calendar .fc-list {
  border-color: rgba(125, 193, 255, 0.18);
  background: rgba(8, 22, 40, 0.55);
  border-radius: 12px;
  overflow: hidden;
}
#dashboard-calendar .fc-list-day-cushion {
  background: rgba(69, 141, 214, 0.2);
  color: #dff2ff;
  font-weight: 700;
}
#dashboard-calendar .fc-list-event td {
  border-color: rgba(125, 193, 255, 0.18);
  background: rgba(8, 26, 46, 0.65);
}
#dashboard-calendar .fc-list-event-title a {
  color: #ecf7ff;
  font-weight: 700;
}
#dashboard-calendar .fc-list-event:hover td {
  background: rgba(74, 146, 219, 0.26);
}
#dashboard-calendar .fc-list-empty {
  background: rgba(8, 26, 46, 0.65);
  color: #b7d7f4;
}

@media (max-width: 767px) {
  .home-calendar-card .card-header {
    padding: 12px 12px 9px;
  }
  .home-calendar-subtitle {
    display: none;
  }
  #dashboard-calendar {
    min-height: 0;
    padding: 8px;
  }
  #dashboard-calendar .fc-toolbar.fc-header-toolbar {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0.55rem;
  }
  #dashboard-calendar .fc-toolbar-chunk {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
  }
  #dashboard-calendar .fc-toolbar-title {
    font-size: 0.92rem;
    text-align: center;
    width: 100%;
  }
  #dashboard-calendar .fc-button {
    min-height: 34px;
    padding: 0.34rem 0.74rem;
    font-size: 0.74rem;
  }
  #dashboard-calendar .fc-col-header-cell-cushion {
    font-size: 0.66rem;
  }
  #dashboard-calendar .fc-daygrid-day-number {
    font-size: 0.74rem;
    padding: 3px 5px;
  }
  #dashboard-calendar .fc-daygrid-event {
    font-size: 0.66rem;
    padding: 2px 5px;
  }
  #dashboard-calendar .fc-list-day-cushion {
    font-size: 0.76rem;
    padding: 8px 10px;
  }
  #dashboard-calendar .fc-list-event-title a {
    font-size: 0.82rem;
    line-height: 1.3;
  }
}
