/*
Theme Name:     GoDigi Child
Template:       hello-elementor
Version:        1.0
*/

/* === RESET + BASE === */
:root {
  --brand-primary: #39B880;
  --brand-secondary: #FBE084;
}
body {
  font-family: 'Work Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
}
a {
  color: var(--brand-primary);
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.logo-center img {
  max-width: 140px;
  height: auto;
  display: block;
}
.godigi-dashboard > div:first-child {
  display: flex !important;
  justify-content: center !important;
  width: 100%;
}


/* === PROFILE WRAPPER & HEADINGS === */
.godigi-profile-wrapper {
  max-width: 960px;
  margin: 80px auto 40px;
  padding: 20px;
  text-align: center;
}
.profile-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3em;
}
.profile-position {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1em;
}
.profile-description h4,
.profile-qr h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

/* === ICONS === */
.profile-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.profile-icons a {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-primary);
  border-radius: 50%;
  text-decoration: none;
  transition: 0.2s;
}

.profile-icons a:hover {
  opacity: 0.85;
}

.profile-icons a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Force white */
}

/* === DASHBOARD LAYOUT === */
.godigi-dashboard {
  max-width: 960px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}
.dash-title {
  font-size: 28px;
  font-weight: 600;
  color: #1B1B1B;
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 30px;
}
.godigi-dashboard-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.dashboard-tile {
  width: 160px;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}
.dashboard-tile:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.dashboard-tile img {
  height: 40px;
  margin-bottom: 10px;
}
.dashboard-tile strong {
  font-size: 15px;
  font-weight: 600;
  color: #1B1B1B;
  font-family: 'Work Sans', sans-serif;
}
.dashboard-tile span {
  font-size: 13px;
  color: #666;
}
.dashboard-tile.disabled {
  opacity: 0.5;
  filter: blur(1px);
  pointer-events: none;
}
/* === NEW: QR Code & Signature Tiles === */
.dashboard-tile[data-show="qr"] {
  background: #A2C7F4;
}
.dashboard-tile[data-show="signature"] {
  background: #FFABAB;
}

/* keep the same disabled look as your other tiles */
.dashboard-tile.disabled,
.dashboard-tile[data-show="qr"].disabled,
.dashboard-tile[data-show="signature"].disabled {
  opacity: 0.5;
  filter: blur(1px);
  pointer-events: none;
}

/* === WALLET SECTION === */
.wallet-section {
  margin: 40px auto;
  text-align: center;
}
.wallet-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
}
.wallet-button img {
  height: 20px;
  width: 20px;
  display: inline-block;
}
.wallet-button:hover {
  background: #222;
}

/* === DASHBOARD SECTIONS === */
.godigi-dash-section {
  display: none;
  text-align: left;
  padding: 24px;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.godigi-dash-section.active {
  display: block;
}
.godigi-dash-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 24px;
}

/* === INPUT FIELDS SHARED === */
.godigi-dash-section input[type="text"],
.godigi-dash-section input[type="email"],
.godigi-dash-section input[type="tel"],
.godigi-dash-section input[type="url"],
.godigi-dash-section input[type="password"],
.godigi-dash-section select,
.godigi-dash-section textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f4f4f4;
  font-size: 15px;
  border: 1px solid #ddd;
  margin-bottom: 16px;
  font-family: 'Work Sans', sans-serif;
}

/* === CHECKBOX === */
.godigi-dash-section input[type="checkbox"] {
  margin-right: 6px;
}

/* === FORM BUTTON === */
.godigi-dash-section button[type="submit"] {
  margin-top: 10px;
}

