/* Platega.io Inspired Premium CSS stylesheet for Flash Links VPN */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Color Palette - Platega.io Dark Blue / Indigo */
  --bg-base: #06060c;
  --bg-surface: rgba(10, 11, 23, 0.65);
  --bg-surface-solid: #0a0b17;
  --bg-card: rgba(22, 24, 48, 0.45);
  
  --border-color: rgba(59, 130, 246, 0.12);
  --border-color-glow: rgba(59, 130, 246, 0.35);
  
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.45);
  --secondary: #4f46e5;
  --secondary-glow: rgba(79, 70, 229, 0.45);
  --accent: #60a5fa;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  /* Dotted grid pattern (Platega.io style) + radial glows */
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(59, 130, 246, 0.03) 0px, transparent 50%);
  background-size: 20px 20px, 100% 100%, 100% 100%, 100% 100%;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

/* Glassmorphism Panels & Cards */
.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem;
}

.glass-panel:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 12px 40px -10px rgba(59, 130, 246, 0.08);
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: var(--border-color-glow);
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.2);
  transform: translateY(-3px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.15);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.35);
}

/* Header & Navigation */
header {
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  background: rgba(6, 6, 12, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(59, 130, 246, 0.15);
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--primary-glow);
  object-fit: cover;
  border: 1.5px solid var(--primary);
  animation: logo-glow 3s ease-in-out infinite alternate;
}

@keyframes logo-glow {
  0% { box-shadow: 0 0 8px var(--primary-glow); }
  100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.7); }
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-user-email {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-inverse);
  box-shadow: 0 4px 15px -3px var(--primary-glow);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px -3px var(--primary-glow);
  transform: translateY(-1.5px);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0.5px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(59, 130, 246, 0.25);
  color: var(--accent);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

.btn-danger:hover {
  background: var(--danger);
  color: white;
}

