/* ============================================================
   dixpic v2 — Global Styles
   Shared variables, reset, navbar, footer, auth UI, utilities
   ============================================================ */

/* CSS Variables */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --border-primary: #2a2a2a;
  --border-light: #333333;

  --text-primary: #f5f5f5;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;

  --accent-purple: #7c3aed;
  --accent-purple-hover: #6d28d9;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-green: #22c55e;
  --accent-blue: #3b82f6;

  --gradient-primary: linear-gradient(135deg, #7c3aed, #ec4899);
  --gradient-hero: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.1));

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.15);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-primary);
}

.navbar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  transition: opacity var(--transition);
}

.navbar-brand:hover {
  opacity: 0.8;
}

.navbar-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.navbar-links {
  display: flex;
  gap: 8px;
}

.navbar-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}

.navbar-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.navbar-link.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.15);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Credits display */
.credits-display {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-purple);
}

.credits-display svg {
  opacity: 0.8;
}

#creditsCount.low-credits {
  color: #f59e0b;
}

#creditsCount.no-credits {
  color: #ef4444;
}

/* Auth buttons */
.btn-login {
  padding: 8px 20px;
  background: var(--accent-purple);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}

.btn-login:hover {
  background: var(--accent-purple-hover);
  transform: translateY(-1px);
}

.btn-logout-link {
  padding: 8px 20px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-purple);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(124, 58, 237, 0.3);
  transition: background var(--transition);
}

.btn-logout-link:hover {
  background: rgba(124, 58, 237, 0.25);
}

/* Language switcher */
.lang-switcher { position: relative; }

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 6px 12px;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lang-btn:hover { border-color: var(--accent-purple); }

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  min-width: 140px;
  z-index: 50;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* ============================================================
   CTA Buttons (shared)
   ============================================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.cta-button.primary {
  background: var(--gradient-primary);
  color: #fff;
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}

.cta-button.secondary {
  background: transparent;
  color: var(--accent-purple);
  border: 1px solid rgba(124, 58, 237, 0.4);
}

.cta-button.secondary:hover {
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}

.cta-button.large {
  padding: 16px 36px;
  font-size: 18px;
}

/* ============================================================
   Trust badges
   ============================================================ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-primary);
  background: var(--bg-secondary);
  padding: 64px 24px 32px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-links-group h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links-group a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-primary);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   Auth Pages
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-container-centered {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 48px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 50%;
  color: var(--accent-purple);
  margin-bottom: 16px;
}

.auth-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-sans);
  transition: border-color var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-purple);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.password-input {
  position: relative;
}

.password-input input {
  width: 100%;
  padding-right: 48px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  display: flex;
  transition: color var(--transition);
}

.toggle-password:hover,
.toggle-password.visible {
  color: var(--text-primary);
}

/* Password strength */
.password-strength {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.strength-bar {
  flex: 1;
  height: 4px;
  background: var(--border-primary);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.strength-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s, background 0.3s;
  width: 0;
}

.strength-bar.weak::after {
  width: 25%;
  background: #ef4444;
}

.strength-bar.medium::after {
  width: 50%;
  background: #f59e0b;
}

.strength-bar.good::after {
  width: 75%;
  background: #22c55e;
}

.strength-bar.strong::after {
  width: 100%;
  background: #10b981;
}

.strength-text {
  font-size: 12px;
  font-weight: 500;
  min-width: 48px;
}

.strength-text.weak { color: #ef4444; }
.strength-text.medium { color: #f59e0b; }
.strength-text.good { color: #22c55e; }
.strength-text.strong { color: #10b981; }

/* Form row & links */
.form-row {
  display: flex;
  justify-content: flex-end;
}

.forgot-link {
  font-size: 13px;
  color: var(--accent-purple);
  transition: opacity var(--transition);
}

.forgot-link:hover {
  opacity: 0.8;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  margin-top: 1px;
  transition: background var(--transition), border-color var(--transition);
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}

.checkbox-label a {
  color: var(--accent-purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-label a:hover {
  opacity: 0.8;
}

/* Form message */
.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  text-align: center;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-sans);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Auth footer */
.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-primary);
  font-size: 14px;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--accent-purple);
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ============================================================
   Profile / Dashboard
   ============================================================ */
.profile-page {
  padding-top: 64px;
}

.profile-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  min-height: calc(100vh - 64px);
}

/* Sidebar */
.profile-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.profile-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-primary);
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  flex-shrink: 0;
}

.user-email {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-all;
}

.user-badge {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-align: left;
  width: 100%;
}

.profile-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.profile-nav-item.active {
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-purple);
}

