/* =========================================================
   Buttons
   ========================================================= */

.btn-primary,
.primary-button,
.contact-button {
  color: var(--white);
  background-color: var(--black-soft);
}

.btn-primary {
  width: fit-content;
  margin: 20px 100px 0;

  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.primary-button {
  font-weight: 600;
}

.contact-button {
  width: fit-content;
  margin: 25px auto 0;

  font-size: 16px;
  font-weight: 500;
}

.btn-primary:hover,
.contact-button:hover {
  background-color: var(--black-hover);
}

.primary-button:hover {
  background-color: var(--black-hover);
}

/* =========================================================
   Button Groups
   ========================================================= */

.button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;

  margin-top: 70px;
}

.button-group .btn-primary {
  min-width: 180px;
}

/* =========================================================
   Buttons RTL
   ========================================================= */

html[dir="rtl"] .logout-button {
  margin-left: 0;
  margin-right: auto;
}

/* =========================================================
   Buttons Mobile
   ========================================================= */

@media (max-width: 768px) {
  .button-group {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .button-group .btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    max-width: 300px;

    margin: 0 auto;
    padding: 12px 18px;

    text-align: center;
    line-height: 1.4;
  }
}
