/* ========================================================
   ShohojKagoj.com - Components & UI Elements
   Cards, Forms, Split Previews, Resizers, Modals, Payment Tables
   ======================================================== */

/* Card Grid for Services */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
}

.service-card-tag.hot {
  background: #fee2e2;
  color: #dc2626;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.service-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: auto;
}

.service-price-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.service-btn {
  padding: 7px 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.service-btn:hover {
  background: var(--primary-dark);
}

/* ========================================================
   Interactive Tool Split-Screen (Form on Left, Live Preview on Right)
   ======================================================== */
.tool-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  margin-top: 14px;
  align-items: start;
}

@media (max-width: 980px) {
  .tool-container {
    grid-template-columns: 1fr;
  }
}

.tool-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* Document Switcher & Form Header */
.tool-form-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--border-color);
}

.doc-switcher-strip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.doc-switcher-strip label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}

.doc-switcher-select {
  width: 100% !important;
  max-width: 100% !important;
  height: 42px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 0 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.doc-switcher-select:hover {
  border-color: var(--primary);
  background-color: var(--bg-main);
}

.doc-switcher-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 106, 78, 0.12);
  outline: none;
}

.doc-banner-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 2px;
}

.doc-banner-info h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  letter-spacing: -0.2px;
  margin: 0;
}

.doc-banner-info small {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
}

.back-link {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-group label span.req {
  color: var(--accent-red);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--bg-card);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 106, 78, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .form-row:not(.form-row-keep-grid) {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================================
   Live Document Preview Area (Real Paper & Stamp Layout)
   ======================================================== */
.live-preview-wrapper {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-action-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 10px;
}

.stamp-margin-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
}

.preview-btns-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary {
  padding: 8px 16px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.15s;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-primary-action {
  padding: 8px 18px;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 106, 78, 0.25);
  transition: background 0.15s;
}

.btn-primary-action:hover {
  background: var(--primary-dark);
}

/* The Document Paper Sheet */
.paper-sheet {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  padding: 36px 42px;
  min-height: 600px;
  position: relative;
  font-family: var(--font-doc);
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
  overflow: hidden;
}

.paper-sheet,
.paper-sheet * {
  font-family: var(--font-doc);
}

/* Legal Deeds & Official Documents Standard Black Ink */
#legalPreviewContainer .paper-sheet,
#officialPreviewContainer .paper-sheet,
#legalPreviewContainer .paper-sheet *:not(.watermark-overlay):not(.stamp-space-header):not(.stamp-space-hint),
#officialPreviewContainer .paper-sheet *:not(.watermark-overlay):not(.stamp-space-header):not(.stamp-space-hint) {
  color: #000000 !important;
}

#legalPreviewContainer .paper-sheet h2,
#legalPreviewContainer .paper-sheet h3,
#legalPreviewContainer .paper-sheet h4,
#officialPreviewContainer .paper-sheet h2,
#officialPreviewContainer .paper-sheet h3,
#officialPreviewContainer .paper-sheet h4 {
  color: #000000 !important;
  font-weight: 700;
}

#legalPreviewContainer .paper-sheet .witness-section,
#legalPreviewContainer .paper-sheet .witness-box,
#legalPreviewContainer .paper-sheet .doc-schedule-box,
#legalPreviewContainer .paper-sheet .doc-renewal-box {
  background: transparent !important;
  border-color: #000000 !important;
  color: #000000 !important;
}

.paper-sheet.a4-compact {
  font-size: 12.5px;
  line-height: 1.45;
  padding: 24px 32px;
}

.paper-sheet.a4-compact .stamp-space-header {
  height: 160px;
  margin-bottom: 12px;
}

/* 3-inch Stamp Margin */
.stamp-space-header {
  height: 185px;
  border: 2px dashed #cbd5e1;
  border-radius: 4px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  background: #f8fafc;
  padding: 8px;
}

.stamp-space-header.hidden {
  display: none;
}

/* Free Watermark Overlay */
.watermark-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font-size: 42px;
  font-weight: 900;
  color: rgba(220, 38, 38, 0.12);
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  letter-spacing: 4px;
}

.watermark-overlay.removed {
  display: none;
}

/* Signatures Grid */
.doc-signatures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
  padding-top: 20px;
}

.signature-slot {
  text-align: center;
  border-top: 1px solid #94a3b8;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* ========================================================
   Photo & Signature Resizer UI
   ======================================================== */
.resizer-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 14px;
}

.upload-dropzone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  background: var(--bg-main);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 20px;
}

.upload-dropzone:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.dropzone-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 8px;
}

.resizer-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.resizer-preset-btn {
  flex: 1;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  transition: all 0.15s;
}

.resizer-preset-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.resizer-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .resizer-result-grid {
    grid-template-columns: 1fr;
  }
}

.preview-canvas-box {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.meta-stats-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}

.meta-item:last-child {
  border-bottom: none;
}

/* ========================================================
   Modals (Paywall, Auth, Profile)
   ======================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.modal-backdrop.show {
  display: flex;
}

.modal-dialog {
  background: var(--bg-card);
  color: var(--text-main);
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-dialog-large {
  max-width: 650px;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

.modal-hero {
  text-align: center;
  margin-bottom: 20px;
}

.modal-hero-icon {
  width: 60px;
  height: 60px;
  background: #fdf2f8;
  color: var(--accent-bkash);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 12px;
}

.modal-hero h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.modal-hero p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.plan-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.plan-option {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}

.plan-option.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.plan-badge-disc {
  position: absolute;
  top: -9px;
  right: 8px;
  background: var(--accent-red);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.plan-option .plan-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-option .plan-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin: 4px 0;
}

.plan-option .plan-period {
  font-size: 11px;
  color: var(--text-light);
}

.btn-bkash-pay {
  width: 100%;
  padding: 13px;
  background: var(--accent-bkash);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(226, 19, 110, 0.3);
  transition: opacity 0.15s;
}

.btn-bkash-pay:hover {
  opacity: 0.95;
}

.modal-guarantee {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-light);
}

/* Auth Modal Tabs */
.auth-tabs-header {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  background: none;
  border: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.auth-tab-btn.active {
  color: var(--primary);
}

.auth-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

/* Super Admin Banner */
.superadmin-banner {
  background: linear-gradient(90deg, #d97706 0%, #b45309 100%);
  color: white;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

/* User Account Nav Button in Topbar */
.user-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s;
}

.user-nav-btn:hover {
  border-color: var(--primary);
}

/* Payment History Table */
.data-table-wrapper {
  overflow-x: auto;
  margin-top: 12px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.data-table th {
  background: var(--bg-main);
  padding: 10px 8px;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
}

.data-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-color);
}

/* Emergency Directory Table / Cards */
.emergency-filter-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}

@media (max-width: 768px) {
  .emergency-filter-row {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
}

.directory-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-type-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-main);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.contact-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.contact-district {
  font-size: 12.5px;
  color: var(--text-muted);
}

.contact-call-btn {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.contact-call-btn:hover {
  background: var(--primary);
  color: white;
}

/* ========================================================
   Policies, Terms & Legal Guidelines (শর্তাবলী ও নীতিমালা)
   ======================================================== */
.policy-tabs-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.policy-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.policy-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.policy-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 6px rgba(0, 106, 78, 0.2);
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.policy-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.policy-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.policy-last-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.policy-section-block {
  margin-bottom: 24px;
}

.policy-section-block h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-section-block p {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 10px;
  text-align: justify;
}

.policy-section-block ul,
.policy-section-block ol {
  padding-left: 24px;
  margin-bottom: 12px;
}

.policy-section-block li {
  font-size: 14px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 6px;
}

.policy-highlight-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #1e293b;
}

.policy-highlight-box.warning {
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.policy-highlight-box.danger {
  border-left-color: #ef4444;
  background: #fef2f2;
}

/* ========================================================
   App Footer (ওয়েবসাইটের আধুনিক ফুটার)
   ======================================================== */
.app-footer {
  margin-top: 48px;
  background: #0f172a;
  color: #cbd5e1;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 42px 36px 20px;
  border: 1px solid #1e293b;
  border-bottom: none;
}

@media print {
  .app-footer,
  footer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1.1fr 1.2fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 16px;
}

.footer-badge {
  display: inline-block;
  background: rgba(0, 106, 78, 0.2);
  border: 1px solid rgba(0, 106, 78, 0.4);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-payment-icons {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.pay-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  color: white;
}

.pay-badge.bkash {
  background: #e2136e;
}

.pay-badge.nagad {
  background: #f97316;
}

.pay-badge.rocket {
  background: #8b5cf6;
}

.footer-seo-directory {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 10px;
}

.footer-seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
}

.footer-seo-tags a {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-seo-tags a:hover {
  background: rgba(0, 106, 78, 0.3);
  border-color: #34d399;
  color: #ffffff;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #64748b;
}

.footer-legal-tag {
  color: #94a3b8;
  font-size: 12px;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .app-footer {
    display: block !important;
    padding-bottom: 96px !important;
  }
  .policy-card {
    padding: 20px 16px;
  }
}

/* ========================================================
   Digital Cash Memo: Logo Upload & Color Themes
   ======================================================== */
.memo-customizer-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.memo-customizer-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.memo-branding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .memo-branding-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Logo Uploader Area */
.memo-logo-uploader-area {
  background: var(--bg-card);
  border: 1.5px dashed var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s, background 0.2s;
  min-height: 64px;
}

.memo-logo-uploader-area:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.memo-logo-empty-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--bg-main);
  border: 1px dashed var(--border-color);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.memo-logo-empty-btn:hover {
  background: var(--border-color);
  border-color: var(--primary);
  color: var(--text-main);
}

.memo-logo-preview-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2px;
  flex-shrink: 0;
}

.memo-logo-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.memo-logo-actions-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.memo-logo-btn {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}

.memo-logo-btn:hover {
  background: var(--bg-main);
  border-color: var(--primary);
}

.memo-logo-btn.remove {
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}

.memo-logo-btn.remove:hover {
  background: #fee2e2;
  border-color: #f87171;
}

.memo-pos-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.memo-pos-btn {
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s;
}

.memo-pos-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  font-weight: 700;
}

/* Color Swatches Area */
.memo-color-palette-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.memo-color-swatches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.memo-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  outline: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  transition: transform 0.15s, outline-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.memo-color-swatch:hover {
  transform: scale(1.15);
}

.memo-color-swatch.active {
  outline-color: #0f172a;
  transform: scale(1.1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.memo-custom-color-input-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.memo-custom-color-input {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  cursor: pointer;
  background: none;
  overflow: hidden;
}

.memo-custom-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.memo-custom-color-input::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}

/* Sidebar Contract Sub-categories */
.sidebar-sub-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 6px 12px;
  border-left: 2px solid var(--primary);
  padding-left: 6px;
}

.sidebar-sub-menu.open {
  display: flex;
}

.nav-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}

.nav-sub-link:hover {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  text-decoration: none !important;
}

.nav-sub-link.active {
  background: rgba(0, 106, 78, 0.12);
  color: var(--primary) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.sub-count {
  font-size: 10.5px;
  background: #f1f5f9;
  color: #64748b;
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-sub-link.active .sub-count {
  background: rgba(0, 106, 78, 0.2);
  color: var(--primary);
  font-weight: 700;
}

/* Category Filter Chips above Document Switcher */
.legal-cat-filter-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.legal-cat-chip {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}

.legal-cat-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.legal-cat-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 1px 4px rgba(0, 106, 78, 0.25);
}

/* ========================================================
   Content Protection & Anti-Screenshot Design Engine
   ======================================================== */

/* ১. প্রিভিউ শিট ও ডকুমেন্টে টেক্সট সিলেকশন ও ড্র্যাগ সম্পূর্ণ নিষ্ক্রিয় */
.paper-sheet,
.live-preview-wrapper,
.preview-canvas-box,
#memoPreviewContainer,
#memoPreviewSheet,
#resizerOutputPreview,
.anti-copy-protected {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
}

/* ফর্মের ইনপুট ও টেক্সটএরিয়ায় স্বাভাবিক টাইপিং ও এডিটিং বহাল থাকবে */
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: auto !important;
  -moz-user-select: auto !important;
  -ms-user-select: auto !important;
  user-select: auto !important;
  -webkit-user-drag: auto !important;
  user-drag: auto !important;
}

/* ২. সূক্ষ্ম ডায়াগনাল অ্যান্টি-ক্যাপচার রিপিটিং ওয়াটারমার্ক */
.paper-sheet::before {
  content: "সহজকাগজ.কম • ShohojKagoj.com • কপিরাইট সংরক্ষিত • অননুমোদিত অনুলিপি ও স্ক্রিনশট আইনি দণ্ডনীয় অপরাধ";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 20px;
  font-weight: 700;
  color: rgba(0, 106, 78, 0.04);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  letter-spacing: 2px;
}

