@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Noto+Sans+Kannada:wght@400;500;600;700&display=swap');

:root {
  --primary-blue: #13529d;
  --primary-dark: #0b3c75;
  --brand-yellow: #fdd305;
  --border-blue: #1d62a8;
  --panel-bg: #edf2f7;
  --text-dark: #1e293b;
  --text-label: #0f172a;
  --text-muted: #64748b;
  --input-border: #cbd5e1;
  --input-focus: #13529d;
  --input-bg: #ffffff;
  --bg-page: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-card: 16px;
}

.text-brand-yellow {
  color: var(--brand-yellow) !important;
}

.m2c-brand-name {
  color: #003ca0;
  font-weight: inherit;
}

.company-name .m2c-brand-name {
  font-weight: 900;
  text-transform: none;
  letter-spacing: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Kannada', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
}

/* Main Form Card */
.form-container {
  width: 100%;
  max-width: 860px;
  background-color: var(--white);
  border: 3px solid var(--border-blue);
  border-radius: var(--radius-card);
  padding: 24px 30px;
  box-shadow: var(--shadow);
}

/* Header Section */
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e2eeff 100%);
  border: 1.5px solid #c7dcfb;
  border-radius: 12px;
  padding: 16px 22px;
}

/* Equal Width Stack for Header Left (Title, Accent Line, Badge) */
.header-left {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
}

.company-name {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0;
  padding: 2px 0 6px 0;
  text-align: center;
  white-space: nowrap;
}

.accent-line {
  height: 4.5px;
  background-color: var(--brand-yellow);
  width: 100%;
  border-radius: 3px;
  margin: 4px 0 7px 0;
}

.company-tagline {
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary-blue);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  line-height: 1.3;
  padding: 2px 0 4px 0;
  white-space: nowrap;
}

/* Centered Form Title Banner (below header) */
.form-title-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}

.form-title-badge,
.form-pill-badge {
  display: inline-block;
  background-color: var(--primary-blue);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 7px 24px;
  border-radius: 20px;
  text-align: center;
  box-sizing: border-box;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(19, 82, 157, 0.2);
}

/* Kannada Specific Typography Enhancements */
html[lang="kn"] .company-name {
  letter-spacing: 0.5px;
  line-height: 1.35;
  padding-bottom: 8px;
}

html[lang="kn"] .company-tagline {
  letter-spacing: 0.8px;
  line-height: 1.4;
  font-size: 1.05rem;
  font-weight: 800;
}

html[lang="kn"] .form-title-badge,
html[lang="kn"] .form-pill-badge {
  letter-spacing: 0.5px;
  line-height: 1.35;
  padding: 7px 22px;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-shrink: 0;
}

/* Language Toggle Switcher */
.lang-toggle-group {
  display: inline-flex;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 20px;
  padding: 2px;
  gap: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lang-btn {
  background: transparent;
  border: none;
  outline: none;
  color: #475569;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.lang-btn:hover:not(.active) {
  color: var(--primary-blue);
}

.lang-btn.active {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 2px 5px rgba(19, 82, 157, 0.25);
}

.logo-wrapper {
  width: 110px;
}

.logo-img {
  width: 100%;
  max-height: 85px;
  object-fit: contain;
}

/* Form Fields & Clean Grid Layout */
.form-fields-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.flex-1 {
  flex: 1;
}

.full-width {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-label);
}

.req-star {
  color: #ef4444;
  font-weight: 800;
}

.label-with-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.label-hint {
  font-size: 0.78rem;
  font-weight: 600;
}

.hint-blue {
  color: var(--primary-blue);
}

.hint-muted {
  color: var(--text-muted);
}

.live-location-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.live-location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--primary-blue);
  background: #eff6ff;
  color: var(--primary-blue);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
}

.live-location-btn:hover,
.live-location-btn:focus {
  background: var(--primary-blue);
  color: #fff;
}

.live-location-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Box Inputs */
.form-box-input,
.form-box-textarea {
  width: 100%;
  font-size: 0.94rem;
  font-weight: 500;
  color: #0f172a;
  background-color: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-select {
  cursor: pointer;
  appearance: auto;
}

.form-box-input::placeholder,
.form-box-textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.88rem;
}

