/**
 * public/css/partners.css
 * Styles for Partner Registration & Switcher Flow
 */

body {
  background-color: #f8fafc;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #334155;
  padding: 40px 15px;
}

.registration-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  max-width: 820px;
  margin: 0 auto;
  padding: 38px 46px;
}

.brand-logo-container {
  text-align: center;
  margin-bottom: 24px;
}

.brand-logo-container img {
  height: 48px;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  text-align: center;
}

.page-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 24px;
  text-align: center;
}

.partner-type-switcher-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.partner-type-switcher {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 5px;
  gap: 6px;
  border: 1px solid #e2e8f0;
  width: 100%;
  max-width: 440px;
}

.partner-type-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 18px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.partner-type-btn:hover {
  color: #1e293b;
}

.partner-type-btn.active {
  background: #ffffff;
  color: #7c5ce3;
  box-shadow: 0 2px 8px rgba(124, 92, 227, 0.15);
}

.partner-type-btn.active i {
  color: #7c5ce3;
}

.section-heading {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
  margin-top: 26px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 10px !important;
  display: block;
  letter-spacing: 0.2px;
}

.form-label .required {
  color: #ef4444;
  margin-left: 2px;
}

.form-control,
.form-select,
.glass-input,
.glass-select,
.glass-input-select {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(132, 90, 223, 0.2) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 2px 8px rgba(132, 90, 223, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.form-control::placeholder {
  color: #94a3b8 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.form-control:focus,
.form-select:focus,
.glass-input:focus,
.glass-select:focus,
.glass-input-select:focus {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98)) !important;
  border-color: rgba(132, 90, 223, 0.5) !important;
  box-shadow:
    0 0 0 4px rgba(132, 90, 223, 0.15),
    0 4px 12px rgba(132, 90, 223, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  outline: none !important;
  transform: translateY(-2px);
  color: #1a1a1a !important;
}

.form-select,
.glass-select,
.glass-input-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23845adf' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 12px 12px !important;
  padding: 12px 44px 12px 16px !important;
  cursor: pointer;
}

.form-check-input {
  border-radius: 4px;
  border: 1.5px solid #94a3b8;
  cursor: pointer;
  margin-top: 3px;
}

.form-check-input:checked {
  background-color: #7c5ce3;
  border-color: #7c5ce3;
}

.form-check-label {
  font-size: 0.82rem;
  color: #475569;
  cursor: pointer;
  line-height: 1.45;
}

.form-check-label .required {
  color: #ef4444;
}

.btn-submit {
  background-color: #7c5ce3;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 20px;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.15s ease;
  margin-top: 14px;
}

.btn-submit:hover {
  background-color: #6a49d8;
  color: #ffffff;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.error-feedback {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 3px;
  display: none;
}

.has-error .form-control,
.has-error .form-select {
  border-color: #ef4444;
}

.has-error .error-feedback {
  display: block;
}

#partner-alert-container {
  margin-bottom: 20px;
}




/* ==========================================================================
   Humeon Partner Terms & Conditions Modal Styles
   ========================================================================== */
.terms-link {
  color: #7c5ce3;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.terms-link:hover {
  color: #6a49d8;
}

.partner-terms-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-terms-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.partner-terms-dialog {
  position: relative;
  background: #ffffff;
  width: 92%;
  max-width: 820px;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 25px 50px -12px rgba(124, 92, 227, 0.25), 0 20px 35px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 10001;
  overflow: hidden;
  border: 1px solid #e0d7fc;
  animation: humeonModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes humeonModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.partner-terms-header {
  padding: 16px 24px;
  border-bottom: 1px solid #f1f0f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #faf8ff;
}

.partner-terms-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #1e1b4b;
  display: flex;
  align-items: center;
}

.partner-terms-close {
  background: transparent;
  border: none;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: #94a3b8;
  transition: color 0.15s;
  padding: 0 4px;
}

.partner-terms-close:hover {
  color: #7c5ce3;
}

