/* ==========================================================================
   PakARQ DriveUp - Official Tool Stylesheet
   100% Native PakARQ Purple Theme & Aesthetic
   Uses PakARQ Global Design System Variables (--purple-*, --ink, --grad-purple)
   ========================================================================== */

/* Main Studio Section & Overlap */
.du-studio-section {
  padding: 0 0 90px;
  background: var(--purple-50);
  min-height: 80vh;
}

.du-main-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.du-main-card {
  background: #ffffff;
  border: 1px solid var(--purple-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px -10px rgba(75, 20, 184, 0.08);
  padding: 36px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.du-main-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-purple);
}

@media (max-width: 768px) {
  .du-main-card {
    padding: 24px 18px;
    margin-top: -30px;
    border-radius: var(--radius-md);
  }
}

/* User Status Bar & Topbar */
.du-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.du-user-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.du-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-purple);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.du-user-info {
  display: flex;
  flex-direction: column;
}

.du-user-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.du-user-sub {
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 3px;
  flex-wrap: wrap;
}

.du-plan-badge {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
}

.du-plan-badge.active {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.du-plan-badge.review {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

.du-plan-badge.rejected {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.du-plan-badge.expired {
  background: #fff7ed;
  color: #9a3412;
  border-color: #ffedd5;
}

.du-plan-badge.unpaid {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.du-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.du-drive-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--purple-200);
  background: #ffffff;
  color: var(--purple-700);
  box-shadow: var(--shadow-sm);
}

.du-drive-status.connected {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.du-drive-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.du-drive-status.connected .du-drive-dot {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

/* Tabs Bar (Matching PakARQ .tools-tabs-row) */
.du-tabs-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-200) transparent;
}

.du-tabs-bar::-webkit-scrollbar {
  height: 6px;
}

.du-tabs-bar::-webkit-scrollbar-thumb {
  background: var(--purple-200);
  border-radius: 999px;
}

.du-tab-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--purple-200);
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.du-tab-btn i {
  color: var(--purple-600);
  font-size: 0.95rem;
}

.du-tab-btn:hover {
  background: var(--purple-50);
  border-color: var(--purple-400);
  color: var(--purple-700);
  transform: translateY(-1px);
}

.du-tab-btn.active {
  background: var(--purple-600);
  border-color: var(--purple-600);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(106, 28, 255, 0.25);
}

.du-tab-btn.active i {
  color: #ffffff;
}

/* 4 Metrics Stat Cards Grid */
.du-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

@media (max-width: 992px) {
  .du-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .du-stats-grid {
    grid-template-columns: 1fr;
  }
}

.du-stat-card {
  background: #ffffff;
  border: 1px solid var(--purple-100);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.du-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--purple-300);
  box-shadow: var(--shadow-md);
}

.du-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.du-stat-icon.green {
  background: #ecfdf5;
  color: #10b981;
}

.du-stat-icon.blue {
  background: #e0f2fe;
  color: #0284c7;
}

.du-stat-icon.amber {
  background: #fef3c7;
  color: #f59e0b;
}

.du-stat-icon.purple {
  background: var(--purple-50);
  color: var(--purple-600);
}

.du-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  line-height: 1.1;
}

.du-stat-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Studio Sub-Cards */
.du-card {
  background: #ffffff;
  border: 1px solid var(--purple-100);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.du-card:hover {
  border-color: var(--purple-200);
  box-shadow: var(--shadow-md);
}

.du-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--purple-100);
  flex-wrap: wrap;
  gap: 12px;
}

.du-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.du-card-title-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--purple-50);
  color: var(--purple-600);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.du-card-sub {
  font-size: 0.94rem;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 22px;
  line-height: 1.6;
}

/* Form Groups & Inputs */
.du-form-group {
  margin-bottom: 20px;
}

.du-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.du-hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.du-input,
.du-select {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--purple-200);
  background: #faf6ff;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.du-textarea {
  width: 100%;
  min-height: 130px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--purple-200);
  background: #faf6ff;
  font-family: 'Space Grotesk', monospace, sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
  outline: none;
  resize: vertical;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.du-input:focus,
.du-textarea:focus,
.du-select:focus {
  background: #ffffff;
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(106, 28, 255, 0.12);
}

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

@media (max-width: 768px) {
  .du-form-row {
    grid-template-columns: 1fr;
  }
}

/* Alerts & Notices */
[hidden],
.du-alert:empty,
#f-err:empty,
#nt-err:empty,
#pw-err:empty {
  display: none !important;
}