/* === LOGOUT LINK === */
.logout-link {
  margin-top: 40px;
  text-align: center;
}
.logout-link a {
  color: var(--brand-primary);
  text-decoration: underline;
  font-weight: 500;
}
/* === PROFILE QR & MAP === */
.profile-qr {
  margin: 40px 0;
  text-align: center;
}
.profile-qr h3 {
  font-size: 1.4rem;
  font-weight: 600;
}
.profile-qr img {
  width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.profile-map-section {
  margin: 32px 0;
}
.profile-map-section iframe {
  border: 0;
  width: 100%;
  height: 300px;
  border-radius: 8px;
}

/* === SHARE FLOAT BUTTON === */
.share-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  background: var(--brand-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  cursor: pointer;
}
.share-float:hover {
  background: #2ea06f;
}

/* === CLIENT DIRECTORY CARDS === */
.godigi-directory-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.godigi-card {
  width: 200px;
  padding: 20px;
  background: #fff;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: 0.3s;
  color: #000;
}
.godigi-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.godigi-card h3 {
  font-size: 15px;
  font-weight: 600;
  font-family: 'Work Sans', sans-serif;
  color: #1B1B1B;
}
.godigi-card p {
  font-size: 13px;
  color: #555;
  margin: 0;
}
/* Make directory logos circular */
.directory-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  display: block;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


/* === NFC CARD === */
.nfc-card-final.styled {
  position: relative;
  width: 320px;
  height: 203px; /* 85x54mm @ 96dpi */
  background: #F6FFFD;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px auto;
  font-family: 'Work Sans', sans-serif;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Color triangles */
.nfc-corner-top-left {
  position: absolute;
  top: 0;
  left: 0;
  border-top: 130px solid var(--brand-secondary);
  border-right: 130px solid transparent;
}

.nfc-corner-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom: 130px solid var(--brand-primary);
  border-right: 130px solid transparent;
}

/* Logo top-right */
.nfc-final-logo {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* Remove this: background: #fff; */
  padding: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  background: transparent; /* Add this to ensure no color */
}

.nfc-final-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: transparent !important;
  display: block;
}

/* NFC icon top-left */
.nfc-wave {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 32px;
}

.nfc-wave img {
  width: 100%;
  height: auto;
  display: block;
}

/* Name and title */
.nfc-name {
  margin-top: 70px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  line-height: 1.1;
}

.nfc-position {
  font-size: 14px;
  font-weight: 500;
  color: #444;
  margin-top: 4px;
  padding: 0 60px; /* Left and right padding added */
  line-height: 1.4;
  word-break: break-word;
  white-space: normal;
  text-align: center;
}


/* QR code */
.nfc-final-qr {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 50px;
  height: 50px;
}

.nfc-final-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* === BRAND BUTTONS === */
.godigi-button {
  background: var(--brand-primary);
  color: #ffffff !important;
  padding: 15px 25px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.godigi-button:hover {
  background: var(--brand-primary);
  opacity: 0.9;
  color: #ffffff !important;
}

/* Secondary Button (Plain Green Text Link Style) */
.godigi-button.secondary {
  background: none !important;
  color: var(--brand-primary) !important;
  text-decoration: underline;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  border: none;
  box-shadow: none;
}
.godigi-button.secondary:hover {
  background: none !important;
  color: var(--brand-primary) !important;
  text-decoration: underline;
  opacity: 0.8;
}
.godigi-button.secondary {
  background: var(--brand-secondary);
  color: #fff !important;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  text-decoration: none;
}

/* === SECTION HEADINGS === */
.godigi-dash-section h2,
.billing-box h3,
.profile-qr h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1B1B1B; /* updated to GoDigi dark */
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 20px;
}
h3.section-subtitle {
  font-size: 16px;
  color: #666;
  font-weight: 400;
  margin-bottom: 20px;
}
.godigi-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1B1B1B;
  margin-bottom: 24px;
}


/* === FORM FIELD UNIFIED STYLE === */
.godigi-dash-section input[type="text"],
.godigi-dash-section input[type="email"],
.godigi-dash-section input[type="url"],
.godigi-dash-section input[type="tel"],
.godigi-dash-section select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  box-sizing: border-box;
}
.godigi-dash-section select:focus,
.godigi-dash-section input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(57,184,128,0.1);
}

/* === SPACERS & HELPERS === */
.spacer-16 { margin-top: 16px; }
.spacer-32 { margin-top: 32px; }
.spacer-48 { margin-top: 48px; }
.text-muted { color: #777; font-size: 14px; }
.text-small { font-size: 13px; }

/* === INVOICE LINK === */
.invoice-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: underline;
  font-size: 15px;
}
.invoice-link:hover {
  color: #2fa270;
}