.partner-terms-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  background: #ffffff;
}

.partner-terms-footer {
  padding: 14px 24px;
  border-top: 1px solid #f1f0f7;
  background: #faf8ff;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-terms-close {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-terms-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.btn-terms-accept {
  background: #7c5ce3;
  border: 1px solid #7c5ce3;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 22px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(124, 92, 227, 0.3);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-terms-accept:hover {
  background: #6a49d8;
  border-color: #6a49d8;
  box-shadow: 0 6px 14px rgba(124, 92, 227, 0.4);
}

/* Agreement Document Internal Humeon Styling */
.badge-humeon {
  background: #ede9fe;
  color: #7c5ce3;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

.text-humeon {
  color: #7c5ce3 !important;
}

.parties-box {
  background: #fbf9ff;
  border: 1px solid #ede9fe;
}

.highlight-val {
  color: #4c1d95;
  font-weight: 600;
}

.agreement-body {
  line-height: 1.7;
  font-size: 13.5px;
  color: #334155;
}

.agreement-body .section-title {
  font-weight: 700;
  color: #1e1b4b;
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 14px;
}

.execution-card {
  background: #faf8ff;
  border: 1px solid #ede9fe;
}

.audit-badge {
  background: #ffffff;
  border: 1px solid #e0d7fc;
  box-shadow: 0 2px 6px rgba(124, 92, 227, 0.08);
}

.fs-13 { font-size: 13px !important; }
.fs-12 { font-size: 12px !important; }
.fs-11 { font-size: 11px !important; }

/* Explicit font-family enforcement for Humeon Partner Terms Modal */
.partner-terms-dialog,
.partner-terms-dialog * {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: -0.011em;
}

.partner-terms-title {
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

.agreement-header h4 {
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  color: #0f172a !important;
}

.agreement-body {
  font-size: 13.5px !important;
  line-height: 1.75 !important;
  color: #334155 !important;
}

.agreement-body .section-title {
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: -0.015em !important;
  color: #0f172a !important;
}

.parties-box {
  border-radius: 10px !important;
  font-size: 13px !important;
}

.parties-box h6 {
  font-size: 13px !important;
  letter-spacing: 0.02em !important;
}

.execution-card {
  border-radius: 10px !important;
}

/* ==========================================================================
   E-Signature Canvas Styles
   ========================================================================== */
.partner-signature-section {
  padding: 14px 24px 18px 24px;
  background: #fbf9ff;
  border-top: 1px solid #ede9fe;
}

.signature-canvas-wrapper {
  position: relative;
  background: #ffffff;
  border: 2px dashed #c4b5fd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
  cursor: crosshair;
  height: 130px;
}

.signature-canvas-wrapper:hover {
  border-color: #7c5ce3;
}

#signatureCanvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.signature-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #94a3b8;
  font-size: 0.85rem;
  pointer-events: none;
  user-select: none;
  font-style: italic;
}

.btn-clear-sig {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-clear-sig:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
}

/* ==========================================================================
   Humeon Partner Page Design System
   ========================================================================== */

:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-card: #e2e8f0;
  --border-highlight: #7c5ce3;
  --brand-primary: #7c5ce3;
  --brand-primary-hover: #6a49d8;
  --brand-accent: #16a34a;
  --brand-accent-bg: #dcfce7;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
}

body.partner-page-wrapper {
  background-color: #f8fafc !important;
  color: #334155 !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: none !important;
}

/* Navbar */
.partners-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.partners-navbar .navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.partner-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.partner-brand:hover {
  color: #0f172a;
}

.partner-brand-icon {
  width: 28px;
  height: 28px;
  color: #16a34a;
}

