/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}

.pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--dp-gray-light);
  background: none;
  color: var(--dp-black);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
  user-select: none;
}

.pagination-item:hover:not(.active):not(.disabled) {
  background-color: #f3f4f6;
  color: #374151;
}

.pagination-item.active {
  background-color: var(--dp-blue);
  color: var(--dp-white);
  font-weight: 600;
}

.pagination-item.disabled {
  color: var(--dp-gray);
  cursor: not-allowed;
}

.pagination-item.disabled:hover {
  background: none;
}

.pagination-item.nav-button {
  padding: 0 2px;
  font-size: 16px;
  font-weight: 600;
}

.pagination-item.ellipsis {
  cursor: default;
  font-weight: 600;
}

.pagination-item.ellipsis:hover {
  background: none;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 480px) {
  .pagination {
    gap: 2px;
    padding: 6px;
  }

  .pagination-item {
    min-width: 28px;
    height: 28px;
    font-size: 13px;
  }
}
textarea {
  font-family: Manrope, serif;
  font-weight: 400;
  font-size: 16px;
}

.contact-form-container {
  .contact-form-content {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    justify-self: center;
    gap: var(--dp-gap);

    .contact-info {
      display: flex;
      flex: 1;
      flex-direction: column;
      gap: var(--dp-gap);

      .contact-title {
        h1 {
          font-size: 16px;
          font-weight: 400;
          margin-bottom: 0;
          line-height: 18px;
        }
      }

      header, section {
        display: flex;
        flex-direction: column;
        gap: var(--dp-gap);


        h3 {
          text-align: left;
          margin-bottom: unset;
        }

        ul {
          list-style: none;
          padding: 0;
        }

        li {
          margin-bottom: var(--dp-gap-small);

          a {
            color: var(--dp-blue);
          }
        }
      }

    }

    .form-fields {
      flex: 1;

      .contact-name {
        display: flex;
        gap: var(--dp-gap);
      }
    }
  }
}

/* Media query for larger screens */
@media (min-width: 1024px) {
  .contact-form-container {
    .contact-form-content {
      width: auto;
      padding: calc(80px - var(--dp-gap));
      flex-direction: row;

      .contact-info {

        header {
          h3 {
            font-size: 64px;
          }
        }
      }

      .form-fields {
        padding-top: 105px;
      }
    }

  }
}
form {
  flex: 1;

  input[type="text"],
  input[type="password"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--dp-gray-light);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: medium;
    resize: none;
  }

  input[type="submit"] {
    background-color: var(--dp-blue);;
    color: var(--dp-white);
    padding: 12px 20px;
    border: none;
    border-radius: 500px;
    cursor: pointer;
    max-width: 328px;
    margin-top: 10px;
  }

  input[type="submit"]:hover {
    background-color: var(--dp-blue-dark); /* Darker shade for hover */
  }

  &.user-login-form {
    padding: var(--dp-gap-big);
  }
}