.form-box-input:focus,
.form-box-textarea:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(19, 82, 157, 0.12);
}

.form-box-input[readonly] {
  background-color: #f1f5f9;
  color: #334155;
  cursor: default;
  border-color: #cbd5e1;
}

.form-box-input[readonly]:focus {
  border-color: #cbd5e1;
  box-shadow: none;
}

.form-box-textarea {
  resize: vertical;
  min-height: 56px;
  line-height: 1.4;
}

/* Unified Phone Input Group (+91 + Input + Get OTP Button as ONE seamless box) */
.phone-input-row {
  display: flex;
  align-items: stretch;
  width: 100%;
  background-color: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.phone-input-row:focus-within {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(19, 82, 157, 0.12);
}

.phone-prefix-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background-color: #f1f5f9;
  border: none;
  border-right: 1.5px solid var(--input-border);
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  user-select: none;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.phone-box {
  flex: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 8px 12px;
  font-size: 0.94rem;
  font-weight: 500;
  color: #0f172a;
  min-width: 0;
  border-radius: 0 !important;
}

.phone-box:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.phone-box[readonly] {
  background-color: transparent !important;
  color: #334155;
  cursor: default;
}

.btn-get-otp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background-color: var(--primary-blue);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  border: none;
  border-left: 1.5px solid var(--input-border);
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
  flex-shrink: 0;
}

.btn-get-otp:hover:not(:disabled) {
  background-color: #0d4285;
}

.btn-get-otp:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  border-left-color: #e2e8f0;
}

.btn-get-otp.is-verified {
  background-color: #15803d !important;
  color: #ffffff !important;
  border-left-color: #15803d !important;
  cursor: default !important;
}

.phone-input-row:focus-within .phone-prefix-box {
  border-right-color: rgba(19, 82, 157, 0.25);
}

.phone-input-row:focus-within .btn-get-otp:disabled {
  border-left-color: rgba(19, 82, 157, 0.25);
}

/* OTP Verification Modal Backdrop & Dialog */
.otp-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.otp-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from {
    transform: translateY(16px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.otp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.otp-modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.otp-modal-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s, background-color 0.15s;
}

.otp-modal-close:hover {
  color: #0f172a;
  background-color: #e2e8f0;
}

.otp-modal-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.otp-modal-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

.otp-modal-desc strong {
  display: block;
  color: #0f172a;
  font-size: 0.96rem;
  margin-top: 3px;
}

.otp-dev-badge {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
}

.otp-modal-input-wrap {
  display: flex;
  justify-content: center;
}

.otp-modal-input {
  width: 100%;
  max-width: 240px;
  padding: 10px 14px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 8px;
  text-align: center;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  background-color: #f8fafc;
  color: #0f172a;
  transition: all 0.2s ease;
}

.otp-modal-input:focus {
  border-color: var(--primary-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(19, 82, 157, 0.12);
}

.otp-modal-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.82rem;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}

.otp-modal-submit-btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
}

.otp-modal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #64748b;
  min-height: 22px;
}

.otp-timer-text strong {
  color: #d97706;
}

.btn-resend-link {
  background: none;
  border: none;
  color: var(--primary-blue);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.82rem;
  padding: 0;
}

.btn-resend-link:hover {
  color: #0d4285;
}

