/**
 * Kazakan Tools 2.0 — WhatsApp Link Generator & Country Phone Input
 */
/* 12. QR Code Generator & Preview */
.qr-preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  margin-block: var(--space-4);
  min-height: 260px;
}
.qr-preview-box svg, .qr-preview-box canvas {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}


/* ==========================================================================
   WhatsApp Link Generator — Modern Glass & WhatsApp Theme
   ========================================================================== */

#whatsapp-link-generator-app .wa-field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main, #f8fafc);
  margin-block-end: 4px;
}

[data-theme="light"] #whatsapp-link-generator-app .wa-field-label {
  color: #0f172a;
}

#whatsapp-link-generator-app .wa-field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  margin-block-end: 10px;
}

/* Unified Modern Phone Input Component */
.kz-phone-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2, 8px);
  margin-block-end: 6px;
  flex-wrap: wrap;
}

.kz-phone-field {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  direction: ltr !important;
  align-items: stretch;
  width: 100%;
  min-height: 52px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-md, 12px);
  transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.2s ease;
  box-sizing: border-box;
}

/* Redundant custom-select prevention inside phone field */
.kz-phone-field > .kz-select-wrapper {
  display: none !important;
}

[data-theme="light"] .kz-phone-field {
  background: #ffffff;
  border-color: #cbd5e1;
}

.kz-phone-field:hover {
  border-color: var(--border-strong, rgba(255, 255, 255, 0.25));
}

[data-theme="light"] .kz-phone-field:hover {
  border-color: #94a3b8;
}

.kz-phone-field:focus-within {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .kz-phone-field:focus-within {
  background: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* Country Selector Button */
.kz-phone-country-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  direction: ltr !important;
  gap: 8px;
  height: 100%;
  min-height: 50px;
  padding: 0 14px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1)) !important;
  border-left: none !important;
  cursor: pointer;
  user-select: none;
  font-family: inherit;
  color: var(--text-main, #f8fafc);
  transition: background-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
  border-top-left-radius: inherit !important;
  border-bottom-left-radius: inherit !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  outline: none;
  order: 1;
  box-sizing: border-box;
  line-height: 1;
}

[data-theme="light"] .kz-phone-country-btn {
  border-right-color: #e2e8f0 !important;
  border-left-color: transparent !important;
  color: #0f172a;
}

.kz-phone-country-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .kz-phone-country-btn:hover {
  background: #f1f5f9;
}

.kz-phone-country-btn:focus-visible {
  outline: 2px solid var(--brand-primary, #25D366);
  outline-offset: -2px;
}

.kz-phone-flag {
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 1;
}

.kz-phone-dial-code {
  font-family: var(--font-mono, monospace);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  color: inherit;
  letter-spacing: 0.04em;
  direction: ltr !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 2;
}

.kz-phone-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #94a3b8);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  order: 3;
}

.kz-phone-country-btn[aria-expanded="true"] .kz-phone-chevron {
  transform: rotate(180deg);
}

/* Number Input Wrap */
.kz-phone-input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  direction: ltr !important;
  order: 2;
  height: 100%;
}

