
/* ============ UTILITY CLASSES ============ */
.row {
  display: flex;
  align-items: center;
}

.gap {
  gap: 12px;
}

.link {
    text-decoration: underline !important;
}

.text-sm {
    font-size: 12px !important;
}

.toast-msg {
  margin-top: 0;
  padding: 0;
  height: 0;
  overflow: hidden;
  background: var(--light-cream);
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--primary-gold);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    height 0.3s ease,
    margin 0.3s ease,
    padding 0.3s ease;
}

.toast-msg.show {
  margin-top: 12px;
  padding: 8px 12px;
  height: auto; /* doesn’t animate directly, so we use max-height trick */
  max-height: 60px; /* enough to fit text */
  opacity: 1;
  transform: translateY(0);
}


/*  REUSABLE BACK BUTTON FOR PUBLIC PAGES */
.legal-back-btn {
    background: none;
    border: none;
    font-size: 15px;
    color: var(--deep-red);
    font-weight: 600;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.legal-back-btn span {
    font-size: 20px;
}




/* Button Loading State */
.btn-loading .spinner-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.ph-spin {
  animation: ph-spin 1s linear infinite;
}

@keyframes ph-spin {
  100% {
    transform: rotate(360deg);
  }
}


/*Pre loader*/
.corner-loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(212, 175, 55, 0.3); /* gold toned */
  border-top-color: #d4af37; /* solid gold */
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: fixed;
  top: 10px;
  right: 10px;
  display: none;
  z-index: 9999;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.center-loader {
  width: 28px; /* loader size */
  height: 28px;
  border: 3px solid rgba(212, 175, 55, 0.3); /* faded gold border */
  border-top-color: #d4af37; /* solid gold highlight */
  border-radius: 50%;
  animation: spin 0.7s linear infinite;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* center */
  display: none; /* hidden until click */
  z-index: 9999; /* above everything else */
}

/* Spin animation */
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