/* Terms & Conditions Modal Dialog */
.terms-modal-card {
  max-width: 720px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.terms-modal-body {
  overflow-y: auto;
  padding: 16px 20px;
  flex: 1;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terms-modal-body .terms-lead-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.terms-modal-body .terms-lead-text {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.55;
  margin: 0;
}

.terms-modal-body .terms-meta-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
}

.terms-modal-body .section-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.terms-modal-body .section-pill-badge {
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.terms-modal-body .terms-body-content p {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.55;
  margin: 0 0 6px;
}

.terms-modal-body .terms-rules-list {
  margin: 6px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms-modal-body .terms-rules-item {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
}

.terms-divider-banner {
  background: linear-gradient(135deg, #0d3b73 0%, #13529d 100%);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.terms-sub-section {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

.terms-sub-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.terms-sub-heading {
  font-size: 0.91rem;
  font-weight: 700;
  color: #0f172a;
  margin: 6px 0 4px;
}

.terms-pack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.terms-pack-pill {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
}

.terms-declaration-card {
  background: linear-gradient(to right, #fefce8, #fef9c3);
  border: 1.5px solid #fde047;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 6px 0;
}

.terms-declaration-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #854d0e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.terms-declaration-text {
  font-size: 0.89rem;
  color: #713f12;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.terms-support-card {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 8px;
}

.terms-support-header {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.terms-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.terms-support-item {
  font-size: 0.88rem;
  color: #334155;
}

.terms-support-item strong {
  color: #0f172a;
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.terms-support-link {
  color: var(--primary-blue);
  text-decoration: underline;
  font-weight: 600;
}

.terms-support-link:hover {
  color: #0d3b73;
}

.terms-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 18px;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.terms-btn-dismiss {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.terms-btn-dismiss:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.terms-btn-accept {
  background: linear-gradient(135deg, #13529d 0%, #0d3b73 100%);
  color: #ffffff;
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.terms-btn-accept:hover {
  background: linear-gradient(135deg, #0d3b73 0%, #082952 100%);
  transform: translateY(-1px);
}



/* Subtext */
.field-subtext {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Section Panels */
.section-panel {
  background-color: var(--panel-bg);
  border-radius: var(--radius-md);
  padding: 10px 14px 12px;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
}

.section-pill-badge {
  display: inline-block;
  background-color: var(--primary-blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Custom Checkbox Design */
.custom-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input[type="checkbox"] {
  display: none;
}

.chk-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #475569;
  border-radius: 4px;
  background-color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.custom-checkbox:hover input ~ .chk-custom {
  border-color: var(--primary-blue);
}

.custom-checkbox input:checked ~ .chk-custom {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.chk-custom::after {
  content: '';
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
  margin-top: -2px;
}

.custom-checkbox input:checked ~ .chk-custom::after {
  display: block;
}

.chk-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.terms-link {
  color: var(--primary-blue);
  font-weight: 700;
  text-decoration: underline;
}

.terms-row {
  display: flex;
  align-items: center;
}

/* Bottom Center Action Buttons */
.form-actions-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.btn {
  padding: 9px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(19, 82, 157, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-save {
  padding: 9px 30px;
  font-size: 0.96rem;
  font-weight: 700;
}

.btn-outline {
  background-color: var(--white);
  color: var(--primary-blue);
  border: 1.5px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: #f0f7ff;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Print Styles */
@media print {
  body {
    background-color: #ffffff;
    padding: 0;
    margin: 0;
  }

  .form-container {
    max-width: 100%;
    border: 2px solid var(--border-blue);
    box-shadow: none;
    padding: 16px 20px;
  }

  .no-print {
    display: none !important;
  }

  .form-box-input,
  .form-box-textarea {
    border: 1px solid #94a3b8;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .company-name {
    font-size: 1.6rem;
    line-height: 1.25;
    padding-bottom: 5px;
  }

  .company-tagline {
    font-size: 0.85rem;
    letter-spacing: 1.6px;
  }

  .form-pill-badge {
    font-size: 0.85rem;
    padding: 4px 8px;
  }

  .form-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 16px;
  }

  .header-right {
    flex-direction: row;
    justify-content: center;
  }

  .form-grid-row,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-actions-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .form-actions-bottom .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-save {
    order: -1;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .form-container {
    padding: 14px;
  }

  .form-header {
    padding: 12px 10px;
  }

  .company-name {
    font-size: 1.25rem;
    line-height: 1.25;
    padding-bottom: 4px;
  }

  .company-tagline {
    font-size: 0.72rem;
  }

  .form-pill-badge {
    font-size: 0.72rem;
    padding: 3px 6px;
  }

  .logo-wrapper {
    width: 65px;
  }

  .logo-img {
    max-height: 52px;
  }
}

.back-home-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.btn-back-home:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
}

.form-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.form-alert-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.login-switch-footer {
  text-align: center;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.login-switch-footer a {
  color: var(--primary-blue);
  font-weight: 800;
  text-decoration: none;
  margin-left: 4px;
}

.login-switch-footer a:hover {
  text-decoration: underline;
}

.text-nowrap {
  white-space: nowrap;
}

/* Visibility Utilities */
.d-none {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

/* Spacing Utilities */
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }




