@import "./login.scss";
/* TODO: convert using tailwind */
.employee {
  .breadcrumb {
    @apply ml-sm mb-lg;
  }
  .ground-container {
    margin-bottom: 56px;
    @apply flex flex-col;
  }
  .card-home {
    font-size: 16px;
    padding: 0 0 16px 0;
    width: 92vw;
    display: inline-block;
    margin: 8px auto;
  }
  .topbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 24px;
    background: white;
    box-shadow: rgba(0, 0, 0, 0.24) 0 1px 4px;
    z-index: 9999;

    img {
      display: inline;

      &.city {
        margin-right: 8px;
        height: 48px;
        width: 48px;
      }

      &.state {
        height: 20px;
        max-height: 20px;
        width: auto;
      }
    }

    .ulb {
      font-weight: bold;
    }

    .right {
      float: right;
      margin-top: 12px;

      .user-img-txt {
        background: #f47738;
        padding: 10px 15px;
        border-radius: 50%;
        color: white;
        font-weight: 700;
      }
    }
  }

  .main {
    padding-top: 88px;
  }

  .loginContainer {
    padding-top: 88px;
  }

  .react-time-picker {
    width: 100%;
  }

  .react-time-picker__wrapper {
    border: 1px solid #464646;
  }

  .react-time-picker__clock {
    display: none;
  }

  .react-time-picker__inputGroup__leadingZero {
    padding-right: 8px;
    display: inline !important;
  }

  .react-time-picker__inputGroup__input {
    padding: 0;
    min-width: none;
    outline: none !important;
    border: none !important;
  }

  .react-time-picker__wrapper {
    padding-left: 8px;
  }
}

.citizen {
  .main {
    padding-top: 82px;
    min-height: calc(100vh - 90px);
  }
}

.citizen,
.employee {
  .sidebar {
    position: fixed;
    left: 0;
    padding: 20px 0;
    background: #22394d;
    height: 100%;
    color: white;
    margin-top: 80px;
    z-index: 1000;

    .actions {
      cursor: pointer;
      padding: 0 20px;
      margin-bottom: 32px;

      &.active {
        border-right: 4px solid #f47738;
        padding-right: 16px;
      }
    }
  }

  .wrapperStyles {
    margin-top: -5px;
    padding-left: 20px;
    padding-top: 10px;
  
    .containerStyles {
      border: 1px solid #505A5F;
      padding: 16px;
      margin-bottom: 20px;
    }
  
    &.leftBorder {
      border-left: 2px solid rgba(0, 0, 0, 0.12);
    }
  }
  
  .rowContainerStyles {
    @apply flex flex-col;
  }
  
  .tableContainerStyles {
    border: 1px solid #505A5F;
    padding: 16px;
    margin-bottom: 20px;
  }
  
  .historyTables {
    display: grid;
    grid-template-rows: 100px 100px;
    grid-template-columns: repeat(5, minmax(100px, 1fr)); 
  }
  
  .historyContent {
    margin: 0 10px;
    position: relative;
    padding-bottom: 5px;
  }
  
  .historyCheckpoint {
    background-color: #fe7a51;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    display: inline-block;
    position: relative;
    left: -9px;
    top: 4px;
  
    &.zIndex {
      z-index: 10;
    }
  }
  
  .historyTableDateLabel {
    color: rgba(0, 0, 0, 0.87);
    font-size: 16px;
    font-weight: 700;
    line-height: 17px;
    text-align: left;
    display: inline-block;
    padding-top: 5px;
  
  }
  
  .bottomMargin {
    margin-bottom: 0px;
  }
  
  .historyTableDate {
    color: rgba(0, 0, 0, 0.87);
    font-size: 19px;
    font-weight: 400;
    line-height: 17px;
    text-align: left;
    display: inline-block;
    padding-top: 10px;
  }
  
  .historyHorizontalBar {
    background-color: rgba(0, 0, 0, 0.12);
    width: auto;
    height: 2px;
    margin-left: 16px
  }

  .smallText {
    font-weight: 500;
    font-size: 14px;
  }
}

.citizen {
  .sidebar {
    margin-top: 54px;
    min-width: 200px;
    .actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }
  }
}

.link {
  @apply text-primary-main cursor-pointer ;

  :hover {
    @apply text-primary-dark;
  }
}

.RightMostTopBarOptions{
  @apply inline-block float-right;
  .EventNotificationWrapper{
    @apply relative cursor-pointer;
    span{
      top: -10px;
      right: -10px;
      @apply absolute bg-error h-5 w-5 rounded-full text-center;
      p{
        line-height: 20px;
      }
    }
  }
}

@media (min-width: 640px) {
  .employee {
    .ground-container {
      @apply block ml-md;
    }
    .breadcrumb {
      @apply mb-lg;
      margin-left: 0;
    }
    .card-home {
      width: 270px;
      margin-right: 16px;
      margin-bottom: 16px;
    }
    .card-home-hrms {
      width: 405px;
      padding: 0px;
      margin-right: 16px;
      margin-bottom: 16px;
    }
    .main {
      padding-top: 80px;
      margin-left: 72px;
      width: calc(100%-83px);
    }
  }

  .citizen {
    .main {
      gap: 0.3rem;
      width: 100%;
      padding-top: 80px;
      padding-left: 16px;
      min-height: calc(100vh - 40px);
    }

    .center-container {
      width: 70%;
      margin: 0 auto;
    }
  }
}

.fullWidth {
  width: 100%;
}

.multi-select-container {
  .disposal-text {
    @apply font-bold;
  }

  .disposal-info {
    @apply my-md ml-sm;
  }

  .disposal-action-bar {
    @apply flex justify-between items-center;
  }
}

@screen dt {
  .d-grid {
    display: grid;
    grid-template-columns: 250px 250px 250px 250px;
    column-gap: 10px;
    row-gap: 2px;
    margin-left: -12px;
  }

}

.m-auto {
  margin: auto !important;
}

.mb-50{
  margin-bottom: 50px;
}
.mb-25{
  margin-bottom: 25px;
}

