        /* GlobeInPack logo overrides */
        .logo-icon {
            width: auto !important;
            height: auto !important;
            background: transparent !important;
            border-radius: 12px;
            padding: 6px 0;
        }

        .dashboard-logo-icon {
            width: auto !important;
            height: auto !important;
            background: transparent !important;
            border-radius: 8px;
            padding: 4px 0;
        }

        .brand-name {
            font-size: 28px;
            letter-spacing: 0.5px;
        }

    
        /* Logo on green background: place in a white card for contrast */
        .login-logo-card {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #ffffff;
            border-radius: 18px;
            padding: 14px 18px;
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
            margin-bottom: 20px;
        }

        /* On auth pages, the logo should not force a fixed square */
        .login-left .logo-icon {
            width: auto !important;
            height: auto !important;
        }

    
        /* Searchable country dropdown */
        .combo {
            position: relative;
        }

        .combo-row {
            position: relative;
            display: block;
        }

        .combo-input {
            padding-right: 44px;
        }

        .combo-btn {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            border: 1px solid transparent;
            background: transparent;
            color: #666;
            cursor: pointer;
            padding: 6px 8px;
            border-radius: 8px;
            font-size: 16px;
            line-height: 1;
        }

        .combo-btn:hover {
            background: var(--light-gray);
            border-color: var(--border-color);
        }

        .combo-menu {
            position: absolute;
            left: 0;
            right: 0;
            top: calc(100% + 6px);
            z-index: 2000;
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            max-height: 260px;
            overflow: auto;
            box-shadow: 0 12px 28px rgba(0,0,0,0.14);
        }

        .combo-item {
            padding: 10px 12px;
            cursor: pointer;
            font-size: 14px;
            color: #333;
        }

        .combo-item:hover {
            background: var(--light-gray);
        }

        .combo-item.selected {
            background: rgba(76, 175, 80, 0.12);
            font-weight: 640;
        }

        .combo-empty {
            padding: 10px 12px;
            font-size: 14px;
            color: #666;
        }


    
/* Payment loading spinner */
.spinner-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.spinner-circle{
  width:22px;
  height:22px;
  border-radius:50%;
  border:3px solid rgba(0,0,0,0.12);
  border-top-color: var(--primary);
  animation: spin 0.9s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

/* Stable PayPal capture/finalization feedback */
.paypal-checkout-modal {
  width: min(560px, 92vw);
}

.paypal-checkout-body {
  position: relative;
  min-height: 148px;
}

.paypal-buttons-host {
  position: absolute;
  top: 16px;
  left: 18px;
  right: 18px;
  width: auto;
  min-height: 120px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.paypal-buttons-host.is-ready {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 160ms ease;
}

.paypal-buttons-host.is-inactive {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.paypal-neutral-state,
.paypal-processing-panel,
.paypal-failure-panel {
  min-height: 116px;
  border: 1px solid #dfe8df;
  border-radius: 14px;
  background: #f8fbf8;
  padding: 20px;
}

.paypal-neutral-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
}

.paypal-processing-panel {
  position: relative;
  z-index: 2;
  background: #f5faf5;
  border-color: rgba(56, 184, 3, 0.22);
}

.paypal-processing-panel.is-success {
  background: #f0f9f1;
  border-color: rgba(35, 148, 54, 0.30);
}

.paypal-processing-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.paypal-state-title {
  color: #17351d;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 760;
}

.paypal-state-message {
  margin-top: 5px;
  color: #58625a;
  font-size: 14px;
  line-height: 1.45;
}

.paypal-progress-track {
  width: 100%;
  height: 9px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe8df;
}

.paypal-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 360ms ease;
}

.paypal-keep-open {
  margin-top: 10px;
  color: #6a746c;
  font-size: 12px;
  line-height: 1.4;
}

.paypal-secondary-spinner {
  flex: 0 0 auto;
}

.paypal-success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.paypal-success-close {
  display: block;
  margin: 18px 0 0 auto;
}

.paypal-failure-panel {
  background: #fbfbfa;
  border-color: #e3e4df;
}

.paypal-failure-detail {
  margin-top: 12px;
  color: #5d625d;
  font-size: 13px;
  line-height: 1.4;
}

.paypal-failure-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 640px) {
  .paypal-checkout-body {
    min-height: 136px;
  }

  .paypal-neutral-state,
  .paypal-processing-panel,
  .paypal-failure-panel {
    padding: 16px;
  }

  .paypal-processing-heading,
  .paypal-neutral-state {
    align-items: flex-start;
  }

  .paypal-failure-actions {
    flex-direction: column-reverse;
  }

  .paypal-failure-actions .btn,
  .paypal-success-close {
    width: 100%;
  }
}
