

@include export-module('cc-hour-scheduling-expandable-layout') {
  .co-hour-scheduling-expandable {
    display: flex;
    flex-direction: column;
    padding: 30px 0;
    background: #FFF;

    .custom-scheduled-object {
      position: absolute;
      left: calc(55px + var(--left));
      width: calc(var(--width) - 55px);

      top: var(--top);
      height: var(--height);
      cursor: grab;
      background: #F5F5FC;
      border: 1px solid #F5F5FC;
      transition: background-color 0.3s ease;
      padding: 0;
      margin: 0 0.5em;
      .top-resizer, .bottom-resizer {
        height: 5px;
        position: absolute;
        width: 100%;
      }

      .top-resizer {
        cursor: n-resize;
        top: 0;
      }

      .bottom-resizer {
        cursor: s-resize;
        bottom: 0;
      }
      &:hover {
      }
      &.selected {
        border: 1px solid #1A73E8;
        cursor: pointer;
      }
    }

    .wrapper {
      position: relative;
    }

    .scheduled-objects {
      display: flex;
      flex-direction: column;
     height: 100%;

    }
    .time-block {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      background-color: #ffffff;
    }

    .hour-label {
      font-weight: bold;
      width: 60px;
      padding: 0 10px;
      position: relative;
      top: -10px;
    }
    .drag-over {
      background-color: rgba(26, 115, 232, 0.2);
      transition: background-color 0.1s ease;
    }
    .object-display {
      display: flex;
      width: 100%;
      flex-direction: column;
      .object-half {
        padding: 5px;
        min-height: 30px;
        border-style: solid;
        border-color: #F5F5FC;
        border-width: 1px 0 1px 0;
        transition: background-color 0.3s ease;
        &.has-objects {
          cursor: grab;
          background: #F5F5FC;
          border: 1px solid #F5F5FC;
          &:hover {
            background-color: rgba(26, 115, 232, 0.2);
          }
          &.active {
            background-color: rgba(26, 115, 232, 0.2);
            border: 1px solid #1A73E8;
          }
        }
      }
    }

    .scheduled-object {
      padding: 0.5em;
      background-color: #4CAF50;
      color: white;
      border-radius: 3px;
      cursor: pointer;
      display: flex;
      flex-direction: column;

      .title {
        font-weight: bold;
      }
    }
  }
}
