@import "./_common-style/_navbar";
@import "./_common-style/_footer";
@import "./_common-style/_sidebar";

body {
  overflow-x: hidden;
}

.dashboard {
  display: block;
}

.dropdown {
  display: none;
}

.content {
  width: 80%;
  margin: 0;
  min-height: calc(100vh - 80px);

  .hidden_notification{
    display: none;
  }
  .display_notification{
    position: absolute;
    display: inline-block;
    font-size: 18px;
    width: fit-content;
    padding: 20px 15px;
    border-radius: 4px;
    background-color: #141619;
    color: #f6f5f9;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .1);
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    animation: fade 4s linear forwards;
    right: 5px;
    top: 5px;
  }
  .progress{
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: 0;
    height: 3px;
    background-image: linear-gradient(to right, #529bdb, #3250bf);
    border-radius: 4px;
    animation: progress 3s .25s linear forwards;
  }

  @keyframes fade{
    5%{
      opacity: 1;
      visibility: visible;
      transform: translate(0px);
    }
    90%{
      opacity: 1;
      transform: translateY(0px);
    }
    95%{
      opacity: 0;
    }
    100%{
      opacity: 0;
      transform: translateY(-30px);
    }
  }
  @keyframes progress{
    to{
      width: calc(100% - 10px);
    }
  }

  .report {

    width: 75%;
    margin: 40px auto;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 20px;
    height: fit-content;

    .notification-success {
      width: 100%;
      text-align: center;
      font-size: 20px;
      color: green;
      line-height: 24px;
      margin: 5px 0px;
    }

    h2 {
      width: 100%;
      text-align: center;
      margin-bottom: 20px;
      font-size: 28px;
    }

    div {
      width: 100%;

      #select {
        width: 70%;
        border-radius: 5px;
        font-size: 16px;
        padding: 10px 20px;
        margin-bottom: 4px;
      }
    }

    #select:focus {
      border-color: #6a5af9;

    }

    .form-input {
      margin-top: 15px;
      position: relative;
      line-height: 20px;
      font-size: 20px;

      span {
        margin-left: 10px;
        color: red;
        font-size: 18px;
      }

    }

    cursor: pointer;

    div {
      #Submit {
        width: 100px;
        height: 30px;
        border: none;
        background-color: #1900ff;
        color: #FFFFFF;
        border-radius: 5px;
        font-size: 18px;
        line-height: 100%;
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .content {
    width: 100%;
    padding: 0;
    min-height: calc(100vh - 80px);
  }
  .dashboard {
    display: none;
  }
  .dropdown {
    display: block;
    padding: 0;
    width: fit-content;
    height: fit-content;
  }
}