@use "../../../../../styles/abstracts/variables";
@use "../../../../../styles/abstracts/mixins";

.test {
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  height: 100vh;
  width: 100vw;
  inset: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: scroll;

  &__content {
    background: #141414;
    padding: 2rem;
    width: 90%;
    max-width: 480px;
    border-radius: 0.75rem;
    position: relative;
    margin-top: 10rem;
    margin-bottom: 4rem;

    &--close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: variables.$col-danger-bg;
      color: variables.$col-danger-color;
      padding: 0.3rem 0.5rem;
      border-radius: 5px;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.75rem;
    }

    &--details {
      &--header {
        &--helper {
          background: variables.$col-orange;
          margin-bottom: 1rem;
          max-width: 25%;
          padding: 0.4rem 0.3rem;
          border-radius: 20px;
          color: variables.$col-dark;
          font-size: 0.7rem;
          font-weight: 600;
          text-align: center;
          text-transform: capitalize;

          @media (max-width: 1000px) {
            max-width: 35%;
          }
        }

        h2 {
          font-weight: 500;
          font-size: 0.95rem;
          border-bottom: 1px solid variables.$col-border-lining;
          padding-bottom: 0.2rem;
          color: variables.$col-white;
        }

        p {
          font-size: 0.82rem;
          padding-top: 0.2rem;
          opacity: 0.8;
          line-height: 1.5;
          padding-bottom: 1rem;
          color: variables.$col-white;
        }
      }

      form {
        label {
          font-size: 0.8rem;
          color: #ccc;
          display: inline-block;
          padding-bottom: 0.3rem;
        }

        input,
        textarea {
          width: 100%;
          background: #1e1e1e;
          border: 1px solid #333;
          border-radius: 0.5rem;
          padding: 0.6rem 0.9rem;
          font-size: 0.85rem;
          color: #eee;
          margin-bottom: 1rem;

          &:focus {
            outline: none;
            border-color: #333;
          }

          &::placeholder {
            color: #fff;
            opacity: 0.7;
            font-size: 0.8rem;
          }
        }

        textarea {
          height: 8rem;
          resize: none;
          line-height: 1.8;
        }

        button {
          background: variables.$col-orange;
          padding: 0.8rem 0.5rem;
          border-radius: 10px;
          color: variables.$col-dark;
          font-size: 0.85rem;
          font-weight: 600;
          width: 100%;
          margin-top: 1rem;
          cursor: pointer;
        }
      }
    }
  }
}

::-webkit-scrollbar {
  display: none !important;
}
