@use '_theme.scss';

.drafts-container {
  padding-top: 50px;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;

  @media (max-width: theme.$xl) {
    padding-top: 50px;
  }

  @media (max-width: theme.$lg) {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .drafts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;

    @media (max-width: theme.$lg) {
      padding: 25px 25px 25px 30px;
      margin-bottom: 0;
    }

    @media (max-width: theme.$sm) {
      padding: 20px;
    }

    .search-addresses {
      margin-right: 2px;
    }
  }

  .drafts-title {
    font-size: var(--text-size-h2);
    color: var(--text-color-ultra-dark);
    margin: 0;


    @media (max-width: theme.$md) {
      font-size: var(--text-size-h4);
    }

    @media (max-width: theme.$sm) {
      text-align: center;
      width: 100%;
    }
  }
}