/* ৩. স্ক্রিনশট ও স্ন্যাপিং টুল প্রতিরোধে ঝাপসা (Blur) শিল্ড */
.paper-sheet,
#memoPreviewSheet,
#resizerOutputPreview {
  position: relative;
  transition: filter 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

body.screenshot-shield-active .paper-sheet,
body.screenshot-shield-active #memoPreviewSheet,
body.screenshot-shield-active #resizerOutputPreview {
  filter: blur(14px) brightness(0.65) !important;
  pointer-events: none !important;
  user-select: none !important;
}

/* ৪. স্ক্রিন ক্যাপচার শিল্ড ডায়ালগ কার্ড */
.global-screenshot-shield,
.screen-capture-shield-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #ffffff;
  cursor: pointer;
}

body.screenshot-shield-active .global-screenshot-shield,
body.screenshot-shield-active .screen-capture-shield-overlay {
  display: flex !important;
}

.shield-dialog-card {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-radius: 14px;
  padding: 24px 28px;
  text-align: center;
  max-width: 380px;
  animation: shieldPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shieldPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.shield-lock-icon {
  font-size: 38px;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.shield-title {
  font-size: 17px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 6px;
}

.shield-desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 14px;
}

.shield-badge {
  display: inline-block;
  background: rgba(0, 106, 78, 0.35);
  color: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}

/* ৫. ফ্লোটিং সিকিউরিটি ওয়ার্নিং টোস্ট (Security Toast) */
.security-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  max-width: 92vw;
  text-align: center;
}

.security-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.security-toast.warning {
  border-left: 5px solid #f59e0b;
}

.security-toast.danger {
  border-left: 5px solid #ef4444;
}

.security-toast-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* ========================================================
   Digital Seba Dashboard: Mega Category Hub & Stats
   ======================================================== */
.dashboard-stats-strip {
  background: linear-gradient(135deg, #006a4e 0%, #004d38 100%);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0, 106, 78, 0.2);
}

.dashboard-stats-main h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 4px 0;
  color: #ffffff;
}

.dashboard-stats-main p {
  font-size: 13px;
  color: #bbf7d0;
  margin: 0;
}

.dashboard-stats-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stats-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

/* Category Hub Quick Launchers */
.category-hub-section {
  margin-bottom: 22px;
}

.category-hub-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 12px;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  min-height: 70px;
  box-sizing: border-box;
}

.hub-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--primary-soft);
}

.hub-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.hub-card-text {
  min-width: 0;
}

.hub-card-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.hub-card-text h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.hub-card-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.hub-card-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* ========================================================
   Business Digital Khata & Merchant Suite Styling
   ======================================================== */

.business-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  background: #f1f5f9;
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow-x: auto;
  white-space: nowrap;
}

.business-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