.partner-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.partner-nav-link {
  text-decoration: none;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.partner-nav-link:hover {
  color: #7c5ce3;
}

.partner-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav-signin {
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  transition: all 0.15s ease;
}

.btn-nav-signin:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.btn-nav-cta {
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #7c5ce3, #23b7e5);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px rgba(124, 92, 227, 0.25);
  transition: all 0.15s ease;
}

.btn-nav-cta:hover {
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 92, 227, 0.35);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fefce8;
  border: 1px solid #fef08a;
  color: #854d0e;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-title .highlight-text {
  color: #16a34a;
}

.hero-description {
  font-size: 1rem;
  color: #64748b;
  max-width: 740px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 50px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #7c5ce3, #23b7e5);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(124, 92, 227, 0.3);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 92, 227, 0.4);
}

.btn-hero-secondary {
  background: #ffffff;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-hero-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

/* Partner Markets */
.partner-markets-wrapper {
  margin-top: 10px;
}

.partner-markets-kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 18px;
}

.country-pills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

.country-pill:hover {
  border-color: #7c5ce3;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(124, 92, 227, 0.12);
  transform: translateY(-1px);
}

.country-pill .country-code {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.country-pill .currency-badge {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  letter-spacing: 0.02em;
}

/* Sections Common */
.partner-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 20px;
  scroll-margin-top: 80px;
}

.partner-section-header {
  text-align: center;
  margin-bottom: 42px;
}

.partner-section-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7c5ce3;
  background: #ede9fe;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.partner-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.25;
}

.partner-section-subtitle {
  font-size: 0.98rem;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Partner Tiers Cards */
.partner-tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.partner-tier-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.partner-tier-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.partner-tier-card.featured {
  border: 2px solid #7c5ce3;
  box-shadow: 0 8px 30px rgba(124, 92, 227, 0.12);
}

.partner-tier-card.featured:hover {
  border-color: #6a49d8;
  box-shadow: 0 14px 36px rgba(124, 92, 227, 0.18);
}

.tier-card-header {
  margin-bottom: 22px;
}

.tier-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.tier-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.015em;
}

.tier-badge-popular {
  display: inline-block;
  background: #ede9fe;
  color: #7c5ce3;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
  border: 1px solid #ddd6fe;
  letter-spacing: 0.02em;
}

.tier-audience {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.tier-stat-wrap {
  margin-bottom: 26px;
}

.tier-stat-number {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  color: #16a34a;
  letter-spacing: -0.03em;
}

.tier-card.featured .tier-stat-number {
  color: #7c5ce3;
}

.tier-stat-label {
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 8px;
  line-height: 1.4;
}

.tier-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.tier-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #1e293b;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.5;
}

.tier-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #16a34a;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.partner-tier-footnote {
  text-align: center;
  font-size: 0.83rem;
  color: #64748b;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.6;
}

/* How It Works Steps */
.partner-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.partner-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.partner-step-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.partner-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ede9fe;
  color: #7c5ce3;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 18px;
  border: 1px solid #ddd6fe;
}