.du-alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.du-alert i {
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.du-alert-warn {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  color: #92400e;
}

.du-alert-info {
  background: var(--purple-50);
  border: 1.5px solid var(--purple-200);
  color: var(--purple-700);
}

.du-alert-success {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  color: #065f46;
}

.du-alert-danger {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #991b1b;
}

/* Custom Buttons (Matching PakARQ .btn) */
.du-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.du-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.du-btn-primary {
  background: var(--grad-purple);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.du-btn-primary:hover {
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.du-btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.du-btn-emerald:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
  color: #ffffff;
}

.du-btn-ghost {
  background: var(--purple-50);
  border: 1.5px solid var(--purple-200);
  color: var(--purple-700);
}

.du-btn-ghost:hover {
  background: var(--purple-100);
  border-color: var(--purple-400);
  color: var(--purple-900);
}

.du-btn-danger {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

.du-btn-danger:hover {
  background: #fecaca;
  color: #991b1b;
}

.du-btn-wa {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.du-btn-wa:hover {
  background: #22bf5b;
  color: #ffffff;
}

.du-btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
  border-radius: 999px;
}

.du-btn-block {
  width: 100%;
}

.du-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Tables Styling */
.du-tbl-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--purple-100);
  background: #ffffff;
}

.du-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.du-tbl th {
  background: var(--purple-50);
  color: var(--purple-900);
  font-weight: 800;
  padding: 14px 18px;
  border-bottom: 1px solid var(--purple-100);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.du-tbl td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--purple-50);
  color: var(--ink);
  vertical-align: middle;
}

.du-tbl tr:last-child td {
  border-bottom: none;
}

.du-tbl tr:hover td {
  background: #faf6ff;
}

/* Progress Bars */
.du-prog-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}

.du-prog-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--purple-100);
  overflow: hidden;
  position: relative;
}

.du-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #7c1cff 0%, #10b981 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.du-prog-pct {
  font-size: 0.8rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--purple-700);
  min-width: 38px;
}

/* Status Badges */
.du-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.du-badge.queued {
  background: #f1f5f9;
  color: #475569;
}

.du-badge.downloading {
  background: #e0f2fe;
  color: #0284c7;
}

.du-badge.uploading {
  background: #fef3c7;
  color: #d97706;
}

.du-badge.done {
  background: #ecfdf5;
  color: #059669;
}

.du-badge.error {
  background: #fee2e2;
  color: #dc2626;
}

.du-badge.cancelled {
  background: #f3f4f6;
  color: #6b7280;
}

.du-badge.watermark {
  background: var(--purple-50);
  color: var(--purple-700);
  border: 1px solid var(--purple-200);
}

/* Google Drive Explorer */
.du-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  flex-wrap: wrap;
}

.du-breadcrumbs a {
  color: var(--purple-600);
  text-decoration: none;
}

.du-breadcrumbs a:hover {
  text-decoration: underline;
}

.du-breadcrumbs .sep {
  color: var(--purple-300);
}

.du-file-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.du-file-icon.folder { background: #fef3c7; color: #d97706; }
.du-file-icon.video { background: var(--purple-50); color: var(--purple-600); }
.du-file-icon.image { background: #ecfdf5; color: #059669; }
.du-file-icon.doc { background: #e0f2fe; color: #0284c7; }
.du-file-icon.file { background: #f1f5f9; color: #64748b; }

/* Empty States */
.du-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted);
}

.du-empty-icon {
  font-size: 2.8rem;
  color: var(--purple-300);
  margin-bottom: 14px;
}

.du-empty-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

/* Auth Portal Form (Inside Main Card) */
.du-auth-container {
  max-width: 480px;
  margin: 10px auto 20px;
}

.du-auth-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 0;
  box-shadow: none;
  position: relative;
}

.du-auth-card::before {
  display: none;
}

@media (max-width: 576px) {
  .du-auth-card {
    padding: 26px 20px;
    border-radius: var(--radius-md);
  }
}

.du-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  border: 1.5px solid #fde68a;
  color: #92400e;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.du-auth-tabs {
  display: flex;
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: 999px;
  padding: 5px;
  gap: 5px;
  margin-bottom: 26px;
}

.du-auth-tab {
  flex: 1;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: center;
}

.du-auth-tab.active {
  background: #ffffff;
  color: var(--purple-700);
  box-shadow: var(--shadow-sm);
}

/* Feature Highlights Grid Below Workspace */
.du-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}

@media (max-width: 900px) {
  .du-features-grid {
    grid-template-columns: 1fr;
  }
}

