body.rfqs.show {
  .header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;

    .title {
      display: flex;
      flex-direction: row;

      h1 {
        background-color: transparent;
        color: var(--color-secondary);
        padding: 0;
        border-radius: none;
        box-shadow: none;
      }

      .id {
        font-size: 18pt;
        padding-left: 8px;
        padding-right: 20px;
      }
    }

    form {
      gap: 0px;

      .move-status {
        &.ss-main {
          .ss-values {
            .ss-single {
              gap: 4px;
            }
          }
        }
      }
    }
  }

  .body {
    display: flex;
    flex-direction: column;
    gap: 20px;

    .legend {
      display: flex;
      align-items: center;
      font-weight: bold;
      text-transform: uppercase;

      &::after {
        content: "";
        flex-grow: 1;
        height: 1px;
        background: var(--color-secondary3);
        margin-left: 10px;
      }
    }

    .details-list {
      display: flex;
      flex-direction: column;
      border-radius: 8px;
      gap: 20px;

      fieldset {
        display: flex;
        flex-direction: column;
        gap: 32px;
        background-color: var(--color-white);
        padding: 16px;
        border-radius: 8px;
        border: none;
        min-inline-size: unset;

        .category {
          display: flex;
          flex-direction: column;
          gap: 12px;

          .detail-item {
            display: flex;
            flex-direction: column;
            gap: 6px;

            em {
              font-weight: bold;
              font-style: normal;
            }

            .file-item {
              display: flex;
              flex-direction: column;
              gap: 8px;

              .file-header {
                display: flex;
                justify-content: space-between;

                .file-description {
                  font-style: italic;
                  text-align: right;
                }
              }

              .download-button {
                color: var(--color-primary);
                background-color: transparent;
                border: 2px solid var(--color-primary);
                border-radius: 8px;
                padding: 10px;
                cursor: pointer;
                text-decoration: none;
                text-overflow: ellipsis;
                overflow: hidden;
                align-self: flex-start;

                &::before {
                  font-family: "Font Awesome 6 Pro";
                  content: "\f019";
                  padding-right: 12px;
                }

                &:hover {
                  background-color: var(--color-primary);
                  color: var(--color-white);
                }
              }
            }

            .image-item {
              display: flex;
              flex-direction: row;
              align-items: flex-start;
              gap: 8px;

              .question-image {
                width: 150px;
                object-fit: contain;
                border: 2px solid var(--color-primary);
                border-radius: 8px;
                padding: 16px;
              }
            }
          }
        }

        .rfq-info-card {
          display: flex;
          flex-direction: row;
          justify-content: space-between;

          .edit-button {
            align-self: flex-start;
            justify-self: flex-end;
            color: var(--color-primary);
            background-color: transparent;
            border: 2px solid var(--color-primary);
            border-radius: 32px;
            padding: 6px 32px;
            cursor: pointer;
            text-decoration: none;

            &::after {
              font-family: "Font Awesome 6 Pro";
              content: "\f303";
              padding-left: 8px;
            }
          }
        }
      }
    }

    .activity-log {
      background-color: var(--color-white);
      display: flex;
      flex-direction: column;
      padding: 16px;
      border-radius: 8px;
      gap: 24px;

      .status-change,
      .comment {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-top: 24px;
        border-top: 2px solid var(--color-secondary2);

        .details {
          display: flex;
          justify-content: space-between;
          gap: 10px;

          .user {
            display: flex;
            flex-direction: column;

            .name {
              font-weight: bold;
            }
          }
        }
      }

      .status-change {
        .status {
          display: flex;
          align-items: center;

          .from,
          .to {
            flex: 1;
            display: flex;
            background-color: var(--color-secondary3);
            padding: 10px;
            border-radius: 20px;
            align-items: center;
            justify-content: center;
            text-align: center;
            height: 100%;
          }

          .fa-solid {
            padding: 10px;
          }
        }
      }

      .comment {

        .notified,
        .notes,
        .attachments {
          display: flex;
          flex-direction: column;
          gap: 12px;

          label {
            font-weight: bold;
          }
        }

        .notified {
          .users {
            color: var(--color-primary);

            span {
              white-space: nowrap;
            }
          }
        }

        .attachments {
          .files {
            display: flex;
            flex-direction: column;
            gap: 8px;

            .download-button {
              color: var(--color-primary);
              background-color: transparent;
              border: 2px solid var(--color-primary);
              border-radius: 8px;
              padding: 10px;
              cursor: pointer;
              text-decoration: none;
              text-overflow: ellipsis;
              overflow: hidden;
              align-self: flex-start;

              &::before {
                font-family: "Font Awesome 6 Pro";
                content: "\f019";
                padding-right: 12px;
              }

              &:hover {
                background-color: var(--color-primary);
                color: var(--color-white);
              }
            }
          }
        }
      }

      form {
        button {
          &::after {
            font-family: "Font Awesome 6 Pro";
            content: "\f1d8";
            padding-left: 8px;
          }
        }
      }
    }
  }
}

@media (min-width: 768px) {
  body.rfqs.show {
    height: 100vh;
    display: flex;
    flex-direction: column;

    >.content {
      flex: 1;
      overflow: hidden;
    }

    .header {
      flex-direction: row;
      align-items: end;

      .move-status {
        width: 300px;
      }
    }

    .body {
      display: grid;
      grid-template-areas: "details activity-log";
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      overflow: hidden;

      .details-list {
        grid-area: details;
        bottom: 0;
        overflow-y: auto;
      }

      .activity-log {
        grid-area: activity-log;
        bottom: 0;
        overflow-y: auto;

        form {
          button {
            max-width: max-content;
            padding: 10px 40px;
          }
        }
      }
    }
  }
}

@media (min-width: 1280px) {
  body.rfqs.show {
    .body {
      grid-template-areas: "details activity-log";
      grid-template-columns: 1fr 1fr;
    }
  }
}