/**
 * general.css — Velozitty Checkout Shared Styles
 * Carregue este arquivo em todas as páginas para garantir consistência e evitar duplicação.
 */

:root {
  --color-green: #00FF94;
  --color-dark: #0B0F19;
  --color-card: #111827;
  --color-input: #1F2937;
  --color-danger: #EF4444;
}

body {
  background-color: var(--color-dark);
  color: #ffffff;
}

/* ========================================================================= */
/* Scrollbar & Helpers Base
/* ========================================================================= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-input);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-green);
}

.neon-text {
  text-shadow: 0 0 10px rgba(0, 255, 148, 0.5);
}
.neon-danger {
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

/* ========================================================================= */
/* Loaders shared across pages
/* ========================================================================= */
.loader {
  border: 3px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  border-top: 3px solid #000;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}
.loader-white {
  border-top-color: #fff;
}
.mini-loader {
  border: 2px solid rgba(0, 255, 148, 0.1);
  border-radius: 50%;
  border-top: 2px solid var(--color-green);
  width: 14px;
  height: 14px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================================================= */
/* Rendered Items Styles (Fallback for success page)
/* ========================================================================= */

.vlzt-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.vlzt-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vlzt-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vlzt-item-name {
  color: #d1d5db;
  font-size: 12px;
  font-weight: 700;
  display: block;
}
.vlzt-item-desc {
  color: #6b7280;
  font-size: 10px;
}
.vlzt-item-price {
  flex-shrink: 0;
}

/* Price modifiers */
.vlzt-price-free {
  color: var(--color-green);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 255, 148, 0.1);
}
.vlzt-price-fixed {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.vlzt-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.vlzt-price-original {
  color: #4b5563;
  font-size: 9px;
  text-decoration: line-through;
}
.vlzt-price-discount {
  color: var(--color-green);
  font-size: 10px;
  font-weight: 700;
}
.vlzt-item-label {
  background: rgba(255, 255, 255, 0.08);
  color: #ddd;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vlzt-price-restricted {
  color: var(--color-danger);
  font-size: 9px;
  font-weight: 700;
  opacity: 0.7;
  text-transform: uppercase;
}
