@include export-module('co-component-activity-overview-layout') {
  .co-component-activity-overview {
    user-select: none;
    display: block;
    background: rgba(255, 255, 255, 0);
    transition: all .2s ease-in-out;
    box-shadow: inset 0 0 1px rgba(1, 1, 1, 0.3);
    padding: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    .overview-wrapper {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      gap: 30px;
      justify-content: space-between;
      .overview-current {
        display: flex;
        align-items: center;
        gap: 15px;
        .overview-wrapper-icons {
          .activity-icon {
            border-radius: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            .co-icon {
              width: 18px;
              height: 18px;
            }
          }
        }
      }
    }
    .overview-wrapper-icons {
      display: flex;
      align-items: center;
    }
    .overview-wrapper-labels {
      display: flex;
      flex-direction: column;
      gap: 5px;
      .activity-title {
        font-size: 12px;
        padding: 4px 15px;
        border-radius: 5px;
        background: #D0A46B99;
        border: 1px solid #D0A46B;
        white-space: nowrap;
        color: #FFF;
      }
      .activity-label {
        display: flex;
        align-items: center;
      }
    }
    .overview-wrapper-date {
      display: flex;
      flex-shrink: 0;
      flex-direction: column;
      margin-left: auto;
    }
    .activity-context-title {
      font-size: 10px;
    }
    .activity-title {
    }
    .date-wrapper {
      font-size: 10px;
      display: flex;
      column-gap: 10px;
      align-items: center;
      .activity-type-icon {
        flex-shrink: 0;
        height: 20px;
        width: 20px;
      }
      &.overdue {
        color: red;
        .icon [fill] {
          fill: red;
        }
      }
    }

    .overview-icon {
      .supervisor-icon {
        margin-left: -10px;
      }
    }

    .overview-main {
      display: flex;
      width: 100%;
      flex-direction: column;
      flex-wrap: wrap;
      column-gap: 10px;
      row-gap: 5px;
      .label-date-activity {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
    }
    .activity-buttons {
      display: flex;
      gap: 5px;
      flex-wrap: wrap;
      .button-trigger {
        background-color: #FFFFFF;
        border: 1px solid #D0A46B;
        height: auto;
        padding: 5px 15px;
        cursor: pointer;
        &:after {
          display: none;
        }
        span {
          font-size: 10px;
          color: #D0A46B;
          font-weight: bold;
        }
      }
      .button-trigger-icon {
        background-color: #FFFFFF;
        border: 1px solid #D0A46B;
        height: auto;
        padding: 5px 15px;
        cursor: pointer;
        span {
          font-size: 10px;
          color: #D0A46B;
          font-weight: bold;
        }
        .co-icon {
          height: 10px;
          svg [fill] {
            fill: #5FDCB3;
          }
        }
        &:after {
          display: none;
        }
      }
    }
    .date-divider {
      margin: 0 5px;
      font-weight: bold;
      font-size: 14px;
      line-height: 7px;
    }

    .date {
      min-width: 35px;
    }

    .date, .time {
      flex-shrink: 0;
      font-size: 10px;
      line-height: 10px;
    }

    &:not(.overdue):hover {
      background: #FAFAFA;
      color:  #171721;
    }
    .overview-task-wrapper {
      display: flex;
      align-items: center;
      gap: 15px;
      width: 100%;
      .activity-icon {
        border-radius: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        .co-icon {
          width: 18px;
          height: 18px;
        }
      }
      .button-trigger {
        background: #5FDCB399;
        border: 1px solid #5FDCB3;
        height: auto;
        padding: 5px 15px;
        cursor: pointer;
        margin-right: auto;
        color: #FFF;
      }
      .button-trigger-icon {
        background: #5FDCB399;
        border: 1px solid #5FDCB3;
        height: auto;
        padding: 5px 15px;
        cursor: pointer;
        margin-right: auto;
        color: #FFF;
      }
      .task-box {
        display: flex;
        flex-direction: column;
        .task-current-state {
          display: flex;
          align-items: center;
          gap: 15px;
        }
      }
    }
  }
}