.business-tab-btn:hover {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.business-tab-btn.active {
  background: var(--bg-card);
  color: var(--primary);
  border-color: var(--border-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.business-tab-badge {
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

.business-subview {
  display: none !important;
}

.business-subview.active {
  display: block !important;
  animation: fadeIn 0.2s ease-in-out;
}

/* KPI Summary Cards */
.business-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.business-kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.business-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
}

.business-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.business-kpi-info {
  display: flex;
  flex-direction: column;
}

.business-kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.business-kpi-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.business-kpi-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* Table Card Container */
.business-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.business-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.business-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.business-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Crisp Business Table */
.business-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.business-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.business-table th {
  background: var(--bg-main);
  color: var(--text-muted);
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 1.5px solid var(--border-color);
  white-space: nowrap;
}

.business-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.business-table tr:hover td {
  background: var(--bg-main);
}

/* Badges */
.baki-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.baki-status-badge.due {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.baki-status-badge.partial {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fcd34d;
}

.baki-status-badge.settled {
  background: #dcfce7;
  color: #16a34a;
  border: 1px solid #86efac;
}

/* Quick Action Buttons in Forms */
.input-with-quick-btn {
  display: flex;
  gap: 6px;
  align-items: center;
}

.quick-action-input-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.quick-action-input-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Interactive Direct-Editable Memo Preview */
.memo-editable-field {
  display: inline-block;
  min-width: 40px;
  padding: 1px 4px;
  border-radius: 3px;
  outline: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  cursor: text;
}

.memo-editable-field:hover {
  background: rgba(0, 106, 78, 0.08);
  outline: 1px dashed rgba(0, 106, 78, 0.4);
}

.memo-editable-field:focus {
  background: #ffffff;
  outline: 2px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 106, 78, 0.15);
}

/* Standee Container & Sheet */
.standee-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  justify-content: center;
}

.standee-sheet {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
  position: relative;
  font-family: var(--font-doc);
}

.standee-theme-btn {
  transition: all 0.2s ease;
  font-size: 12.5px !important;
  cursor: pointer;
}

.standee-theme-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.standee-theme-btn.active {
  box-shadow: 0 0 0 2.5px rgba(0,0,0,0.2) !important;
  font-weight: 800 !important;
}

/* Tagada Modal */
.tagada-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.tagada-modal-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 520px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  overflow: hidden;
  animation: scaleUp 0.2s ease-out;
  border: 1px solid var(--border-color);
}

.tagada-modal-header {
  background: var(--bg-main);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tagada-modal-header h3 {
  margin: 0;
  font-size: 16px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tagada-modal-body {
  padding: 18px;
}

.tagada-msg-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #1e293b;
  white-space: pre-wrap;
  user-select: all;
  margin-bottom: 16px;
}

.tagada-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* ========================================================
   House Rental & To-Let Suite (বাড়ি ভাড়া ও টু-লেট নোটিশ)
   ======================================================== */

.rental-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.rental-tab-btn {
  background: none;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: 3px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.rental-tab-btn:hover {
  color: var(--primary);
  background: #f8fafc;
}

.rental-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
  background: #f0fdf4;
}

.rental-subview {
  display: none;
}

.rental-subview.active {
  display: block;
}

/* ========================================================
   ১. বাড়ি ভাড়া আদায় রশিদ (RENT RECEIPT STYLES)
   ======================================================== */

.receipt-stack-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid var(--border-color);
  max-width: 780px;
  margin: 0 auto;
}

.receipt-horizontal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 6px 0;
  text-align: center;
}

.cut-scissors-h {
  background: var(--bg-card);
  padding: 3px 16px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
  border-radius: 14px;
  z-index: 2;
  letter-spacing: 0.5px;
}

.cut-line-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1.5px dashed var(--border-color);
  z-index: 1;
}

.receipt-side-layout,
.receipt-dual-layout {
  display: flex;
  gap: 14px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid var(--border-color);
  align-items: stretch;
}

.receipt-single-layout {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid var(--border-color);
}

.receipt-divider,
.receipt-divider-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  min-width: 24px;
}

.cut-scissors,
.cut-scissors-v {
  font-size: 12px;
  color: #475569;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 8px;
  padding: 6px 2px;
  font-weight: 700;
  letter-spacing: 0 !important;
  line-height: 1.6;
  white-space: nowrap;
  text-align: center;
  background: #ffffff;
  z-index: 2;
  font-feature-settings: "liga" 1, "clig" 1;
}

.cut-line,
.cut-line-v {
  border-left: 1.5px dashed #94a3b8;
  height: auto;
  flex: 1 1 auto;
  min-height: 40px;
}


.rent-receipt-slip {
  --receipt-color: #000000;
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 16px 20px;
  font-family: var(--font-doc);
  color: #0f172a;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
  position: relative;
  min-width: 300px;
}

.rent-receipt-slip.secondary-slip {
  background: #fafaf9;
  border-color: #d6d3d1;
}

/* Slip Header: Sacred Bismillah & Copy Tag */
.slip-top-row {
  position: relative;
  min-height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3px;
  width: 100%;
}

.slip-bismillah {
  text-align: center;
  font-size: 11.5px;
  color: #475569;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.slip-copy-tag-wrap {
  position: absolute;
  right: 0;
  top: 0;
  line-height: 1;
}

.slip-copy-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--receipt-color, #64748b);
  border: 1px dashed var(--receipt-color, #cbd5e1);
  padding: 1.5px 7px;
  border-radius: 3px;
  background: #f8fafc;
  white-space: nowrap;
}