.kz-phone-input {
  width: 100% !important;
  height: 100% !important;
  min-height: 50px !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 14px !important;
  margin: 0 !important;
  color: var(--text-main, #f8fafc) !important;
  font-family: var(--font-mono, monospace) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  direction: ltr !important;
  text-align: left !important;
}

[data-theme="light"] .kz-phone-input {
  color: #0f172a !important;
}

.kz-phone-input::placeholder {
  color: var(--text-muted, #94a3b8) !important;
  opacity: 0.55 !important;
}

/* End Phone Icon */
.kz-phone-end-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-right: 14px !important;
  padding-left: 0 !important;
  color: var(--text-muted, #94a3b8);
  opacity: 0.55;
  pointer-events: none;
  flex-shrink: 0;
  order: 3;
}

/* Dropdown Popover */
.kz-phone-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0 !important;
  right: auto !important;
  width: min(340px, 94vw);
  max-height: 380px;
  background: var(--surface-color-elevated, #0f172a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: kz-pop-in 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .kz-phone-dropdown {
  direction: rtl;
}

[dir="ltr"] .kz-phone-dropdown {
  direction: ltr;
}

[data-theme="light"] .kz-phone-dropdown {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

@keyframes kz-pop-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.kz-phone-search-box {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-block-end: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .kz-phone-search-box {
  background: #f8fafc;
  border-block-end-color: #e2e8f0;
}

.kz-phone-search-icon {
  position: absolute;
  inset-inline-start: 22px;
  color: var(--text-muted, #94a3b8);
  pointer-events: none;
}

.kz-phone-search-input {
  width: 100% !important;
  height: 38px !important;
  padding-inline-start: 34px !important;
  padding-inline-end: 10px !important;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12)) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text-main, #f8fafc) !important;
  font-size: 0.88rem !important;
  font-family: inherit !important;
  outline: none !important;
  box-sizing: border-box;
}

[data-theme="light"] .kz-phone-search-input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.kz-phone-search-input:focus {
  border-color: #25D366 !important;
}

[data-theme="light"] .kz-phone-search-input:focus {
  border-color: #10b981 !important;
}

.kz-phone-list {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: 310px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
}

.kz-phone-list-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted, #94a3b8);
  padding: 6px 10px 4px;
  letter-spacing: 0.05em;
}

.kz-phone-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  color: var(--text-main, #f8fafc);
  transition: background-color 0.12s ease;
}

[data-theme="light"] .kz-phone-option {
  color: #1e293b;
}

.kz-phone-option:hover,
.kz-phone-option.is-highlighted {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .kz-phone-option:hover,
[data-theme="light"] .kz-phone-option.is-highlighted {
  background: #f1f5f9;
}

.kz-phone-option.is-selected {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  font-weight: 600;
}

[data-theme="light"] .kz-phone-option.is-selected {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.kz-phone-opt-flag {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.kz-phone-opt-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kz-phone-opt-dial {
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
  flex-shrink: 0;
  direction: ltr;
}

.kz-phone-empty {
  padding: 18px;
  text-align: center;
  color: var(--text-muted, #94a3b8);
  font-size: 0.88rem;
}

/* QR Code Generator WhatsApp Field Customization */
[data-qr-type="whatsapp"] .kz-phone-field:focus-within {
  border-color: var(--brand-primary, #6366f1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

[data-qr-type="whatsapp"] .kz-phone-country-btn:focus-visible {
  outline-color: var(--brand-primary, #6366f1);
}

[data-qr-type="whatsapp"] .kz-phone-search-input:focus {
  border-color: var(--brand-primary, #6366f1) !important;
}

[data-qr-type="whatsapp"] .kz-phone-option.is-selected {
  background: rgba(99, 102, 241, 0.14);
  color: var(--brand-primary, #6366f1);
}

/* Backward compatibility aliases */
.wa-phone-row {
  display: flex;
  align-items: stretch;
  min-height: 52px;
}

/* Message & Templates */
.wa-message-group {
  margin-block-end: var(--space-4, 16px);
}

.wa-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 6px;
}

.wa-char-counter {
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
  font-family: var(--font-mono, monospace);
}

.wa-message-textarea {
  min-height: 85px;
  resize: vertical;
}

.wa-template-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-block-start: 8px;
}

.wa-chips-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  margin-inline-end: 2px;
}

.wa-template-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-full, 9999px);
  color: var(--text-main, #f8fafc);
  font-size: 0.78rem;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  min-height: 32px;
}

[data-theme="light"] .wa-template-chip {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}

.wa-template-chip:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: #25D366;
  color: #25D366;
}

/* QR Code Logo Customization */
.wa-qr-settings-group {
  margin-block-start: var(--space-4, 16px);
  padding-block-start: var(--space-3, 12px);
  border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

[data-theme="light"] .wa-qr-settings-group {
  border-top-color: #e2e8f0;
}

.wa-logo-segmented {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-block-start: 8px;
}

.wa-logo-choice {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-sm, 10px);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

[data-theme="light"] .wa-logo-choice {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

.wa-logo-choice:hover {
  border-color: rgba(37, 211, 102, 0.4);
  color: var(--text-main, #f8fafc);
}

.wa-logo-choice.is-active {
  background: rgba(37, 211, 102, 0.12);
  border-color: #25D366;
  color: #25D366;
  font-weight: 700;
}

.wa-custom-logo-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-start: 10px;
  flex-wrap: wrap;
}

.wa-btn-upload {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.82rem;
  cursor: pointer;
  min-height: 40px;
}

.wa-logo-filename {
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  font-family: var(--font-mono, monospace);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-btn-clear {
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--status-error, #ef4444);
  min-height: 40px;
}

/* Result Card */
.wa-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-block-end: var(--space-3, 12px);
  flex-wrap: wrap;
  gap: 8px;
}

.wa-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
}

.wa-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: wa-pulse 1.8s infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* QR Stage */
.wa-qr-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-block-end: var(--space-4, 16px);
}

.wa-qr-wrapper {
  background: #ffffff;
  padding: clamp(10px, 2vw, 14px);
  border-radius: var(--radius-sm, 12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  box-sizing: border-box;
}

.wa-qr-canvas {
  width: clamp(140px, 28vw, 185px) !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  max-width: 100% !important;
  display: block;
}

@media (max-width: 480px) {
  .wa-qr-canvas {
    width: min(150px, 50vw) !important;
  }
}

.wa-qr-actions {
  margin-block-start: 10px;
}

.wa-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  padding: 8px 16px;
  min-height: 40px;
}

/* Link Card */
.wa-link-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-sm, 12px);
  padding: var(--space-3, 12px);
  margin-block-end: var(--space-4, 16px);
  box-sizing: border-box;
}

[data-theme="light"] .wa-link-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.wa-link-caption {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  margin-block-end: 6px;
}

.wa-link-bar {
  display: flex;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-xs, 8px);
  overflow: hidden;
  margin-block-end: 10px;
}

[data-theme="light"] .wa-link-bar {
  background: #ffffff;
  border-color: #cbd5e1;
}

.wa-result-link-input {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  color: #25D366;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 12px;
  outline: none;
  min-width: 0;
  direction: ltr;
}

[data-theme="light"] .wa-result-link-input {
  color: #128c7e;
}

.wa-copy-link-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-inline-start: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  color: var(--text-main, #f8fafc);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  min-height: 44px;
}

[data-theme="light"] .wa-copy-link-btn {
  background: #f1f5f9;
  border-inline-start-color: #e2e8f0;
  color: #1e293b;
}

.wa-copy-link-btn:hover {
  background: #25D366;
  color: #ffffff;
}

.wa-copy-link-btn.copied {
  background: #10b981;
  color: #ffffff;
}

.wa-primary-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wa-btn-whatsapp-primary {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm, 10px);
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  min-height: 48px;
}

.wa-btn-whatsapp-primary:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.wa-btn-whatsapp-primary[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}

.wa-btn-share {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  min-height: 48px;
}

/* Simulated WhatsApp Chat Bubble */
.wa-chat-preview-box {
  width: 100%;
  border-radius: var(--radius-sm, 12px);
  overflow: hidden;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  background: #0b141a;
  box-sizing: border-box;
}

[data-theme="light"] .wa-chat-preview-box {
  background: #efeae2;
  border-color: #e2e8f0;
}

.wa-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #202c33;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .wa-chat-header {
  background: #008069;
  color: #ffffff;
}

.wa-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00a884;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.wa-chat-header-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.wa-chat-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e9edef;
}

