/* HitchPoint Dashboard Styles */

.rhd-dashboard-root {
  font-family: system-ui, sans-serif;
  color: #333;
}

.rhd-dashboard-root h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937; /* text-gray-800 */
}

#rhd-update-success {
  padding: 0.5rem 1rem;
  border: 1px solid #16a34a;
  background-color: #dcfce7;
  border-radius: 4px;
}

#rhdSearchInput {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  width: 100%;
  max-width: 24rem;
  margin-bottom: 2rem;
}

#rhdDashboardTable {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.875rem;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#rhdDashboardTable th,
#rhdDashboardTable td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

#rhdDashboardTable thead {
  background-color: #f3f4f6;
  font-weight: 600;
  color: #374151;
}

#rhdDashboardTable tr:hover {
  background-color: #fef3c7; /* yellow-50 */
}

#rhdDashboardTable a {
  text-decoration: underline;
  color: #2563eb; /* blue-600 */
  transition: color 0.2s ease;
}

#rhdDashboardTable a:hover {
  color: #1d4ed8; /* blue-700 */
}

#rhdDashboardTable input[type="text"],
#rhdDashboardTable textarea {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0.5rem;
  width: 100%;
  font-size: 0.875rem;
}

#rhdDashboardTable label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #374151;
}

#rhdDashboardTable textarea {
  min-height: 80px;
}

#rhdDashboardTable button {
  background-color: #2563eb;
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#rhdDashboardTable button:hover {
  background-color: #1d4ed8;
}

.bg-yellow-50 {
  background-color: #fefce8;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.hidden {
  display: none;
}

.rhd-dashboard-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rhd-request-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.rhd-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.rhd-card-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.rhd-card-phone {
  font-size: 0.9rem;
  color: #555;
}

.rhd-card-body p {
  margin: 0.25rem 0;
}

/*.rhd-card-actions {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 0.75rem;
}*/

.rhd-icon-button {
  background: #f5f5f5;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.rhd-icon-button:hover {
  background: #e0e0e0;
}

.rhd-hamburger {
  position: fixed;
  top: 1rem;
  left: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 1001;
}

.rhd-offcanvas {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background: #111;
  color: white;
  padding: 2rem 1rem;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: 4px 0 12px rgba(0,0,0,0.2);
}

.rhd-offcanvas.open {
  left: 0;
}

.rhd-offcanvas-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rhd-offcanvas-list li {
  margin-bottom: 1.5rem;
}

.rhd-offcanvas-list a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

.rhd-offcanvas-list a:hover {
  text-decoration: underline;
}

.rhd-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}


/* === List View Container === */
#rhd-delivery-list-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

/* === Single List Item === */
.rhd-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  /*border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);*/
  transition: background 0.2s;
}
.rhd-list-item:hover {
  background: #f9f9f9;
}

/* === Left: Trash Icon === */
.rhd-list-item-left {
  display: flex;
  align-items: center;
  margin-right: 0.75rem;
}
.rhd-icon-btn {
  background: transparent;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}
.rhd-icon-btn img {
  width: 20px;
  height: 20px;
}

/* === Middle: Name + Meta === */
.rhd-list-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.rhd-list-title {
  font-weight: 600;
  color: #00325B;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.rhd-list-subtitle {
  font-size: 0.875rem;
  color: #444;
}
.rhd-list-submeta {
  font-size: 0.75rem;
  color: #777;
}

/* === Right: Archive + Toggle === */
.rhd-list-item-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* === Toggle Switch === */
.rhd-toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}
.rhd-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.rhd-slider {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 20px;
  transition: 0.3s;
}
.rhd-slider:before {
  content: "";
  position: absolute;
  height: 14px; width: 14px;
  left: 3px;
  top: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}
.rhd-toggle-switch input:checked + .rhd-slider {
  background-color: #4dff00;
}
.rhd-toggle-switch input:checked + .rhd-slider:before {
  transform: translateX(18px);
}

.rhd-card-actions {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.5rem;
  justify-content: start;
}

.rhd-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.rhd-icon-action img {
  width: 20px;
  height: 20px;
}

.rhd-icon-action:hover {
  opacity: 0.7;
}

.rhd-filter-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.5rem;
  z-index: 999;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.rhd-filter-option {
  display: inline-flex; /* Was 'flex' before, now inline-flex to keep natural flow */
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 0.3rem;
  transition: background-color 0.2s ease;
  white-space: nowrap; /* Optional: prevents wrapping if text is short */
}

