.fc-toolbar.fc-header-toolbar,
  .fc-view.fc-month-view.fc-basic-view {
    font-family: "FinkHeavy", display;
  }

  span.fc-title {
    word-spacing: 4px;
  }

  .fc-row {
    position: relative;
    background: #ffffff;
  }

  .fc .fc-row .fc-content-skeleton table,
  .fc .fc-row .fc-content-skeleton td,
  .fc .fc-row .fc-helper-skeleton td {
    background: none;
    border-color: transparent;
    padding: .5rem .5rem;
  }

  .fc button {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    height: auto;
    padding: 0 1rem;
    font-size: 1rem;
    white-space: nowrap;
    cursor: pointer;
  }

  .fc th.fc-day-header {
    padding: 11px 7px;
    font-size: 18px;
    font-weight: 700;
  }

  .card {
    border: 0;
    background: transparent;
  }

  * .fc-day.fc-today {
    background: rgba(52, 40, 104, .03);
  }

  .btn.btn-primary {
    color: white;
    background-color: #169584;
    padding: 10px 20px;
    border: 1px solid;
  }

  .btn.btn-primary:hover {
    background-color: rgb(22, 149, 132, 0.9);
  }

  .btn.btn-primary:focus {
    box-shadow: 0 0 0 .2rem rgba(22, 149, 132, 0.3);
  }

  .fc-view-container {
    grid-column: 1 / span 7;
    grid-row: 2;
  }

  .fc-content-skeleton {
    padding-bottom: 0 !important;
    height: 100px;
  }

  .fc-week {
    height: 100px !important;
    min-height: auto !important;
  }

  .fc-day-grid-event.event-open,
  .fc-day-grid-event.event-closed {
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
    margin: 6px 8px 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .fc-day-grid-event.event-open .fc-content,
  .fc-day-grid-event.event-closed .fc-content {
    /*border-left-width: 3px;*/
    /*border-left-style: solid;*/
    padding: 6px 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
  }

  /* OPEN styling */
  .fc-day-grid-event.event-open .fc-content {
    /*border-left-color: #28a745;*/
    /*background: rgba(40, 167, 69, 0.12);*/
    color: #1e7e34;
  }

  /* CLOSED styling */
  .fc-day-grid-event.event-closed .fc-content {
    border-left-color: #dc3545;
    background: rgba(220, 53, 69, 0.12);
    color: #b02a37;
    text-transform: uppercase;
    font-weight: 700;
  }

  .fc-day-grid-event i {
    margin-right: 6px;
    font-size: 1.1em;
  }

  .fc-day-grid-event {
    margin-top: auto !important;
    margin-bottom: 8px !important;
  }

  .fc-day-grid .fc-row .fc-content-skeleton {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .btn__detail:hover {
    color: white;
    background-color: #1fa795;
  }

  .fc-today-button {
    background-color: #2e79a0 !important;
    text-transform: capitalize !important;
  }

  .fc-today-button:hover {
    background-color: rgb(46, 121, 160, 0.9) !important;
  }

  .fc-scroller {
    height: auto !important;
    overflow-y: auto !important;
  }

  /* ── New styles for two-line layout in month view ── */
  .fc-day-grid-event .fc-content {
    padding: 4px 6px !important;
    line-height: 1.3;
  }

  .fc-day-grid-event .status-line {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 1px;
  }

  .fc-day-grid-event .hours-line {
    font-weight: 500;
    font-size: 16px;
    opacity: 0.9;
    color: inherit;
  }

  .fc-day-grid-event {
    white-space: normal !important;
    height: auto !important;
  }

  .fc .fc-row .fc-content-skeleton td{
    padding: 0px !important;
  }

  /* Mobile-specific list view styles */
  .fc-list-view {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
  }

  .fc-list-view .fc-list-table {
    border: 0 !important;
  }

  .fc-list-view .fc-list-heading {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 14px 18px !important;
  }

  .fc-list-view .fc-list-item {
    background: #ffffff;
    border-bottom: 1px solid #f1f3f5;
    padding: 14px 18px;
  }

  .fc-list-view .fc-list-item:hover {
    background-color: rgba(22, 149, 132, 0.05);
  }

  .fc-list-view .fc-list-item:last-child {
    border-bottom: 0;
  }

  .fc-list-heading.fc-today {
    background: rgba(227, 242, 253, 0.7) !important;
  }

  .fc-list-view .fc-list-item-time {
    display: none !important;
  }
  
@media (min-width: 800px) {

  .fc-day-grid-event .status-line {
    position: relative;
    padding-left: 12px;
  }

  .fc-day-grid-event .status-line::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 5px;
    background-color: #1e7e34;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-70%);
  }

}

td.fc-list-item-title {
    font-family: "FinkHeavy", display;
    font-weight: 600;
}