/* === DISABLED STATE (e.g., for incomplete profile) === */
.dashboard-tile.disabled {
  opacity: 0.4;
  filter: blur(1px);
  pointer-events: none;
}

/* Profile image & logo upload sections */
.profile-upload-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-upload-wrapper img {
  max-width: 140px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.profile-upload-wrapper input[type="file"] {
  margin-top: 8px;
}
/* === Profile Edit Form: Cleaned & Consistent Styling === */
.godigi-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  font-family: 'Work Sans', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  color: #111;
}
.godigi-form h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1B1B1B;
  margin-bottom: 0;
}
.godigi-form .godigi-form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.godigi-form .godigi-form-field label {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
  color: #222;
}

.godigi-form .godigi-form-field input[type="text"],
.godigi-form .godigi-form-field input[type="email"],
.godigi-form .godigi-form-field input[type="url"],
.godigi-form .godigi-form-field input[type="tel"],
.godigi-form .godigi-form-field input[type="color"],
.godigi-form .godigi-form-field textarea,
.godigi-form .godigi-form-field select {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  font-family: 'Work Sans', sans-serif;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: 0.2s;
}

.godigi-form .godigi-form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.godigi-form .godigi-form-field input[type="color"] {
  width: 80px;
  height: 44px;
  padding: 0;
}

.godigi-form .field-helper {
  font-size: 13px;
  margin-top: 4px;
  color: #777;
}

/* === File Upload & Images === */

.godigi-form .wp-image,
.godigi-form img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.godigi-form input[type="file"] {
  padding: 10px 14px;
  font-size: 14px;
  background: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 6px;
}

/* === Save Button === */

.godigi-form button {
  background: var(--brand-primary);
  color: #fff;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  text-align: center;
}

.godigi-form button:hover {
  opacity: 0.9;
}
/* === LOGIN & REGISTRATION FORM STYLES === */
.godigi-auth-form {
  max-width: 480px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.godigi-auth-form h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 22px;
  color: var(--brand-primary);
}

.godigi-auth-form label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  font-size: 15px;
  color: #333;
}

.godigi-auth-form input[type="text"],
.godigi-auth-form input[type="email"],
.godigi-auth-form input[type="password"] {
  width: 100%;
  max-width: 440px;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 15px;
  font-family: 'Work Sans', sans-serif;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.godigi-auth-form button {
  background: var(--brand-primary);
  color: #fff;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  max-width: 440px;
  margin-top: 10px;
  transition: 0.2s;
}

.godigi-auth-form button:hover {
  opacity: 0.9;
}

.godigi-auth-form .form-helper,
.godigi-auth-form a {
  margin-top: 24px;
  font-size: 14px;
  text-align: center;
  display: block;
}
/* === Client Profile Page: Banner, Image, Logo Layout === */
.profile-top-section {
  position: relative;
  margin-top: 0;
  padding-top: 0;
  height: 160px;
}

.profile-banner {
  height: 120px;
  background: var(--brand-primary, #39B880);
  margin: 0;
}

.profile-image {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  z-index: 4;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-page-logo {
  position: absolute;
  bottom: -30px;
  left: calc(50% + 30px);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  padding: 3px; /* Smaller white outline */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  z-index: 5;
}
.client-page-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: transparent !important; /* ✅ Force transparency */
}

.profile-actions .godigi-button:hover {
  opacity: 0.9;
}
.profile-actions {
  margin-top: 40px; /* adjust as needed */
}
.wallet-section h3 {
  font-size: 16px;
  color: var(--brand-primary); /* GoDigi green */
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}
.godigi-welcome-box {
  background: #f7fdfa;
  border: 1px solid #c8eee3;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.godigi-welcome-box h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #1e1e1e;
}

.godigi-welcome-box .progress-bar-container {
  height: 8px;
  background: #e0e0e0;
  border-radius: 6px;
  margin: 10px 0 5px;
  overflow: hidden;
}

.godigi-welcome-box .progress-bar {
  height: 100%;
  background-color: #39B880;
  border-radius: 6px;
  transition: width 0.4s ease;
}

.completion-hint {
  font-size: 14px;
  color: #777;
  margin-top: 6px;
}
.analytics-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
  justify-content: space-between;
}
.analytics-stats div {
  flex: 1;
  min-width: 150px;
  background: #f3f3f3;
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.analytics-stats strong {
  font-size: 22px;
  color: #1b1b1b;
}
.analytics-stats span {
  display: block;
  font-size: 14px;
  color: #777;
  margin-top: 5px;
}
/* Add spacing above public profile button */
.godigi-button[href*="client/"] {
  margin-top: 20px;
  margin-bottom: 20px;
}
.godigi-button:hover,
.godigi-button:visited,
.godigi-button:focus {
  color: #ffffff !important;
  text-decoration: none;
  opacity: 0.9;
}
.wallet-button,
.wallet-button:hover,
.wallet-button:focus,
.wallet-button:visited {
  color: #fff !important;
  background-color: #000 !important;
  border: none;
  box-shadow: none;
  text-decoration: none;
}
/* === Button Group (Subscription Section) === */
.godigi-button-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

/* === Responsive Layouts === */
@media (max-width: 768px) {
  /* Dashboard grid becomes 2 columns on mobile */
  .godigi-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-items: center;
  }

  .dashboard-tile {
    width: 100%;
    max-width: 160px;
  }

  /* Make team member table scrollable */
  .godigi-team-table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }

  .godigi-team-table table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
  }

  .godigi-team-table th,
  .godigi-team-table td {
    white-space: nowrap;
  }
}

