@import "global/colors.less";

.disabled {
  pointer-events: none;
}

.new-style {
  &.container, .container {
    max-width: 1170px;
    width: 100% !important;
    box-sizing: border-box;
  }

  .large-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 24px;
  }

  .h1 {
  font-size: 20px !important;
  }

  .heading {
    justify-content: space-between;
    flex-direction: row;

    .col-event-title {
      margin-bottom: 16px;
      display: flex;
      flex-direction: column;
      flex-shrink: 0;

      .event-name {
        color: var(--dark-grey1);
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 0;
        line-height: 24px;
      }

      .event-location {
        margin: 8px 0px;
        color: var(--grey);
        font-size: 14px;
        letter-spacing: 0;
        line-height: 19px;
      }

      div.event-url {
        display: flex;
        color: var(--light-blue);

        a {
          cursor: pointer;
          display: inline-block;

          i {
            height: 17px;
            width: 16px;
            display: inline-block;
            background-size: cover;

            &.event-copy {
              margin: 0px 16px 0px 24px;
              background-image: url(../img/dashboard/Event/copy.svg);
            }

            &.event-share {
              background-image: url(../img/dashboard/Event/share.svg);
            }
          }
        }
      }

      div.share-btns {
        margin-top: 8px;
        display: flex;
      }
    }

    .event-buttons {
      margin-bottom: 8px;
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      flex-flow: row wrap;

      a {
        margin-bottom: 8px;
        white-space: nowrap;
        padding: 8px 8px;
        border-radius: 100px;
        height: 32px !important;
        display: flex;
        align-items: center;

        &:hover {
          border-color: #7B61FF !important;

          .event-import {
            filter: brightness(0) saturate(100%) invert(52%) sepia(98%) saturate(6025%) hue-rotate(237deg) brightness(100%) contrast(92%);
          }
        }

        i {
          margin: 0;
          margin-right: 4px !important;
        }

        .event-import {
          height: 12px;
          width: 12px;
          background-image: url(../img/dashboard/Event/import.svg);
        }

        .event-manage-locations {
          height: 12px;
          width: 8px;
          background-image: url(../img/dashboard/Event/pin.svg);
        }

        .event-edit {
          height: 11px;
          width: 11px;
          background-image: url(../img/dashboard/Event/edit.svg);
        }

        .event-export {
          height: 14px;
          width: 13px;
          background-image: url(../img/dashboard/Event/export.svg);
        }

        .event-managers {
          height: 12px;
          width: 14px;
          margin: 0 !important;
          background-image: url(../img/dashboard/Event/bullhorn.svg);
        }
      }
    }
  }

  .import-attendee-new {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid #EAEAEA;
    border-radius: 4px;
    padding: 16px 24px 24px;
    margin-bottom: 24px;

    .title {
      color: var(--dark-grey1);
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0;
      line-height: 25px;
    }

    .fileUploadWrapper-new {
      margin: 8px 0px;
      box-sizing: border-box;
      border: 1px solid #EAEAEA;
      border-radius: 4px;

      input.input-error {
        background: none !important;
      }

      input[type="file"] {
        border: none !important;
        padding-top: 14px;
        padding-left: 15px;
        color: #757575;
        font-size: 14px;
        letter-spacing: 0;
        line-height: 19px;
        background: none;
        box-shadow: none;
      }

      input[type=file]::-webkit-file-upload-button {
        display: none;
      }

      .submit {
        position: relative;
        text-align: center;
        height: 40px;
        width: 15%;
        margin: 2px;
        border-radius: 2px;
        background-color: @ntw-light-blue;
        background-image: none;
        z-index: 2;
        opacity: inherit;

        &[disabled] {
          background: @ntw-white !important;
          color: #421cb745 !important;
          border: 1px solid #421cb745 !important;
        }
      }
    }

    .download-templates {
      color: #7B9DC3;
      font-size: 12px;
      letter-spacing: 0;
      line-height: 20px;
    }
  }

  .event-guide {
    .card {
      width: 100%;
      box-sizing: border-box;
      padding: 24px 24px 8px;
      border: 1px solid #bfb7fa75;
      border-radius: 14px;
      background-color: rgba(100, 82, 244, 0.1);

      .card-number {
        width: 30px;
        height: 30px;
        position: absolute;
        background-color: #6553F4;
        border-radius: 20px;
        margin-left: -32px;
        margin-top: -32px;
        padding-top: 5px;

        span {
          color: #fff;
          margin-left: 12px;
          font-weight: 600;
          font-family: 'Montserrat';
        }
      }
    }

    .guide-title {
      font-family: 'Montserrat';
      margin-bottom: 14px;
      color: var(--mystery-purple);
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 0;
      line-height: 19px;
      display: flex;
      justify-content: space-between;

      .progress {
        margin: 0;
        width: 200px;
        border-radius: 20px;

        .progress-bar {
          background: #4BCF69;
        }
      }

      .percent-number {
        font-family: 'Montserrat';
        font-weight: 600;
        font-size: 12px;
        margin-right: 10px;
        color: #3B3B3B;

        span {
          color: @krowden-success-green;
        }
      }

      .angle {
        color: var(--mystery-purple);
      }
    }

    .guide-description {
      font-family: 'Montserrat';
      margin: 0px 0px 18px;
      color: var(--mystery-purple);
      font-size: 12px;
      letter-spacing: 0;
      line-height: 24px;
    }

    .card-body {
      margin: 0 -15px;
      display: flex;
      flex-wrap: wrap;

      .card {
        font-family: 'Montserrat';
        border-radius: 10px;
        background-color: #FFFFFF;
        padding: 0;
        margin-bottom: 16px;

        .step-footer {
          height: 30px;
          display: flex;
          align-items: center;
          background-color: rgba(66, 28, 183, 0.05);
          font-family: 'Montserrat';
          font-weight: 400;
          font-size: 11px;
          line-height: 15px;
          justify-content: flex-end;
          padding-right: 15px;
          border-bottom-left-radius: 9px;
          border-bottom-right-radius: 9px;

          a {
            &.skip {
              color: var(--red) !important;
              text-decoration: underline;
            }

            &.mark-as-done {
              color: var(--green-dim) !important;
              text-decoration: underline;
              display: none;
            }
          }
        }

        &:hover {
           .step-description {
            opacity: 1;
            transition: 0.5s;
            transition-delay: 0.1s;
          }
          border: 1px solid var(--light-blue);
        }

        .guide-step {
          cursor:pointer;
          justify-content: space-between;
          padding: 12px 15px;

          a.check-task{
            padding: 0;
            display: flex;
          }

          .checks {
            width: 30px;
          }

          .guide-step-title {
            width: 200px;
            display: flex;
            flex-direction: column;
            align-items: self-start;
            margin-left: 5px;
          }

          .fa-check-circle {
            display: none;
            content: url(../img/dashboard/Mail/check.svg);

            &::before {
              font-size: 24px;
            }
          }

          .fa-arrow-right {
            content: url(../img/dashboard/Mail/arrow-right.svg);
          }

          .fa-circle-o {
            font-size: 24px;
            color: var(--light-grey1);

            &:hover {
              color: @ntw-light-blue;
            }
      
          }

          .check-done {
            display: inline-block;
            margin-bottom: -3px;
            box-sizing: border-box;
          }

          .step {
            color: var(--light-blue);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0;
            line-height: 20px;
          }

          &:hover {
          
            .fa-arrow-right {
              filter: brightness(0) saturate(100%) invert(67%) sepia(46%) saturate(597%) hue-rotate(81deg) brightness(96%) contrast(83%);
            }
          }
        }

        .step-title {
          align-items: center;
          white-space: normal;
          text-align: left;
          width: 250px;
          color: var(--dark-grey2);
          font-size: 12px;
          font-weight: 600;
          letter-spacing: 0;
          line-height: 15px;
        }

        .step-description {
          color: var(--grey);
          font-size: 12px;
          letter-spacing: 0;
          line-height: 20px;
          text-align: justify;
        }

        .step-description {
          position: absolute;
          opacity: 0;
          z-index: 1;
          left: 67%;
          top: -68px;
          transform: translateX(-50%);
        }

        .tooltip-text {
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
          background-color: var(--light-blue);
          padding: 10px;
          border-radius: 5px;
          color: white;
          line-height: 15px;
          transition: 1s;
          width: 200px;
        }

        &.completed {
          border: 1px solid #4BCF69;

          .guide-step {
            .fa-check-circle {
              content: url(../img/dashboard/Mail/check.svg);
              display: inline-block;
            }

            .check-done {
              display: none;
            }

            .step {
              text-decoration: line-through;
              color: var(--green-dim);
            }
          }

          .step-title {
            align-items: center;
            color: var(--light-grey1);
            text-decoration: line-through;
          }

          .step-description {
            color: var(--light-grey1);
            text-decoration: line-through;
          }

          .step-footer {
            a {
              display: none;
            }
          }
        }

        &.skipped {
          border: 1px solid var(--red);

          .step {
            text-decoration: line-through;
            color: var(--red);
          }

          .step-title {
            align-items: center;
            color: var(--light-grey1);
            text-decoration: line-through;
          }

          .check-done {
            display: none;
          }

          .fa-check-circle {
            content: url(../img/dashboard/Mail/skip-mail.svg);
            display: inline-block;
          }

          .step-footer {
            a.skip {
              display: none;
            }

            a.mark-as-done {
              display: block;
            }
          }
        }
      }
    }
  }

  .statistic {
    margin-bottom: 50px;

    .statblock {
      height: 168px;
      border: 1px solid #EEEEEE;
      background-color: #FFFFFF;
      color: var(--mystery-purple);
      padding: 24px 0px;

      span {
        font-size: 40px;
        font-weight: bold;
        letter-spacing: 0;
        line-height: 55px;
        padding-bottom: 3px;
      }

      p {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0;
        line-height: 19px;
      }

      a {
        border: none;
        background-color: #FFFFFF;
        color: var(--green-dim);
        font-size: 14px;
        font-weight: normal;
        letter-spacing: 0;
        line-height: 19px;
        padding: 0;
        margin-top: 24px;

        i {
          font-size: 10px;
          margin-left: 6px;
        }
      }

      &:hover {
        border: 2px solid var(--mystery-purple);

        span {
          color: var(--mystery-purple);
          font-weight: 600;
        }
      }
    }
  }

  .chart {
    margin-bottom: 80px;

    h2 {
      color: var(--mystery-purple);
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 0;
      line-height: 24px;
    }

  }

  .metric {
    margin-top: 16px;

    .statblock {
      height: 126px;
      border: 1px solid #EEEEEE;
      background-color: #FFFFFF;
      padding: 24px 0px;

      span {
        color: var(--mystery-purple);
        font-size: 40px;
        font-weight: bold;
        letter-spacing: 0;
        line-height: 55px;
        padding-bottom: 4px;
      }

      p {
        color: #88929E;
        font-size: 14px;
        font-weight: normal;
        letter-spacing: 0;
        line-height: 19px;
      }
    }
  }
}
  
.input-with-title {
  
  input {
    width: 100%;
    border: 1px solid #EAEAEA;
    border-radius: 4px;
    padding: 16px 16px 13px;
    color: #545454;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 19px;
  }
  span {
    position: absolute;
    margin-left: 20px;
    margin-top: -7px;
    background-color: #ffffff;
    padding: 0 5px;
    color: #88929E;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 15px;
  }
}

@media only screen and (max-width: 920px) {
  .new-style {
    .heading {
      flex-direction: column;
      .event-buttons {
        justify-content: flex-start;
      }
    }
  }
}

@media only screen and (max-width: 767px) {
  .new-style {
    .header-arrow {
      height: 32px;
      margin-bottom: 2px;
    }

    .heading {
      .col-event-title {
        margin-bottom: 8px;

        .event-location {
          margin: 2px 0 4px;
          line-height: 16px;
        }

        div.event-url a i.event-copy {
          margin: 0 8px 0 12px;
        }

        div.share-btns {
          margin-top: 4px;
        }
      }

      .event-buttons {
        margin-bottom: 12px;
        gap: 4px 6px;

        a {
          margin-bottom: 0 !important;
          margin-right: 0 !important;
          padding: 4px 7px;
          height: 26px !important;
        }
      }
    }

    .header-line {
      margin: 0 0 12px !important;
    }
  }
}

#page-content-wrapper {
  @media (max-width: 767px) {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}
