@mixin dashboard-theme() {
  app-dashboard {
    .dashboard {
      height: 100%;
      padding: 20px 0;

      .div {
        height: 100%;
      }

      .card {
        background: $card-color;
        box-shadow: -2px 6px 9px #2f2c8333;
        border-radius: 20px;
        height: 100%;

        &__title {
          background-color: $main-color;
          padding: 10px 20px;
          color: $white-color;
          border-radius: 20px 20px 0 0;
          font-size: 20px;
          a {
            text-decoration: underline;
            font-size: 18px;
          }
          img {
            cursor: pointer;
          }
        }
        &__body {
          padding: 20px;
          h1 {
            color: #0fbb37;
            padding: 10px 0;
            font-size: 18px;
          }
          p {
            font-size: 25px;
            color: $main-blue;
          }
          ul {
            list-style: none;
            li {
              border-bottom: 3px solid #2f2c8333;
              padding-left: 10px;
              padding-right: 10px;
              &:last-child {
                border-bottom: 0;
              }
              div {
                .time {
                  color: $span-color;
                  font-size: 15px;
                }
                .meet_title {
                  font-size: 15px;
                  margin: 0 5px;
                  color: $black-color;
                }
              }
            }
          }
          &__message {
            img {
              width: 30px;
              height: 30px;
              object-fit: cover;
              border-radius: 50%;
            }
            &__user {
              p {
                font-size: 15px;
                color: #707070;
              }
            }
          }

          &__details {
            &__count {
              width: 20px;
              height: 20px;
              border-radius: 50%;
              background-color: #0fbb37;
              color: $white-color;
              font-size: 13px;
              display: block;
              text-align: center;
              line-height: 1.3rem;
              margin: 5px auto;
            }

            &__time {
              color: #0fbb37;
              font-size: 13px;
              display: block;
              text-align: center;
            }
          }

          .overview {
            padding: 0 10px;
            p {
              color: $span-color;
              font-size: 13px;
              margin-top: 3px;
            }
          }
        }
      }

      .mat-calendar-header {
        background-color: $main-color;
        color: $white-color;
        border-radius: 25px 25px 0 0;
      }

      .mat-mdc-card {
        border-radius: 25px;
      }

      .mat-mdc-button:not(:disabled) {
        color: $white-color !important;
      }
    }

    .todo-list {
      width: 100%;
      box-shadow: -2px 6px 9px #2f2c8333;
      border-radius: 25px;
      &__main {
        background-color: $main-color;
        padding: 10px 20px;
        border-radius: 25px 25px 0 0;
        color: $white-color;
        h1 {
          span {
            background-color: #ffffff26;
            padding: 2px 8px;
            border-radius: 50%;
          }
        }
      }

      ul {
        list-style: none;
        li {
          border-bottom: 1px solid $open-blue;
          &:last-child {
            border-bottom: none;
          }
          .content {
            padding: 10px 0;
            p {
              color: $span-color;
              font-size: 15px;
            }
            .span {
              font-size: 14px;
              color: $span-color;
            }
            .calender {
              margin-top: 5px;
              font-size: 14px;
              img {
                width: 10px;
              }
              span {
                color: $main-color !important;
                margin: 0 5px;
              }
            }
          }
        }
      }
    }

    .today-tasks {
      width: 100%;
      margin-top: 2rem;
      margin-bottom: 2rem;
      padding-bottom: 3rem;
      &__main {
        background-color: $main-color;
        padding: 20px;
        border-radius: 20px 20px 0 0;
        color: $white-color;
        h1 {
          font-size: 16px;
        }
      }

      ul {
        list-style: none;
        li {
          border-bottom: 3px solid #ccc;
          &:last-child {
            border-bottom: 0;
          }
          .description {
            padding: 20px;
            p {
              font-size: 15px;
              color: $span-color;
              margin-bottom: 5px;
            }
          }
        }

        .avatar-count {
          box-shadow: 0px 2px 5px #00000029;
        }
      }

      .actions {
        padding: 20px;
        .to-do {
          background-color: #ff6600;
          border: 1px solid #ff6600;
          padding: 6px 10px;
          border-radius: 20px;
          color: #fff;
        }

        .in-progress {
          background-color: #009fe3;
          border: 1px solid #009fe3;
          padding: 6px 10px;
          border-radius: 20px;
          color: #fff;
        }

        .need-review {
          background-color: #ffed00;
          border: 1px solid #ffed00;
          padding: 6px 10px;
          border-radius: 20px;
        }

        .done {
          background-color: #0fbb37;
          border: 1px solid #0fbb37;
          padding: 6px 10px;
          border-radius: 20px;
          color: $white-color;
        }

        ul {
          list-style: none;
          margin-top: 10px;
          li {
            background-color: $white-color;
            padding: 5px;
            border-radius: 10px;
            border-bottom: 0;
            margin-top: 0;
            &:last-child {
              background-color: transparent !important;
            }
          }

          .avatar-count {
            padding: 7px;
            border-radius: 50%;
            font-size: 10px;
          }
        }
      }
    }
  }
  .company-home {
    // padding: 20px;
    margin: 20px 0;
    .projects {
      background-color: $off-white;
      box-shadow: -2px 6px 9px #2f2c8333;
      border-radius: 25px;

      main {
        background-color: $main-color;
        color: $white-color;
        padding: 10px 10px;
        border-radius: 10px 10px 0 0;
        h2 {
          font-size: 18px;
        }
      }
    }
    .project {
      padding: 8px;
      background: $white-color;
      border-radius: 10px;
      margin: 10px 5px;
      p {
        color: $main-color;
        font-weight: bold;
        font-size: 14px;
        margin-bottom: 10px;
      }
      .progress {
        width: 100%;
        position: relative;
        height: 8px;
        background-color: #f1f1f1;
        border-radius: 20px;
      }
      .progress-bar {
        position: absolute;
        width: 30%;
        height: 8px;
        background-color: $main-color;
        border-radius: 20px;
      }
      .progress-value {
        font-size: 13px;
        color: $main-color;
      }

      h5 {
        margin-top: 2rem;
        color: #0fbb37;
      }

      .project-footer {
        margin-top: 1rem;
        p {
          margin: 0;
        }
      }
    }

    .create-project,
    .view-invoices {
      background-color: #00aeef;
      border-radius: 18px;
      padding: 20px 0;
      span {
        color: $white-color;
        font-size: 18px;
      }
    }

    .create-contract {
      background-color: #2e368f;
      border-radius: 18px;
      padding: 20px 0;
      margin-top: 20px;
      span {
        color: $white-color;
        font-size: 18px;
      }
    }

    .view-invoices {
      margin-top: 20px;
    }

    .teams {
      background-color: #f4f4f9;
      border-radius: 18px;
      height: 400px;
      overflow-y: auto;

      main {
        background-color: $main-color;
        color: $white-blue;
        border-radius: 18px 18px 0 0;
        padding: 10px 10px;
        h1 {
          color: $white-color;
          font-size: 15px;
        }
      }

      ul {
        list-style: none;
        padding: 20px 0;
        li {
          padding: 8px 10px;
          color: $main-color;
          margin-bottom: 8px;
          transition: all 0.5s;
          width: inherit;
          border-radius: 10px;
          font-size: 15px;
          width: fit-content;
          &:hover {
            background-color: #2f2c8326;
          }
        }
      }
    }

    .toDo {
      background-color: #f4f4f9;
      border-radius: 18px;
      height: 400px;
      overflow-y: auto;

      main {
        background-color: $main-color;
        color: $white-blue;
        border-radius: 18px 18px 0 0;
        padding: 10px 10px;
        h1 {
          color: $white-color;
          font-size: 15px;
        }
      }

      ul {
        list-style: none;
        padding: 20px 0;
        li {
          padding: 8px 10px;
          color: $main-color;
          margin-bottom: 8px;
          transition: all 0.5s;
          width: inherit;
          border-radius: 10px;
          font-size: 15px;
          width: fit-content;
          &:hover {
            background-color: #2f2c8326;
          }
          p {
            color: #707070;
            font-size: 14px;
          }
          span {
            font-size: 13px;
            color: #707070;
            display: block;
          }

          .date {
            color: $main-color;
          }
        }
      }
    }
  }
}