/* === Table Scroll Fallback (desktop and mobile) === */
.table-responsive {
  overflow-x: auto;
  width: 100%;
}
.table-responsive table {
  width: 100%;
  min-width: 720px;
}

/* === Inline Button Actions (View, Edit, Remove) === */
.inline-links {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.inline-links a.godigi-button.secondary {
  padding: 0;
  text-decoration: underline;
  font-weight: 600;
  font-size: 14px;
  background: none;
  color: var(--brand-primary);
}
.inline-links a.godigi-button.secondary:hover {
  color: var(--brand-primary);
  opacity: 0.8;
}
/* === Secondary text-link button === */
.godigi-button.secondary {
  background: none !important;
  color: var(--brand-primary) !important;
  text-decoration: underline;
  font-size: 15px;
  font-weight: 600;
  border: none !important;
  padding: 0 !important;
  line-height: 1;
  box-shadow: none !important;
  display: inline-block;
  vertical-align: middle;
}
.godigi-button.secondary:hover {
  color: var(--brand-primary) !important;
  text-decoration: underline;
  opacity: 0.8;
}

/* === Responsive team table scroll === */
.godigi-team-table {
  overflow-x: auto;
  width: 100%;
}
.godigi-team-table table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.godigi-team-table th,
.godigi-team-table td {
  padding: 10px;
  text-align: left;
  white-space: nowrap;
}

/* === Mobile responsive tile grid === */
@media (max-width: 768px) {
  .godigi-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-items: center;
  }

  .dashboard-tile {
    width: 100%;
    max-width: 160px;
  }
}
.profile-actions {
  margin-top: 16px;
  margin-bottom: 16px;
}

.profile-actions a.vcf-download {
  background: var(--brand-secondary);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  text-decoration: none;
  border: none;
  transition: 0.3s;
  margin-bottom: 24px; /* 👈 pushes company info downward */
}

.profile-actions a.vcf-download:hover {
  opacity: 0.9;
}

