/* ==========================================================
   Header: client portal Login / Register buttons
   "mt-portal-" prefix taaki style.css ke global rules
   (button, nav links) se clash na ho.
   ========================================================== */

.nav-menu ul li.mt-portal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-menu ul li.mt-portal-actions a.mt-portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-menu ul li.mt-portal-actions a.mt-portal-btn--outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: transparent;
}

.nav-menu ul li.mt-portal-actions a.mt-portal-btn--outline:hover {
  color: #173a2b;
  background: #fff;
  border-color: #fff;
}

.nav-menu ul li.mt-portal-actions a.mt-portal-btn--solid {
  color: #173a2b;
  border: 1px solid var(--secondary, #d6a84e);
  background: var(--secondary, #d6a84e);
}

.nav-menu ul li.mt-portal-actions a.mt-portal-btn--solid:hover {
  color: #fff;
  background: #c8a36a;
  border-color: #c8a36a;
}

.nav-menu ul li.mt-portal-actions a.mt-portal-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Mobile drawer (style.css 992px se neeche nav ko side drawer bana deta hai) */
@media (max-width: 992px) {
  .nav-menu ul li.mt-portal-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 10px 20px 0 0;
  }

  .nav-menu ul li.mt-portal-actions a.mt-portal-btn {
    display: flex;
    width: 100%;
    min-height: 44px;
    font-size: 16px !important;
  }
}