/* In Side-by-side mode (narrow slips):
   Stack copy tag & Bismillah cleanly so they NEVER overlap and keep copy tag 100% centered! */
.receipt-side-layout .slip-top-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  position: static !important;
  min-height: auto !important;
  gap: 2px !important;
  margin-bottom: 3px !important;
  width: 100% !important;
}

.receipt-side-layout .slip-top-row .slip-copy-tag-wrap {
  position: static !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
}

.receipt-side-layout .slip-top-row .slip-copy-tag {
  margin: 0 auto !important;
  text-align: center !important;
}

.receipt-side-layout .slip-top-row .slip-bismillah {
  text-align: center !important;
  width: 100% !important;
  font-size: 10.5px !important;
}

/* Mobile Screens: Also stack gracefully & centered */
@media (max-width: 640px) {
  .slip-top-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: static !important;
    min-height: auto !important;
    gap: 2px !important;
    margin-bottom: 3px !important;
    width: 100% !important;
  }

  .slip-top-row .slip-copy-tag-wrap {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
  }

  .slip-top-row .slip-copy-tag {
    margin: 0 auto !important;
    text-align: center !important;
  }

  .slip-top-row .slip-bismillah {
    text-align: center !important;
    width: 100% !important;
    font-size: 10.5px !important;
  }
}

/* Building / Landlord Identity Header (100% Centered & Prestigious) */
.slip-brand-header {
  text-align: center !important;
  width: 100% !important;
  margin: 2px auto 6px auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.slip-house-name,
.slip-house-name.memo-editable-field {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 21px;
  font-weight: 800;
  color: var(--receipt-color, #000000);
  line-height: 1.25;
  font-family: 'Noto Serif Bengali', serif;
  margin: 0 auto 2px auto !important;
  padding: 1px 4px;
}

.slip-address,
.slip-address.memo-editable-field {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 11px;
  color: #334155;
  line-height: 1.35;
  margin: 0 auto 2px auto !important;
  padding: 1px 4px;
}

.slip-phones,
.slip-phones.memo-editable-field {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 auto 4px auto !important;
  padding: 1px 4px;
}

.receipt-side-layout .slip-brand-header {
  margin: 1px auto 4px auto !important;
}

.receipt-side-layout .slip-house-name {
  font-size: 18px !important;
}

.slip-title-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 8px 0 10px 0 !important;
  width: 100% !important;
}

.slip-title-badge {
  background: var(--receipt-color, #000000);
  color: #ffffff;
  padding: 3px 22px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  display: inline-block;
  text-align: center;
}

.receipt-side-layout .slip-title-row {
  margin: 5px 0 7px 0 !important;
}

.receipt-side-layout .slip-title-badge {
  font-size: 12px !important;
  padding: 2px 16px !important;
}

.slip-meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 12px;
}

.slip-field {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex: 1;
}

.slip-field .lbl,
.slip-row .lbl {
  font-weight: 700;
  font-size: 12px;
  color: #000000;
  white-space: nowrap;
}

.slip-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.slip-row .dots,
.slip-field .dots {
  border-bottom: 1px dotted #475569;
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  padding-bottom: 1px;
}

.slip-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 7px;
}

.slip-grid-3 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.is-blank-pad .dots {
  border-bottom: 1.5px dotted #334155 !important;
  min-height: 18px;
  display: inline-block;
}

.slip-total-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

.slip-taka-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--receipt-color, #000000);
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
}

.slip-taka-box.blank-box {
  min-width: 150px;
  height: 32px;
  background: #ffffff !important;
}

.blank-amount {
  display: inline-block;
  min-width: 100px;
  height: 18px;
}

.rental-mode-btn.active {
  background: #006a4e !important;
  color: #ffffff !important;
  border-color: #006a4e !important;
  box-shadow: 0 2px 6px rgba(0, 106, 78, 0.25);
}