.rhd-filter-option:hover {
  background: #f0f0f0;
}

.rhd-filter-wrapper {
  position: relative;
  display: inline-block;
}

.rhd-filter-modal {
  position: absolute;
  top: 120%;
  right: -105%;
  z-index: 999;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 10px 10px 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0px;
  min-width: 160px;
}

.rhd-filter-modal button {
  background: none;
  border: none;
  text-align: left;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
}

.rhd-filter-modal button:hover {
  background-color: #f0f0f0;
}

.hidden {
  display: none !important;
}

.rhd-controls-icons-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rhd-controls-left,
.rhd-controls-center,
.rhd-controls-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.rhd-controls-center {
  justify-content: center;
  flex: 1;
}

.rhd-controls-left,
.rhd-controls-right {
  flex-shrink: 0;
}

.rhd-view-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem; /* Optional space between groups */
  position: relative;
}

.rhd-toggle-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rhd-toggle-group.center {
  justify-content: center;
  flex: 1;
}

.rhd-toggle-group.left {
  justify-content: flex-start;
}

.rhd-toggle-group.right {
  justify-content: flex-end;
}

.rhd-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
}

.rhd-action-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.rhd-action-group.center {
  justify-content: center;
  flex: 1;
}

.rhd-action-group.left,
.rhd-action-group.right {
  flex-shrink: 0;
}

.rhd-filter-option:hover,
.rhd-filter-option:focus {
  background-color: #f0f0f0;
}