/* Fallback in case [godigi_vcf] uses godigi-button */
.profile-actions .godigi-button.vcf-download {
  background: var(--brand-secondary) !important;
  color: #fff !important;
}
.profile-company-section {
  margin-top: 20px;
  text-align: center;
}
.profile-separator {
  height: 1px;
  background-color: #D0D0D0;
  max-width: 280px;  /* increased width */
  margin: 28px auto 20px;
  display: block;
}
/* === GoDigi Registration Page Styles === */
/* === Registration Logo Centering === */
.godigi-register-logo {
  text-align: center;
  padding: 40px 0 20px;
}
.godigi-register-logo img {
  height: 60px;
  margin: 0 auto;
  display: block;
}
.godigi-register-card {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  box-sizing: border-box;
}
.godigi-register-card h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: #1B1B1B;
}
.godigi-register-card label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  margin-top: 18px;
}
.godigi-register-card input,
.godigi-register-card select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  box-sizing: border-box;
}
.godigi-register-card button[type="submit"] {
  margin-top: 30px;
  width: 100%;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}
.godigi-register-card .form-helper {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
}
.godigi-register-card .form-helper a {
  color: var(--brand-primary);
  text-decoration: underline;
}
/* Highlight inactive rows subtly */
tr.godigi-inactive-user td {
  border-left: 4px solid #FBE084;
  background-color: #fffef8;
}