.preview-notice-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.slip-taka-box .lbl {
  font-weight: 800;
  font-size: 12px;
  color: var(--receipt-color, #000000);
}

.slip-taka-box .amount {
  font-weight: 900;
  font-size: 14.5px;
  color: var(--receipt-color, #000000);
  font-family: monospace, var(--font-doc);
}

.slip-words-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex: 1;
}

.slip-words-box .lbl {
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.slip-words-box .words-val {
  font-weight: 600;
  font-size: 12px;
  color: #0f172a;
  border-bottom: 1px dotted #475569;
  flex: 1;
}

.slip-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
  padding-top: 4px;
}

.sig-slot {
  text-align: center;
}

.sig-slot .line {
  border-top: 1px dotted #000000;
  margin-bottom: 4px;
}

.sig-slot .txt {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.slip-footer-tag {
  text-align: center;
  font-size: 9px;
  color: #94a3b8;
  margin-top: 14px;
}

/* ========================================================
   ২. বাসা ভাড়া / টু-লেট পোস্টার (TO-LET POSTER STYLES)
   ======================================================== */

.to-let-poster-card {
  --poster-color: #000000;
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  font-family: var(--font-doc);
  color: #000000;
  position: relative;
}

/* ঐতিহ্যবাহী প্রেস স্টাইল অলঙ্কৃত বর্ডার (Authentic Vintage Press Border) */
.to-let-poster-card.poster-border-traditional {
  border: 7px solid var(--poster-color, #000000);
  padding: 6px;
  outline: 2px solid var(--poster-color, #000000);
  outline-offset: -12px;
}

.to-let-poster-card.poster-border-double {
  border: 4px double var(--poster-color, #000000);
  padding: 12px;
}

.to-let-poster-card.poster-border-modern {
  border: 3px solid var(--poster-color, #000000);
  padding: 14px;
  border-radius: 8px;
}

.poster-inner-frame {
  border: 1.5px solid var(--poster-color, #000000);
  padding: 24px 20px;
  text-align: center;
  background: #ffffff;
}

.poster-bismillah {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* Giant Bold "বাসা ভাড়া" Header */
.poster-giant-title {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 58px;
  font-weight: 900;
  color: var(--poster-color, #000000);
  line-height: 1.05;
  margin: 0 0 16px 0;
  letter-spacing: 1.5px;
  text-align: center;
}

.poster-desc-box {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  color: #000000;
  margin: 0 auto 16px auto;
  max-width: 90%;
  text-align: center;
}

.poster-category-box {
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  color: var(--poster-color, #000000);
  border-top: 2.5px solid var(--poster-color, #000000);
  border-bottom: 2.5px solid var(--poster-color, #000000);
  padding: 6px 20px;
  margin: 8px 0 16px 0;
  letter-spacing: 0.5px;
  text-align: center;
}

.poster-features-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.poster-feat-badge {
  border: 1.5px solid #000000;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  background: #f8fafc;
}

.poster-landmark-box {
  font-size: 18.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
  margin: 0 auto 18px auto;
  max-width: 88%;
}

.poster-rent-box {
  display: inline-block;
  font-size: 26px;
  font-weight: 800;
  border: 2.5px solid #000000;
  border-radius: 8px;
  padding: 6px 18px;
  margin: 0 auto 14px auto;
  max-width: 92%;
  line-height: 1.35;
}

.poster-rent-box .poster-rent-cond {
  font-size: 17px;
  font-weight: 700;
}

.poster-notice-line {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 auto 14px auto;
  max-width: 88%;
  line-height: 1.45;
}

.poster-contact-label {
  font-size: 23px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 4px;
  font-family: 'Noto Serif Bengali', serif;
}

/* Giant Contact Numbers */
.poster-giant-phones {
  font-family: 'Noto Serif Bengali', serif, monospace;
  font-size: 38px;
  font-weight: 900;
  color: #000000;
  letter-spacing: 1.2px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.poster-footer-notice {
  font-size: 10px;
  color: #64748b;
  margin-top: 10px;
}

/* Tear-off Strips at bottom */
.poster-tear-off-container {
  margin-top: 8px;
  border-top: 2px dashed #000000;
  padding-top: 6px;
}

.tear-off-cut-line {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}

.tear-off-strips-grid {
  display: flex;
  justify-content: space-between;
  border-top: 1px dotted #94a3b8;
}

.tear-strip {
  flex: 1;
  border-right: 1.5px dashed #475569;
  padding: 8px 3px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 130px;
}

.tear-strip:last-child {
  border-right: none;
}

.strip-title {
  font-size: 10px;
  font-weight: 700;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strip-phone {
  font-family: monospace, var(--font-doc);
  font-size: 12px;
  font-weight: 800;
  color: #000000;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin: 6px auto;
  letter-spacing: 1px;
}

.strip-phone.sub {
  font-size: 10.5px;
  color: #334155;
}

.strip-cut-hint {
  font-size: 9px;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .receipt-dual-layout {
    flex-direction: column;
  }
  .receipt-divider {
    padding: 10px 0;
  }
  .cut-scissors {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .cut-line {
    border-left: none;
    border-top: 1.5px dashed #94a3b8;
    width: 100%;
    height: 1px;
  }
  .poster-giant-title {
    font-size: 40px;
  }
  .poster-giant-phones {
    font-size: 26px;
  }
  .poster-desc-box {
    font-size: 17px;
  }
}

/* ========================================================
   সোশ্যাল লগইন ও অথেনটিকেশন বাটনস (গুগল ও ফেসবুক)
   ======================================================== */
.social-auth-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.btn-social-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-social-google {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-color);
}
.btn-social-google:hover {
  background: var(--bg-main);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-color: var(--border-color);
}

.btn-social-facebook {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}
.btn-social-facebook:hover {
  background: #166fe5;
  box-shadow: 0 1px 4px rgba(24,119,242,0.3);
}

.social-auth-divider {
  display: flex;
  align-items: center;
  margin: 14px 0;
  color: var(--text-muted);
  font-size: 12.5px;
  text-align: center;
}
.social-auth-divider::before,
.social-auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}
.social-auth-divider span {
  padding: 0 12px;
}

/* ডুয়েল অ্যাকাউন্ট মোড সুইচার (ব্যক্তিগত vs ব্যবসায়িক) */
.account-mode-switcher {
  display: flex;
  background: var(--bg-main);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}
.account-mode-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.account-mode-btn.active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  font-weight: 700;
}

/* পেমেন্ট মেথড সুইচার (বিকাশ ও নগদ) */
.pay-method-switcher {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.pay-method-btn {
  flex: 1;
  padding: 10px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.2s;
}
.pay-method-btn[data-method="bKash"].active {
  border-color: #e2136e;
  background: rgba(226, 19, 110, 0.1);
  color: #e2136e;
}
.pay-method-btn[data-method="Nagad"].active {
  border-color: #ea580c;
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
}

/* পেমেন্ট নাম্বার কপি বার */
.payment-copy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-main);
  border: 1.5px dashed var(--border-color);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.payment-copy-bar strong {
  font-family: monospace;
  font-size: 17px;
  color: var(--primary);
  letter-spacing: 1px;
}
.payment-copy-btn {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.payment-copy-btn:hover {
  background: var(--primary);
  color: white;
}

/* ৪-সংখ্যার এক্সপ্রেস প্রিন্ট কোড মডাল কার্ড */
.express-code-display {
  background: var(--primary-soft);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}
.express-code-digits {
  font-size: 44px;
  font-weight: 900;
  font-family: monospace;
  color: var(--primary);
  letter-spacing: 8px;
  margin: 10px 0;
  text-shadow: 0 2px 4px rgba(0,106,78,0.15);
}
.express-instructions {
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.5;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  margin-top: 14px;
  text-align: left;
}

/* স্টোরেজ কোটা মিটার (২ এমবি) */
.storage-meter-box {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.storage-meter-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 8px 0;
}
.storage-meter-progress {
  height: 100%;
  width: 0%;
  background: #006a4e;
  transition: width 0.3s ease;
}

/* ট্রেন্ডিং লাইভ নোটিশ বার */
.trending-notice-strip {
  background: linear-gradient(90deg, #006a4e 0%, #064e3b 100%);
  color: white;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.trending-notice-pill {
  background: #f42a41;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  animation: pulseNotice 2s infinite;
}
@keyframes pulseNotice {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}




/* ========================================================
   Print Media Rules - Hide all navigation, notice bars & headers
   ======================================================== */
@media print {
  #layout-header,
  #layout-sidebar,
  #layout-topbar,
  #layout-footer,
  #layout-modals,
  #trendingNoticeStrip,
  .trending-notice-strip,
  .trending-notice-pill,
  #superAdminNoticeBanner,
  .superadmin-banner,
  .app-sidebar,
  .app-topbar,
  .mobile-app-header,
  .mobile-bottom-nav,
  .app-footer,
  footer,
  .no-print {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
  }
}