.rhd-filter-icon {
  width: 1.15rem;
  height: 1rem;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  cursor: pointer;
  transition: opacity 0.2s ease;

.rhd-sort-menu {
    position: absolute;
    top: 120%;
    right: -179%;
    z-index: 999;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 16px 12px 18px 17px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 210px;
}

.rhd-sort-menu.hidden {
  display: none;
  z-index: 99; /* stays above cards */
}

/* ✨ Base Modal Styles */
.rhd-modal {
  position: absolute;
  top: 3.2rem;
  right: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  min-width: 220px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

/* 🔥 Show/Hide Transitions */
.rhd-modal.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rhd-modal.hide {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* 🙈 Display none backup for initial state */
.hidden {
  display: none !important;
}

/* 🪄 Optional: backdrop 
.rhd-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 997;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}*/


.rhd-backdrop.visible {
  opacity: 1;
  pointer-events: all;
}

/* Card Border Accents */
.rhd-request-card.rhd-status-active    { border: 1px solid #4dff00; }
.rhd-request-card.rhd-status-complete  { border: 1px solid #eb000c; }
.rhd-request-card.rhd-status-archived  { border: 1px solid #00fffb; }
.rhd-request-card.rhd-status-trashed   { border: 1px solid #95876f; }

/* Icon Filters */
.rhd-status-icon.rhd-status-active {
  filter: brightness(0) saturate(100%) invert(61%) sepia(88%) saturate(526%) hue-rotate(53deg) brightness(105%) contrast(118%);
}
.rhd-status-icon.rhd-status-complete {
  filter: brightness(0) saturate(100%) invert(17%) sepia(91%) saturate(6832%) hue-rotate(351deg) brightness(87%) contrast(113%);
}
.rhd-status-icon.rhd-status-archived {
  filter: brightness(0) saturate(100%) invert(74%) sepia(100%) saturate(715%) hue-rotate(120deg) brightness(103%) contrast(103%);
}
.rhd-status-icon.rhd-status-trashed {
  filter: brightness(0) saturate(100%) invert(54%) sepia(12%) saturate(643%) hue-rotate(359deg) brightness(98%) contrast(90%);
}

.rhd-status-icon img {
  filter: brightness(0) saturate(100%) invert(61%) sepia(88%) saturate(526%) hue-rotate(53deg) brightness(105%) contrast(118%);
}

/* ARCHIVE icon gets colored ONLY on archived cards */
.rhd-status-archived .rhd-archive-btn img {
  filter: brightness(0) saturate(100%) invert(74%) sepia(100%) saturate(715%) hue-rotate(120deg) brightness(103%) contrast(103%);
}

/* TRASH icon gets colored ONLY on trashed cards */
.rhd-status-trashed .rhd-trash-btn img {
  filter: brightness(0) saturate(100%) invert(54%) sepia(12%) saturate(643%) hue-rotate(359deg) brightness(98%) contrast(90%);
}

/* ❌ All other times — archive & trash = neutral gray */
.rhd-archive-btn img,
.rhd-trash-btn img {
  filter: brightness(0) saturate(100%) invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(90%) contrast(90%);
}


/* ARCHIVED */
.rhd-status-archived .rhd-archive-btn img {
  filter: brightness(0) saturate(100%) invert(74%) sepia(100%) saturate(715%) hue-rotate(120deg) brightness(103%) contrast(103%);
}

/* TRASHED */
.rhd-status-trashed .rhd-trash-btn img {
  filter: brightness(0) saturate(100%) invert(54%) sepia(12%) saturate(643%) hue-rotate(359deg) brightness(98%) contrast(90%);
}

/* Wrapper */
.rhd-toggle-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}

/* Hide the actual checkbox */
.rhd-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider track */
.rhd-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: background-color 0.3s;
  border-radius: 34px;
}

/* The circle thumb */
.rhd-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: transform 0.3s;
  border-radius: 50%;
}

/* Toggle ON */
.rhd-toggle-input:checked + .rhd-slider {
  background-color: #4dff00; /* Active Green */
}

.rhd-toggle-input:checked + .rhd-slider::before {
  transform: translateX(18px);
}

/* Optional: Red when completed */
.rhd-toggle-switch[data-status="complete"] .rhd-slider {
  background-color: #eb000c !important;
}

.rhd-archive-icon {
      filter: brightness(0) saturate(100%) invert(74%) sepia(100%) saturate(715%) hue-rotate(120deg) brightness(103%) contrast(103%);
}

.rhd-active-icon {
  filter: brightness(0) saturate(100%) invert(61%) sepia(88%) saturate(526%) hue-rotate(53deg) brightness(105%) contrast(118%);
}

.rhd-trashed-icon {
  filter: brightness(0) saturate(100%) invert(54%) sepia(12%) saturate(643%) hue-rotate(359deg) brightness(98%) contrast(90%);
}

.rhd-completed-icon {
  filter: brightness(0) saturate(100%) invert(17%) sepia(91%) saturate(6832%) hue-rotate(351deg) brightness(87%) contrast(113%);
}

.rhd-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rhd-toggle-icon {
  width: 20px;
  height: 20px;
  opacity: 0.4;
  transition: opacity 0.2s, filter 0.2s;
}

/* ✅ ACTIVE state - Green Truck */
.rhd-status-active .rhd-icon-left {
  filter: brightness(0) saturate(100%) invert(61%) sepia(88%) saturate(526%) hue-rotate(53deg) brightness(105%) contrast(118%);
}

.rhd-status-active .rhd-icon-right {
  opacity: 1.0;
}

/* ✅ COMPLETE state - Red Check */
.rhd-status-complete .rhd-icon-left {
  opacity: 1.0;
}

.rhd-status-complete .rhd-icon-right {
  filter: brightness(0) saturate(100%) invert(61%) sepia(88%) saturate(526%) hue-rotate(53deg) brightness(105%) contrast(118%);
}

/* 🖼️ Toggle icon base style */
.rhd-toggle-icon {
  width: 20px;
  height: 20px;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Default: gray icons */
.rhd-toggle-wrapper .rhd-toggle-icon {
  filter: brightness(0) saturate(100%) invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(90%) contrast(90%);
}

/* Active = right side (truck green) */
.rhd-status-active .rhd-icon-right {
  filter: brightness(0) saturate(100%) invert(61%) sepia(88%) saturate(526%) hue-rotate(53deg) brightness(105%) contrast(118%);
}

/* Active = left side (check gray) — no change needed */

/* Complete = left side (check red) */
.rhd-status-complete .rhd-icon-left {
  filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(7481%) hue-rotate(357deg) brightness(98%) contrast(115%);
}

/* Complete = right side (truck gray) — no change needed */

.rhd-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 🛠 Default switch track style */
.rhd-toggle-switch .rhd-slider {
  background-color: #ccc;
  transition: background-color 0.3s ease;
}

/* ✅ Active = green track */
.rhd-status-active .rhd-toggle-switch .rhd-slider {
  background-color: #4dff00; /* Tailwind Emerald 400 */
}

/* 🟥 Complete = red track */
.rhd-status-complete .rhd-toggle-switch .rhd-slider {
  background-color: #f87171; /* Tailwind Red 400 */
}

.rhd-filter-btn img {
  width: 20px;
  height: 20px;
  transition: filter 0.3s ease, transform 0.2s ease;
  filter: brightness(0) saturate(100%) invert(50%) sepia(0%) hue-rotate(0deg) brightness(90%) contrast(90%); /* gray */
  opacity: 0.4;
}

.rhd-filter-btn.active img {
  opacity: 1.0;
  transform: scale(1.1);
}

.rhd-filter-btn.active[data-filter="active"] img {
  filter: brightness(0) saturate(100%) invert(61%) sepia(88%) saturate(526%) hue-rotate(53deg) brightness(105%) contrast(118%);
}

.rhd-filter-btn.active[data-filter="complete"] img {
  filter: brightness(0) saturate(100%) invert(17%) sepia(91%) saturate(6832%) hue-rotate(351deg) brightness(87%) contrast(113%);
}

.rhd-filter-btn.active[data-filter="archived"] img {
  filter: brightness(0) saturate(100%) invert(74%) sepia(100%) saturate(715%) hue-rotate(120deg) brightness(103%) contrast(103%);
}

.rhd-control-icons.center,
.rhd-control-icons.right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rhd-avatar-only {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
}

/* payment-confirmation.css */
.payment-confirm-container {
  max-width: 640px;
  margin: 2.5rem auto;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  animation: fadeInSlideUp 0.5s ease-out both;
}

.payment-confirm-container h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
  text-align: center;
}

.payment-confirm-container .success {
  color: #000000;;
  background: #ecfdf5;
  border: 1px solid #10b981;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  margin-top: 1.25rem;
  text-align: center;
}

.payment-confirm-container .error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #ef4444;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  margin-top: 1.25rem;
  text-align: center;
}

@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rhd-return-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #50f691;
  color: white;
  font-weight: 200;
  font-size: 18px;
  border-radius: 0.5rem;
  border: 1px solid #666666;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease;
}

.rhd-return-btn:hover {
  background-color: #c0ffb2;
}



.hitchpoint-modal-wrap {
  max-width: 500px;
  margin: 10vh auto;
  background: white;
  padding: 2rem;
  box-shadow: 0 0 50px rgba(0,0,0,0.2);
  border-radius: 12px;
}
body.register-page {
  background: #1a1a1a;
}

.hitchpoint-modal-wrap {
  max-width: 500px;
  margin: 10vh auto;
  background: #fff;
  padding: 2.5rem;
  margin: 1rem;
  box-shadow: 0 0 40px rgba(0,0,0,0.15);
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.hitchpoint-modal-wrap h2 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.hitchpoint-modal-wrap .success,
.hitchpoint-modal-wrap .error {
  font-size: 1rem;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.hitchpoint-modal-wrap .success {
    background-color: #c3ffed;
    color: #000000;
    border: 1px solid #26dca5;
}

.hitchpoint-modal-wrap .error {
  background-color: #ffecec;
  color: #8c1c13;
  border: 1px solid #f5b3b3;
}

.hitchpoint-modal-wrap .rhd-return-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;
  background-color: #fff;
  color: #525252;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hitchpoint-modal-wrap .rhd-return-btn:hover {
  background-color: #fff;
}

.rhd-password-wrapper {
    position: relative;
}

.rhd-password-wrapper input {
    width: 100%;
    padding-right: 40px; /* Space for the icon */
}

.rhd-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.rhd-password-toggle img {
    width: 18px;
    height: 18px;
}

/* Welcome Sender Page Styling */

.hitch-welcome-container {
    max-width: 500px;
    margin: 4rem auto;
    padding: 2rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.hitch-welcome-container h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.hitch-welcome-container label {
    display: block;
    text-align: left;
    margin: 0.75rem 0 0.25rem;
    font-weight: 600;
    color: #555;
}

.hitch-welcome-container input[type="text"],
.hitch-welcome-container input[type="email"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.hitch-welcome-container button {
    display: inline-block;
    background: #0a004a; /* Tailwind's yellow-400 shade */
    color: #fff;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.hitch-welcome-container button:hover {
    background: #0a004a; /* yellow-500 hover */
}

.hitch-success-msg {
    background: #d1fae5;
    color: #065f46;
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-weight: 600;
}

.hitch-error-msg {
    background: #fee2e2;
    color: #b91c1c;
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-weight: 600;
}

.rhd-button {
  background-color: #0a004a;
  color: white;
  padding: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.rhd-button:hover {
  background-color: #0a004a;
}

span.rhd-form-title {
    font-size: 18px;
    font-weight: 900;
    color: #0a004a;
}