.du-feature-box {
  background: #ffffff;
  border: 1px solid var(--purple-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(18, 7, 27, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.du-feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-purple);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.du-feature-box:hover {
  transform: translateY(-6px);
  border-color: var(--purple-300);
  box-shadow: 0 20px 45px rgba(106, 28, 255, 0.12);
}

.du-feature-box:hover::before {
  opacity: 1;
}

.du-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.du-feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.du-feature-desc {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Interactive FAQs Accordion */
.du-faq-wrap {
  margin-top: 50px;
}

.du-faq-item {
  background: #ffffff;
  border: 1px solid var(--purple-100);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.du-faq-item.open {
  border-color: var(--purple-300);
  box-shadow: 0 6px 20px rgba(106, 28, 255, 0.07);
}

.du-faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  gap: 16px;
}

.du-faq-question i.chevron {
  font-size: 0.9rem;
  color: var(--purple-500);
  transition: transform 0.3s ease;
}

.du-faq-item.open .du-faq-question i.chevron {
  transform: rotate(180deg);
}

.du-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--purple-50);
}

.du-faq-body {
  padding: 18px 26px 26px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
  border-top: 1px solid var(--purple-100);
}

/* Toast Notifications */
.du-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  z-index: 999999;
  font-size: 0.92rem;
  font-weight: 700;
  max-width: 90vw;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: duFadeIn 0.25s ease;
}

.du-toast.err {
  background: #dc2626;
}

@keyframes duFadeIn {
  from { opacity: 0; transform: translate(-50%, 15px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Spinner */
.du-spinner {
  width: 38px;
  height: 38px;
  border: 3.5px solid var(--purple-100);
  border-top-color: var(--purple-600);
  border-radius: 50%;
  animation: duSpin 0.75s linear infinite;
  margin: 0 auto;
}

@keyframes duSpin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   SUBSCRIPTION & PAYMENT SYSTEM (100 PKR/Month)
   ========================================================================== */

.du-sub-banner {
  background: #ffffff;
  border: 1.5px solid var(--purple-200);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 26px;
  box-shadow: 0 4px 20px rgba(75, 20, 184, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.du-sub-banner.unpaid {
  border-color: #fde68a;
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.du-sub-banner.pending {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.du-sub-banner.rejected {
  border-color: #fecaca;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.du-sub-banner.active {
  border-color: #a7f3d0;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.du-sub-banner-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.du-sub-banner-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.du-sub-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.du-sub-banner.unpaid .du-sub-banner-icon {
  background: #fef3c7;
  color: #d97706;
}

.du-sub-banner.pending .du-sub-banner-icon {
  background: #dbeafe;
  color: #2563eb;
}

.du-sub-banner.rejected .du-sub-banner-icon {
  background: #fee2e2;
  color: #dc2626;
}

.du-sub-banner.active .du-sub-banner-icon {
  background: #d1fae5;
  color: #059669;
}

.du-sub-banner-h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.du-sub-banner-desc {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.55;
  margin-top: 8px;
}

.du-sub-admin-note {
  background: #ffffff;
  border: 1.5px solid #fca5a5;
  border-left: 5px solid #dc2626;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 14px;
  font-size: 0.92rem;
  color: #991b1b;
  line-height: 1.5;
}

.du-sub-admin-note strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b91c1c;
  margin-bottom: 4px;
}

/* Payment Section Container */
.du-pay-section {
  background: #ffffff;
  border: 1px solid var(--purple-150, #ede9fe);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 20px;
}

/* Accounts Grid */
.du-accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 18px 0 24px;
}

.du-account-card {
  background: #ffffff;
  border: 1.5px solid var(--purple-100);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.du-account-card:hover {
  transform: translateY(-2px);
  border-color: var(--purple-300);
  box-shadow: 0 6px 20px rgba(75, 20, 184, 0.08);
}

.du-account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--purple-50);
}

.du-account-type {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--purple-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.du-account-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--purple-100);
  color: var(--purple-700);
}

.du-account-row {
  margin-bottom: 8px;
}

.du-account-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.du-account-val-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--purple-50);
  padding: 6px 10px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
}

.du-copy-btn {
  background: #ffffff;
  border: 1px solid var(--purple-200);
  color: var(--purple-700);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.du-copy-btn:hover {
  background: var(--purple-600);
  color: #ffffff;
  border-color: var(--purple-600);
}

.du-copy-btn.copied {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

/* Upload Slip Card */
.du-slip-upload-card {
  background: var(--purple-50);
  border: 1.5px dashed var(--purple-300);
  border-radius: 14px;
  padding: 22px;
  margin-top: 18px;
}

.du-dropzone {
  border: 2px dashed var(--purple-300);
  border-radius: 12px;
  background: #ffffff;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.du-dropzone:hover, .du-dropzone.dragover {
  border-color: var(--purple-600);
  background: #faf5ff;
}

.du-dropzone-icon {
  font-size: 2.2rem;
  color: var(--purple-500);
  margin-bottom: 10px;
}

.du-slip-preview {
  margin-top: 14px;
  padding: 12px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--purple-200);
  display: flex;
  align-items: center;
  gap: 14px;
}

.du-slip-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--purple-100);
}

/* Slip Status Pill */
.du-slip-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}
.du-slip-status-pill.pending {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.du-slip-status-pill.approved {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.du-slip-status-pill.rejected {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Renewal Alert Modal */
.du-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
  animation: duFadeIn 0.2s ease-out;
}
.du-modal-card {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  animation: duModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes duModalPop {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes duFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