/* Pricing Storefront */
.pricing-section {
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  width: 100%;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.plan-card {
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
}

.plan-card.popular {
  border-color: var(--primary);
  box-shadow: 0 8px 30px -10px var(--primary-glow);
}

.plan-card.popular::before {
  content: "⚡ POPULAR";
  position: absolute;
  top: 15px;
  right: -35px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-inverse);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 2.25rem;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.plan-price-container {
  display: flex;
  align-items: baseline;
  margin: 1.25rem 0;
  gap: 0.25rem;
}

.plan-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.plan-currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.plan-period {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.plan-features {
  list-style: none;
  margin: 1.5rem 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.plan-features li svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Form inputs & boxes */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  color: white;
  font-size: 0.95rem;
  transition: all 0.25s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Copy Link Widget */
.copy-widget {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px solid var(--border-color);
  padding: 0.35rem 0.5rem 0.35rem 0.75rem;
  border-radius: var(--border-radius-md);
  transition: all 0.3s;
}

.copy-widget:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.copy-input {
  flex-grow: 1;
  font-family: monospace;
  font-size: 0.85rem;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0.25rem 0;
  color: var(--text-main);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* User Dashboard grid elements */
.dashboard-container {
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 0 1.25rem;
  width: 100%;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.dashboard-left, .dashboard-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Info Details rows */
.info-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--primary);
}

.info-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.info-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Expiration and usage statuses */
.sub-status-badge {
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sub-status-active {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary);
  border: 1.5px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

.sub-status-expired {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
  border: 1.5px solid rgba(239, 68, 68, 0.25);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.1);
}

.trial-badge {
  font-size: 0.75rem;
  background: var(--primary);
  color: var(--text-inverse);
  padding: 0.15rem 0.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Pulsing Progress Bar */
.progress-container {
  margin: 0.75rem 0;
}

.progress-bar-wrapper {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 99px;
  box-shadow: 0 0 10px var(--primary-glow);
  position: relative;
  overflow: hidden;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: progress-pulse 2s infinite;
}

@keyframes progress-pulse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Guide Tabs */
.tabs-widget {
  margin-top: 1rem;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  gap: 1rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 0.65rem 0.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.25s;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-shadow: 0 0 8px var(--primary-glow);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Credit Card Widget */
.card-widget {
  width: 100%;
  height: 190px;
  perspective: 1000px;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.card-widget.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}

.card-front {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.card-back {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  transform: rotateY(180deg);
  padding: 1.25rem 0;
  justify-content: flex-start;
  gap: 1.25rem;
}

.card-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #ffe082, #ffb300);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  font-style: italic;
  align-self: flex-end;
  color: white;
}

.card-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  margin: 1rem 0 0.25rem;
  text-shadow: 0 2px 3px rgba(0,0,0,0.3);
}

.card-holder-group {
  display: flex;
  justify-content: space-between;
}

.card-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.15rem;
}

.card-val {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.card-magnetic-strip {
  width: 100%;
  height: 36px;
  background: #080710;
}

.card-signature-area {
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-signature {
  width: 70%;
  height: 30px;
  background: #f1f5f9;
  color: #0f172a;
  font-family: 'Courier New', Courier, monospace;
  font-style: italic;
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
  font-size: 0.8rem;
  border-radius: 4px;
}

.card-cvv-box {
  width: 44px;
  height: 30px;
  background: white;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 90%;
  max-width: 500px;
  padding: 2.25rem;
  border-radius: var(--border-radius-lg);
  background: var(--bg-surface-solid);
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary);
}

/* Alerts */
.alert {
  padding: 0.85rem 1.15rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.alert-success {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

/* System Settings Toggles */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255,255,255,0.08);
  transition: .25s;
  border-radius: 22px;
  border: 1px solid var(--border-color);
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
  border-color: rgba(59, 130, 246, 0.3);
}

input:checked + .slider:before {
  transform: translateX(18px);
  background-color: var(--text-inverse);
}

/* Admin Dashboard layout */
.admin-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 66px);
  width: 100%;
}

.admin-sidebar {
  border-right: 1px solid var(--border-color);
  background: rgba(6, 6, 12, 0.25);
  padding: 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-side-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  transition: all 0.2s;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.admin-side-link:hover {
  background: rgba(59, 130, 246, 0.04);
  color: var(--text-main);
  border-color: rgba(59, 130, 246, 0.05);
}

.admin-side-link.active {
  background: rgba(59, 130, 246, 0.07);
  color: var(--primary);
  border-color: rgba(59, 130, 246, 0.15);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

.admin-content {
  padding: 1.5rem 2rem;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.admin-table th {
  background: rgba(255, 255, 255, 0.02);
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

/* RESPONSIVE DESIGN - MOBILE BREAKPOINTS */
@media (max-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .admin-container {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
  }
  .admin-sidebar div {
    display: none !important;
  }
  .admin-side-link {
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  header {
    padding: 1rem !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    align-items: center !important;
  }
  
  .logo-text {
    font-size: 1.25rem !important;
  }
  
  .nav-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }
  
  .nav-user-email {
    font-size: 0.8rem !important;
    text-align: center !important;
    word-break: break-all !important;
    display: block !important;
  }
  
  .glass-panel {
    padding: 1.15rem !important;
    border-radius: 16px !important;
  }
  
  .copy-widget {
    flex-direction: column !important;
    gap: 0.5rem !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }
  
  .copy-input {
    width: 100% !important;
    min-width: 0 !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid var(--border-color) !important;
    padding: 0.75rem 1rem !important;
    border-radius: var(--border-radius-md) !important;
  }
  
  .copy-widget button {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .plan-card {
    padding: 1.75rem 1.25rem !important;
  }
  
  .card-widget {
    height: 155px !important;
  }
  
  .card-inner {
    height: 155px !important;
  }
  
  .card-front, .card-back {
    padding: 1rem !important;
  }
  
  .card-number {
    font-size: 1.05rem !important;
    margin: 0.5rem 0 0.15rem !important;
  }
  
  .card-val {
    font-size: 0.75rem !important;
  }
  
  .card-logo {
    font-size: 0.95rem !important;
  }
  
  .modal-content {
    padding: 1.15rem !important;
    width: 92% !important;
    margin: auto 4% !important;
  }
  
  .modal-header h3 {
    font-size: 1.1rem !important;
  }
  
  .tabs-nav {
    gap: 0.25rem !important;
  }
  
  .tab-btn {
    padding: 0.5rem 0.15rem !important;
    font-size: 0.75rem !important;
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
  
  h2 {
    font-size: 1.25rem !important;
  }
  
  h3 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 380px) {
  .card-number {
    font-size: 0.95rem !important;
  }
  .card-logo {
    font-size: 0.85rem !important;
  }
  .card-val {
    font-size: 0.7rem !important;
  }
  .tab-btn {
    font-size: 0.7rem !important;
  }
}

/* Card Layout & Re-ordering for Mobile */
.card-links {
  grid-column: 1;
  grid-row: 1;
}
.card-instructions {
  grid-column: 1;
  grid-row: 2;
}
.card-details {
  grid-column: 2;
  grid-row: 1;
}
.card-qrcode {
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: 992px) {
  .dashboard-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  .card-links {
    order: 1 !important;
  }
  .card-details {
    order: 2 !important;
  }
  .card-instructions {
    order: 3 !important;
  }
  .card-qrcode {
    order: 4 !important;
  }
}
