@include export-module('co-transaction-lines-side-panel-service-order-layout') {
  .co-transaction-lines-side-panel-service-order {
    .full-details-wrapper {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 10px;
      .details-expand {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 11px;
      }
      .co-icon {
        width: $tp-transaction-lines-side-panel-service-order-label-icon-size;
        height: $tp-transaction-lines-side-panel-service-order-label-icon-size;
        transform: rotate(0deg);
        transition: transform 0.3s ease-in-out;
        &.active {
          transform: rotate(180deg);
          transition: transform 0.3s ease-in-out;
        }
      }
      .details-wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background-color: $tp-transaction-lines-side-panel-service-order-background;
        .details-label-wrapper {
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
          &.clickable {
            cursor: pointer;
          }
        }
        .detail-label {
          font-family: $tp-transaction-lines-side-panel-service-order-font-family;
          font-size: $tp-transaction-lines-side-panel-service-order-font-size;
          font-weight: $tp-transaction-lines-side-panel-service-order-font-weight;
          color: $tp-transaction-lines-side-panel-service-order-font-color;
          position: relative;
        }
        .supplier-field {
          width: 50%;
          border: 1px solid $tp-color-dark-accent;
        }
        .details-display {
          display: flex;
          flex-direction: row;
          align-items: flex-start;
          gap: 15px;
          padding: 0 0 10px 0;
          margin: 0 0 10px 0;
          position: relative;
          &.articles {
            border-bottom: none;
            padding: 0;
            margin: 0;
            gap: 60px;
          }
          .vertical-line {
            width: 1px;
            height: 20px;
            margin-left: 10px;
            border-left: 1px solid $tp-color-transaction-line-added;
            margin-right: 10px;
          }
          &.supplier {
            flex-direction: column;
            border-bottom: none;
            padding-bottom: 0;
            .top-details {
              display: flex;
              flex-direction: row;
              align-items: flex-start;
              gap: 15px;
            }
          }
          &.articles {
            .article-description {
              display: flex;
              flex-direction: column;
              gap: 20px;
              .art-details {
                display: flex;
                flex-direction: column;
                gap: 10px;
              }
              .art-amount-batch {
                display: flex;
                flex-direction: row;
                align-items: flex-start;
                gap: 20px;
                .detail {
                  display: flex;
                  flex-direction: column;
                  gap: 10px;
                }
              }
            }
          }
          .detail {
            display: flex;
            flex-direction: column;
            gap: 10px;
          }
          .label {
            font-size: 10px;
            color: #8083A3;
          }
          .value {
            font-size: 12px;
            font-weight: normal;
            white-space: nowrap;
            &.underline {
              text-decoration: underline;
              cursor: pointer;
            }
          }
          .image-display {
            max-width: 100px;
            height: 80px;
          }
        }
      }
    }
    .show-details-wrapper {
      margin-top: 10px;
      padding-top: 10px;
    }
  }
}
