/* Faceit Overlay & Widget Catalog CSS */

.widgets-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget-row {
  background: #141922;
  border: 1px solid #28303e;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 200px 1fr 280px;
  align-items: center;
  gap: 20px;
  transition: border-color 0.2s ease;
}

.widget-row:hover {
  border-color: rgba(255, 85, 0, 0.4);
}

.widget-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.widget-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.widget-notice {
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-copy-url {
  background: rgba(255, 183, 0, 0.15);
  color: var(--brand-amber);
  border: 1px solid rgba(255, 183, 0, 0.4);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-copy-url:hover {
  background: var(--brand-amber);
  color: #000000;
}

/* WIDGET PREVIEW BOXES */
.widget-preview-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Base Level Badge */
.faceit-level-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ff5500;
  color: #ffffff;
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 85, 0, 0.4);
  border: 2px solid #ffffff;
}

.level-10 { background: #ff0000; box-shadow: 0 0 12px rgba(255, 0, 0, 0.6); }
.level-9  { background: #ff4500; }
.level-8  { background: #ff5500; }
.level-7  { background: #ff7700; }
.level-6  { background: #ff9900; }
.level-5  { background: #ffbb00; color: #000; }
.level-4  { background: #cecc00; color: #000; }
.level-3  { background: #55ff00; color: #000; }
.level-2  { background: #00ffaa; color: #000; }
.level-1  { background: #cccccc; color: #000; }

/* Widget Style 1: F1X */
.w-theme-f1x {
  background: rgba(15, 20, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.w-theme-f1x .elo-num {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
}

.w-theme-f1x .stat-list {
  font-size: 11px;
  color: #a0aec0;
  display: flex;
  flex-direction: column;
}

/* Widget Style 2: Renew 2 */
.w-theme-renew2 {
  background: linear-gradient(90deg, #111823 0%, #1a2332 100%);
  border: 1px solid #2d3748;
  padding: 8px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.w-theme-renew2 .gain-positive {
  color: #00e676;
  font-weight: 700;
}

/* Widget Style 3: Progress Bar Widget */
.w-theme-progress {
  background: #11151c;
  border: 1px solid #222936;
  padding: 12px 16px;
  border-radius: 10px;
  width: 240px;
}

.w-theme-progress .top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.w-theme-progress .progress-bar-bg {
  height: 6px;
  background: #252d3c;
  border-radius: 3px;
  overflow: hidden;
}

.w-theme-progress .progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff5500, #ffb700);
  border-radius: 3px;
}

/* Widget Style 4: Circular Radial */
.w-theme-circular {
  background: #0d1117;
  border: 2px solid #ff5500;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255, 85, 0, 0.4);
}

.w-theme-circular .circle-elo {
  font-size: 13px;
  font-weight: 800;
}

/* Widget Style 10: Animated Glowing ELO */
.w-theme-animated {
  background: rgba(18, 22, 30, 0.9);
  border: 1px solid rgba(0, 210, 255, 0.4);
  padding: 10px 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 8px rgba(0, 210, 255, 0.2); }
  100% { box-shadow: 0 0 20px rgba(0, 210, 255, 0.6); }
}