.partner-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.partner-step-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Registration Form Card - Exactly matching Humeon JD Form Aesthetic */
.registration-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)) !important;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 24px !important;
  box-shadow:
    0 12px 40px rgba(132, 90, 223, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(132, 90, 223, 0.05) !important;
  max-width: 880px;
  margin: 0 auto;
  padding: 42px 48px;
  color: #1a1a1a !important;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-title {
  color: #000000 !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #845adf, #23b7e5, #e791bc);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.page-subtitle {
  color: #64748b !important;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.section-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a1a !important;
  border-bottom: 2px solid rgba(132, 90, 223, 0.15) !important;
  padding-bottom: 10px;
  margin-top: 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading i {
  color: #845adf !important;
  font-size: 1.15rem;
}

/* Enhanced Form Labels - strictly matching Humeon Create JD Form */
.form-label {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  margin-bottom: 10px !important;
  letter-spacing: 0.2px;
}

.form-label .required {
  color: #ef4444;
  margin-left: 2px;
}

/* Enhanced Modern Input Fields - strictly matching Humeon Create JD Form */
.glass-input,
.form-control {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(132, 90, 223, 0.2) !important;
  border-radius: 12px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #1a1a1a !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 12px 16px !important;
  box-shadow:
    0 2px 8px rgba(132, 90, 223, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.glass-input:focus,
.form-control:focus {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98)) !important;
  border-color: rgba(132, 90, 223, 0.5) !important;
  box-shadow:
    0 0 0 4px rgba(132, 90, 223, 0.15),
    0 4px 12px rgba(132, 90, 223, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  outline: none !important;
  transform: translateY(-2px);
  color: #1a1a1a !important;
}

/* Enhanced Modern Select Dropdowns - strictly matching Humeon Create JD Form (.glass-select / .glass-input-select) */
.glass-select,
.glass-input-select,
.custom-select,
.form-select,
select.form-control {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(132, 90, 223, 0.2) !important;
  border-radius: 12px !important;
  color: #1a1a1a !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23845adf' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 12px 12px !important;
  padding: 12px 44px 12px 16px !important;
  box-shadow:
    0 2px 8px rgba(132, 90, 223, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.glass-select:focus,
.glass-input-select:focus,
.custom-select:focus,
.form-select:focus,
select.form-control:focus {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98)) !important;
  border-color: rgba(132, 90, 223, 0.5) !important;
  box-shadow:
    0 0 0 4px rgba(132, 90, 223, 0.15),
    0 4px 12px rgba(132, 90, 223, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  outline: none !important;
  transform: translateY(-2px);
  color: #1a1a1a !important;
}

.glass-select option,
.glass-input-select option,
.custom-select option,
.form-select option,
select.form-control option {
  background: #ffffff !important;
  color: #1a1a1a !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 10px 14px !important;
}

/* Enhanced Textarea Styling */
textarea.form-control,
textarea.glass-input {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(132, 90, 223, 0.2) !important;
  border-radius: 12px !important;
  color: #1a1a1a !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 14px 16px !important;
  box-shadow:
    0 2px 8px rgba(132, 90, 223, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

textarea.form-control:focus,
textarea.glass-input:focus {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98)) !important;
  border-color: rgba(132, 90, 223, 0.5) !important;
  box-shadow:
    0 0 0 4px rgba(132, 90, 223, 0.15),
    0 4px 12px rgba(132, 90, 223, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  outline: none !important;
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: #94a3b8 !important;
  font-weight: 400;
}

.form-text {
  color: #64748b !important;
  font-size: 0.82rem;
}

.form-check-label {
  color: #334155 !important;
  font-weight: 500;
  font-size: 0.88rem;
}

.form-check-input {
  width: 20px !important;
  height: 20px !important;
  border-color: #E1E1E1 !important;
  border-width: 0.14rem !important;
  border-style: solid !important;
  border-radius: 0.6rem !important;
  accent-color: #845adf !important;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #845adf !important;
  border-color: #845adf !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(132, 90, 223, 0.25) !important;
}

.btn-submit {
  background: linear-gradient(135deg, #845adf 0%, #23b7e5 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 14px 36px !important;
  border-radius: 16px !important;
  box-shadow:
    0 6px 20px rgba(132, 90, 223, 0.35),
    0 2px 8px rgba(132, 90, 223, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
  width: 100%;
  cursor: pointer;
  margin-top: 14px;
}

.btn-submit:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 10px 30px rgba(132, 90, 223, 0.45),
    0 4px 12px rgba(132, 90, 223, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  background: linear-gradient(135deg, #7a4fd4 0%, #1fa8d4 100%) !important;
  color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .partner-tiers-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }
  .partner-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-nav-links {
    display: none;
  }
  input,
  textarea,
  select,
  .form-control,
  .form-select,
  .glass-input,
  .glass-select,
  .glass-input-select {
    font-size: 16px !important;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
  }
  .partner-steps-grid {
    grid-template-columns: 1fr;
  }
  .partner-section-title {
    font-size: 1.75rem;
  }
  .registration-card {
    padding: 24px 18px !important;
  }
}