[data-theme="light"] .wa-chat-name {
  color: #ffffff;
}

.wa-chat-status {
  font-size: 0.7rem;
  color: #8696a0;
}

[data-theme="light"] .wa-chat-status {
  color: rgba(255, 255, 255, 0.8);
}

.wa-chat-body {
  padding: 16px 14px;
  display: flex;
  justify-content: flex-end;
  min-height: 80px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 16px 16px;
}

[data-theme="light"] .wa-chat-body {
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

.wa-chat-bubble {
  max-width: 85%;
  background: #005c4b;
  color: #e9edef;
  border-radius: 8px 0 8px 8px;
  padding: 8px 10px 4px 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  word-break: break-word;
}

[data-theme="light"] .wa-chat-bubble {
  background: #d9fdd3;
  color: #111b21;
}

.wa-chat-text {
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0;
  white-space: pre-wrap;
}

.wa-chat-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-block-start: 4px;
}

.wa-chat-time {
  font-size: 0.65rem;
  color: #8696a0;
}

[data-theme="light"] .wa-chat-time {
  color: #667781;
}

.wa-chat-ticks {
  font-size: 0.72rem;
  color: #53bdeb;
  line-height: 1;
}

@media (max-width: 640px) {
  .wa-country-box {
    min-width: 105px;
    max-width: 125px;
  }
  .wa-dial-input {
    width: 44px;
  }
  .wa-phone-row {
    font-size: 0.85rem;
  }
}

@media (max-width: 420px) {
  .wa-country-box {
    min-width: 90px;
    max-width: 105px;
    font-size: 0.78rem;
  }

  .wa-btn-action {
    min-height: 44px;
    width: 100%;
    justify-content: center;
  }
}

/* Low-Spec & No-GPU Solid Fallback */
html.no-glass .wa-studio-card {
  background: #0d1527 !important;
  border-color: #1e293b !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

html.no-glass[data-theme="light"] .wa-studio-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
}

@supports not (backdrop-filter: blur(10px)) {
  .wa-studio-card {
    background: #0d1527 !important;
    border-color: #1e293b !important;
  }
  [data-theme="light"] .wa-studio-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
  }
}