/* Content tabs */
.profile-tab {
  display: none;
}

.profile-tab.active {
  display: block;
}

.tab-header {
  margin-bottom: 24px;
}

.tab-header h1 {
  font-size: 24px;
  font-weight: 700;
}

/* Account info */
.account-info {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-primary);
}

.info-row:last-child {
  border-bottom: none;
}

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

.info-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Balance card */
.balance-card {
  background: var(--bg-card);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin-bottom: 16px;
}

.balance-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.balance-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-purple);
}

.balance-label {
  font-size: 18px;
  color: var(--text-secondary);
}

.balance-info {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.balance-actions {
  margin-bottom: 32px;
}

/* Shared btn styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.btn-secondary:hover {
  background: rgba(124, 58, 237, 0.25);
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
  width: 100%;
}

/* Free usage grid */
.free-usage-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.free-usage-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
}

.free-usage-count {
  font-weight: 600;
  color: var(--text-primary);
}

/* History table */
.history-table-wrapper {
  overflow-x: auto;
}

.history-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.history-table th,
.history-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-primary);
  font-size: 14px;
}

.history-table th {
  background: rgba(124, 58, 237, 0.1);
  font-weight: 600;
  color: var(--text-primary);
}

.history-table td {
  color: var(--text-secondary);
}

.amount-positive {
  color: #22c55e;
  font-weight: 600;
}

.amount-negative {
  color: var(--text-muted);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .navbar-content {
    padding: 0 16px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .profile-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .profile-sidebar {
    position: static;
  }

  .profile-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 8px;
  }

  .profile-nav-item {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 13px;
  }

  .profile-nav-item span {
    display: none;
  }

  .balance-number {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust-badges {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================================
   Cookie Consent Banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card, #141414);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  z-index: 9999;
  animation: cookieSlideUp 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes cookieSlideDown {
  from { transform: translateY(0); }
  to { transform: translateY(100%); }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cookie-text { flex: 1; }

.cookie-text h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 14px;
  color: #a1a1a1;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #0ea5e9, #7c3aed, #ec4899);
  color: white;
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.cookie-btn-reject {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1a1;
}

.cookie-btn-reject:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.cookie-btn-settings {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1a1;
}

.cookie-btn-settings:hover {
  border-color: rgba(124, 58, 237, 0.5);
  color: #fff;
}

.cookie-btn-save {
  background: #7c3aed;
  color: white;
  width: 100%;
  margin-top: 12px;
}

.cookie-settings-panel {
  max-width: 1200px;
  margin: 16px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-setting-info { flex: 1; }

.cookie-setting-info strong {
  font-size: 14px;
  color: #fff;
}

.cookie-setting-info p {
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input { display: none; }

.cookie-slider {
  position: absolute;
  inset: 0;
  background: #374151;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.cookie-toggle input:checked + .cookie-slider {
  background: #7c3aed;
}

.cookie-toggle input:checked + .cookie-slider::before {
  transform: translateX(20px);
}

.cookie-toggle.disabled .cookie-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn { width: 100%; }
}

/* Payment success banner */
.payment-success-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #22c55e;
  font-size: 0.95rem;
}

.payment-success-banner[hidden] { display: none; }

.banner-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #22c55e;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.25rem;
}

/* Quick buy in modals */
.modal-quick-buy {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-buy-label {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.quick-buy-buttons {
  display: flex;
  gap: 0.75rem;
}

.quick-buy-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 0.5rem;
  color: #a5b4fc;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-buy-btn:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  color: #c7d2fe;
}
