/*!
 * Copyright (C) 2023 StApps
 * This program is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation, version 3.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <https://www.gnu.org/licenses/>.
 */

:host {
  .day-wrapper {
    border-left: 1px solid var(--ion-item-border-color);
    border-right: 1px solid var(--ion-item-border-color);

    &.leftmost {
      border-left: unset;
    }

    .day-header {
      position: sticky;
      top: 0;
      left: 0;
      height: fit-content;
      padding: var(--spacing-md);
      border-bottom: 2px solid var(--ion-item-border-color);
      font-size: var(--font-size-md);
      font-weight: var(--font-weight-bold);
      text-align: center;
      background-color: var(--ion-background-color);
      z-index: 3;

      &.leftmost {
        border-left: 1px solid var(--ion-item-border-color);
      }
    }
  }

  .schedule-card {
    overflow: hidden;
  }

  div {
    height: 100%;
    width: 100%;
  }

  .horizontal-group {
    position: absolute;
    top: 10px;
    left: 0;
    grid-column: 1;
    grid-row: 1;
    width: 100%;

    box-sizing: border-box;
    max-width: inherit;

    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  .vertical-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: var(--calender-date-line-gray);
  }
}