/* Stack admin buttons cleanly */
.godigi-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.godigi-action-buttons form {
  margin: 0;
}
.blurred {
    opacity: 0.5;
    pointer-events: none;
    filter: blur(2px);
}
.dashboard-tile.locked {
  opacity: 0.5;
  filter: blur(2px);
  pointer-events: none;
}
/* ——— Dashboard tile colours for QR & Signature ——— */
.dashboard-tile[data-show="qr"] {
  background: #A2C7F4;
}
.dashboard-tile[data-show="signature"] {
  background: #FFABAB;
}
.dashboard-tile[data-show="qr"] img,
.dashboard-tile[data-show="signature"] img {
  filter: none; /* make sure your coloured icons show correctly */
}
/* ────────────────────────────────────────────────────────
   Modern QR & Signature Generators
──────────────────────────────────────────────────────── */
/* QR generators */
.qr-generator { margin: 30px 0; }
.qr-generator h2 { font-size: 20px; margin-bottom: 16px; color: #1B1B1B; }
.qr-generator .qr-wrap {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.qr-generator .qr-wrap > div { flex-shrink: 0; }
.qr-generator .qr-wrap #profileQr,
.qr-generator .qr-wrap #customQr {
  border: 1px solid #ddd;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
}
.qr-generator .qr-buttons button {
  margin-right: 8px;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}
.qr-generator.custom form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.qr-generator.custom form input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Signatures */
.signature-generator { margin: 30px 0; }
.signature-generator h2 { font-size: 20px; margin-bottom: 16px; color: #1B1B1B; }
.signature-generator.modern .signature-wrap {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: relative;
}
.signature-generator.modern .sig-table img {
  display: block;
}
.signature-generator.modern button#copySignature {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* Custom signature builder */
.signature-generator.custom .custom-sig-form input {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.signature-generator.custom #customSigPreview {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.signature-generator.custom button#copyCustomSig {
  background: var(--brand-primary);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}
/* ─── Two-column layouts for QR & Signature sections ─── */
.godigi-dash-section .two-column {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.godigi-dash-section .two-column .column {
  flex: 1;
  min-width: 300px;
}

/* Adjust button/text alignment inside each column */
.qr-generator, .signature-generator {
  margin: 0;
}
/* ──────────────────────────────────────────── */
/* QR GENERATOR PANELS                       */
/* ──────────────────────────────────────────── */
.qr-generator.modern,
.qr-generator.custom {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
.qr-generator .qr-block,
.qr-generator .qr-form {
  flex: 1;
  min-width: 280px;
}
.qr-generator.custom .qr-form,
.qr-generator.custom .qr-block {
  margin-bottom: 0;
}
.qr-generator h2 {
  margin-bottom: 16px;
  font-size: 20px;
}
.qr-generator input[type="url"] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.qr-generator button {
  margin-left: 8px;
}
.qr-generator .qr-buttons {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ──────────────────────────────────────────── */
/* SIGNATURE GENERATOR PANELS                */
/* ──────────────────────────────────────────── */
.signature-generator.modern,
.signature-generator.custom {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
.signature-generator.modern .sig-logo {
  flex: 0 0 auto;
  margin-right: 24px;
}
.signature-generator.modern .sig-logo img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.signature-generator.modern .signature-wrap,
.signature-generator.custom .custom-form,
.signature-generator.custom .custom-preview {
  flex: 1;
  min-width: 280px;
}
.signature-generator.modern h2,
.signature-generator.custom h2 {
  margin-bottom: 16px;
  font-size: 20px;
}
.signature-generator.modern .sig-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.signature-generator.modern .sig-line {
  display: flex;
  align-items: center;
  gap: 6px;
}
.signature-generator .dashicon {
  vertical-align: middle;
  font-size: 16px;
  color: #39B880;
}
.custom-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.custom-form input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.custom-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* ─────────────────────────────────────────── */
/* QR PANEL (modern + custom)                 */
/* ─────────────────────────────────────────── */
.qr-panel {
  background:#fff;
  padding:24px;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin-bottom:40px;
}
.qr-panel .qr-block,
.qr-panel .qr-form { flex:1; min-width:280px; }
.qr-form { display:flex; gap:8px; align-items:center; margin-bottom:0; }
.qr-panel h2 { margin-bottom:16px; font-size:20px; }
.qr-buttons { text-align:center; margin-top:16px; }
.qr-buttons button:disabled { display:none !important; }

/* ─────────────────────────────────────────── */
/* SIGNATURE PANEL (modern + custom)          */
/* ─────────────────────────────────────────── */
.sig-panel {
  background:#fff;
  padding:24px;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin-bottom:40px;
}
.sig-panel.modern .sig-logo { flex:0 0 auto; margin-right:24px; }
.sig-panel.modern .sig-logo img { width:100px; border-radius:8px; }
.sig-panel .signature-wrap,
.sig-panel .custom-form,
.sig-panel .custom-preview { flex:1; min-width:280px; }
.sig-panel h2 { margin-bottom:16px; font-size:20px; }
.signature-wrap button,
.custom-preview button {
  display:block !important;
  margin-top:16px;
  align-self:flex-start;
}
.custom-form form { display:flex; flex-direction:column; gap:12px; }
.custom-form input[type=file] { padding:6px; }
.sig-line { display:flex; align-items:center; gap:6px; }
.dashicons { font-size:16px; color:#39B880; }
/* ─────────────────────────────────────────────────────────
   Two-column layouts for QR & Signature sections
───────────────────────────────────────────────────────── */
.two-column {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.two-column .qr-block,
.two-column .sig-block,
.two-column .qr-form,
.two-column .custom-form,
.two-column .custom-preview {
  flex: 1;
  min-width: 280px;
}

/* ─────────────────────────────────────────────────────────
   QR PANEL
───────────────────────────────────────────────────────── */
.qr-panel {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}
.qr-panel h2 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #1B1B1B;
}
.qr-panel input[type="url"] {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  flex: 1;
}
.qr-panel button {
  margin-top: 8px;
}
.qr-panel .qr-wrap {
  margin-top: 16px;
  text-align: center;
}
.qr-panel .qr-wrap #profileQr,
.qr-panel .qr-wrap #customQr {
  border: 1px solid #ddd;
  padding: 8px;
  border-radius: 12px;
  display: inline-block;
  background: #fafafa;
}
.qr-panel .qr-buttons {
  margin-top: 12px;
}
.qr-panel .qr-buttons button:disabled {
  display: none;
}

/* ─────────────────────────────────────────────────────────
   SIGNATURE PANEL
───────────────────────────────────────────────────────── */
.sig-panel {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}
.sig-panel h2 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #1B1B1B;
}
.sig-panel .sig-logo img {
  width: 100px;
  border-radius: 8px;
  object-fit: cover;
}
.signature-wrap,
.custom-form,
.custom-preview {
  display: flex;
  flex-direction: column;
}
.signature-wrap .sig-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.sig-line {
  display: flex;
  align-items: center;
  gap: 6px;
}
.custom-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.custom-form input,
.custom-form input[type="file"] {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.custom-preview {
  gap: 12px;
  margin-top: 8px;
}
.signature-wrap button,
.custom-preview button {
  margin-top: 16px;
  align-self: flex-start;
}
