.modal-container {
  display: flex;
  flex-direction: column;

  > .header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle-1);
    padding: var(--spacing-300) var(--spacing-200) var(--spacing-150);

    .titles {
      .title {
        @include label-large-2;
        display: block;
      }

      .subtitle {
        display: block;
        @include body-medium-1;
        color: var(--text-secondary);
      }
    }

    > .ds-icon {
      margin-left: auto;
      margin-bottom: auto;
    }
  }

  > .body {
    padding: var(--spacing-300) var(--spacing-200) var(--spacing-150);
  }

  > .footer {
    display: flex;
    justify-content: end;
    margin-top: auto;
    gap: 10px;
    padding: var(--spacing-200) var(--spacing-200) var(--spacing-150);
  }

  &.modal-remove,
  &.modal-confirm {
    > .body {
      display: flex;
      gap: 16px;

      > .ds-icon {
        color: var(--icon-warning);
      }

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

        > .title {
          @include subtitle-medium-2;
          color: var(--text-primary);
        }

        > .subtitle {
          @include body-medium-1;
          color: var(--text-secondary);
        }
      }
    }
  }

  &.modal-remove > .body > .ds-icon {
    color: var(--icon-error);
  }
}

@media (max-width: 1366px) {
  .modal-container {
    width: 40%;
  }
}

@media (max-width: 768px) {
  .modal-container {
    width: 90% !important;
  }
}

@media (max-width: 767px) {
  .modal-container {
    .footer {
      .ds-button {
        font-size: 16px;
        font-weight: 600;
        line-height: 100%;
        letter-spacing: 0.32px;
        text-transform: uppercase;
        padding: var(--spacing-100) var(--spacing-200);
        height: 40px;
      }
    }
  }
}
