/* ==========================================================================
   COPASNYC 2026 - Premium Stylesheet
   ========================================================================== */

:root {
  --bg-primary: #0a0c0d;
  --bg-secondary: #121618;
  --card-bg: rgba(20, 25, 22, 0.6);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-active: rgba(0, 230, 118, 0.4);
  
  /* Harmonious Colors */
  --accent-green: #00e676;
  --accent-green-glow: rgba(0, 230, 118, 0.35);
  --accent-gold: #ffb300;
  --accent-gold-glow: rgba(255, 179, 0, 0.45);
  
  --text-main: #f0f4f8;
  --text-muted: #8fa0af;
  --text-dark: #07090a;
  
  --transition-spring: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: all 0.25s ease;
}

/* Base Settings & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Background Glowing Effects */
.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.12) 0%, rgba(13, 92, 58, 0.05) 50%, rgba(0,0,0,0) 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

/* Glassmorphism Styles */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Screens Management */
.screen {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  min-height: 100vh;
  width: 100%;
}

.screen.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
}

/* ==========================================================================
   1. LOGIN SCREEN STYLING
   ========================================================================== */
#login-screen {
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  padding: 40px 30px;
  text-align: center;
  animation: slideUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.logo-area {
  margin-bottom: 35px;
}

.logo-img {
  width: 96px;
  height: 96px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 15px var(--accent-green-glow));
}

.spin-slow {
  animation: rotateBall 12s linear infinite;
}

@keyframes rotateBall {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-area h1 {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}

.logo-area p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}

/* Inputs & Form Groups */
.input-group {
  margin-bottom: 22px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding-left: 4px;
}

.input-group input, 
.custom-select, 
.search-box input {
  width: 100%;
  padding: 15px 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.input-group input:focus, 
.custom-select:focus,
.search-box input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green-glow);
  background: rgba(0, 0, 0, 0.6);
}

.input-group small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  padding-left: 4px;
}

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #0da162 0%, #00b0ff 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(13, 161, 98, 0.3);
  transition: var(--transition-spring);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 161, 98, 0.5);
  filter: brightness(1.1);
}

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

.btn-secondary {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   2. MAIN APPLICATION CONTENT STYLING
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  margin: 15px;
  border-radius: 16px !important;
}

.logo-nav {
  width: 38px;
  height: 38px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-left h2 {
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.room-display-badge {
  display: inline-block;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--accent-green);
  font-weight: 600;
  margin-top: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Network Status Badges */
#network-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.badge-online {
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.badge-offline {
  background: rgba(255, 112, 67, 0.1);
  color: #ff7043;
  border: 1px solid rgba(255, 112, 67, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
}

/* PWA Install Button */
.btn-install {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 176, 255, 0.15);
  border: 1px solid rgba(0, 176, 255, 0.3);
  color: #00b0ff;
  font-size: 0.8rem;
  font-weight: 650;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.btn-install:hover {
  background: rgba(0, 176, 255, 0.25);
}

.hidden {
  display: none !important;
}

/* Sync Button */
.btn-sync {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-sync:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--accent-green);
}

.sync-icon-svg.spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.badge-pending {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff5252;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
  min-width: 18px;
  text-align: center;
}

/* Dashboard Container */
.dashboard-container {
  flex: 1;
  padding: 0 15px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* Progress Section */
.progress-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.welcome-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.collector-info h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.stats-row {
  display: flex;
  gap: 20px;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
}

.stat-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.accent-box .stat-num {
  color: var(--accent-gold);
}

.progress-circle-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: 45%;
}

.progress-bar-linear {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  overflow: hidden;
}

.linear-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0da162 0%, var(--accent-green) 100%);
  box-shadow: 0 0 10px var(--accent-green-glow);
  border-radius: 6px;
  transition: width 0.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.progress-percentage-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.progress-percentage-text span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

/* ==========================================================================
   NAVIGATION TABS
   ========================================================================== */
.navigation-tabs {
  display: flex;
  padding: 6px;
  margin-bottom: 20px;
  border-radius: 14px !important;
}

.tab-btn {
  flex: 1;
  padding: 12px 6px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-green);
  box-shadow: inset 0 1px rgba(255,255,255,0.05);
}

.badge-info {
  background: var(--accent-green);
  color: var(--text-dark);
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
  margin-left: 4px;
}

/* Tab Panels Visibility */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.4s ease;
}

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

/* ==========================================================================
   PANEL: MEU ÁLBUM - FILTERS & GRID
   ========================================================================== */
.filters-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  border-radius: 16px !important;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-box input {
  padding: 12px 40px 12px 16px;
  font-size: 0.95rem;
}

#clear-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-dropdowns {
  display: flex;
  gap: 10px;
}

.custom-select {
  padding: 12px 16px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Sticker Grid Container */
.stickers-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}

@media(max-width: 480px) {
  .stickers-grid-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

.loading-spinner {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Country Section Divider in Grid */
.country-section-header {
  grid-column: 1 / -1;
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-green);
  border-bottom: 1px solid rgba(0, 230, 118, 0.2);
  padding-bottom: 4px;
}

/* Individual Sticker Card Design */
.sticker-card {
  position: relative;
  aspect-ratio: 0.72 / 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-spring);
}

.sticker-code-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

/* Grid Card Hover States */
.sticker-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}



/* OWNED STATE STYLING */
.sticker-card.owned {
  background: linear-gradient(135deg, #072f1c 0%, #0d5c3a 100%);
  border: 1.5px solid var(--accent-green);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.25);
}

.sticker-card.owned .sticker-code-text {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* REPEAT STATE STYLING - GORGEOUS HOLOGRAPHIC SPARKLE FOR KIDS */
.sticker-card.repeat {
  background: linear-gradient(135deg, #614605 0%, #a1780f 100%);
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 0 16px rgba(255, 179, 0, 0.45);
  animation: shine-border 3s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}

@keyframes shine-border {
  from { border-color: var(--accent-gold); }
  to { border-color: #ffffff; }
}

/* Glitter / Holo-Sweep Sweep overlay */
.sticker-card.repeat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 300%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 40%,
    rgba(0, 230, 118, 0.2) 50%,
    rgba(0, 176, 255, 0.2) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: holo-glitter 3s infinite linear;
}

@keyframes holo-glitter {
  0% { left: -150%; }
  100% { left: 150%; }
}

.sticker-card.repeat .sticker-code-text {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  z-index: 2;
}

/* Double border simulation for duplicates */
.sticker-card.repeat::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  pointer-events: none;
  z-index: 1;
}

/* Milestone dynamic text style */
.milestone-msg {
  font-size: 0.85rem;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  color: var(--accent-green);
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 10px;
  font-weight: 500;
  display: inline-block;
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Sticker Badges (Sticker Counts) */
.sticker-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.sticker-card.owned .sticker-badge {
  background: var(--accent-green);
  color: var(--text-dark);
}

.sticker-card.repeat .sticker-badge {
  background: var(--accent-gold);
  color: var(--text-dark);
  box-shadow: 0 0 6px var(--accent-gold-glow);
}

/* Quick Decrement Button on card */
.sticker-dec-btn {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sticker-card:hover .sticker-dec-btn {
  opacity: 1;
}

.sticker-dec-btn:hover {
  background: rgba(255, 82, 82, 0.8);
  border-color: #ff5252;
}

/* ==========================================================================
   PANEL: CARDS, QUICK ENTRY & LISTS
   ========================================================================== */
.card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Quick Entry Form */
.quick-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.input-row {
  display: flex;
  gap: 15px;
}

.input-row .input-group {
  flex: 1;
  margin-bottom: 0;
}

.quick-instructions {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255,255,255,0.03);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
}

.quick-instructions h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

.quick-instructions p {
  font-size: 0.8rem;
}

/* Recent Log Entry Card */
.entry-log-card {
  margin-bottom: 30px;
}

.recent-entries-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
}

.empty-log {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
}

.log-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.log-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.log-badge-action {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.log-action-add {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-green);
}

.log-action-remove {
  background: rgba(255, 82, 82, 0.15);
  color: #ff5252;
}

.log-code {
  font-weight: 700;
}

.btn-undo {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.btn-undo:hover {
  color: #ff5252;
}

/* ==========================================================================
   PANEL: TRADE CALCULATOR & MEMBERS
   ========================================================================== */
.trades-selector-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
}

.select-partner-prompt {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.select-partner-prompt svg {
  color: rgba(255, 255, 255, 0.08);
}

/* Trade Cards Results */
.trade-summary-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.trade-header-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.trade-ratio-badge {
  background: var(--accent-green-glow);
  border: 1px solid var(--accent-green);
  color: #fff;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 8px;
}

.trade-lists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media(max-width: 580px) {
  .trade-lists-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.trade-column {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 15px;
}

.trade-column h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 6px;
}

.trade-column-giving h4 {
  color: var(--accent-green);
}

.trade-column-receiving h4 {
  color: var(--accent-gold);
}

.trade-stickers-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 250px;
  overflow-y: auto;
}

.trade-sticker-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.trade-column-giving .trade-sticker-pill {
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.25);
}

.trade-column-receiving .trade-sticker-pill {
  background: rgba(255, 179, 0, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 179, 0, 0.25);
}

.empty-trade-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Members Panel & Progress Bars */
.room-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 15px;
}

@media(max-width: 480px) {
  .room-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.room-info-item {
  display: flex;
  flex-direction: column;
}

.room-info-item .info-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.room-info-item .info-val {
  font-size: 1rem;
  font-weight: 700;
}

.actions-row {
  margin-top: 5px;
}

.members-progress-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.member-progress-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.member-header-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
}

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

.member-bar {
  width: 100%;
  height: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  overflow: hidden;
}

.member-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0da162 0%, var(--accent-green) 100%);
  border-radius: 4px;
}

/* ==========================================================================
   TOASTS & FLOATING NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 90%;
  max-width: 380px;
}

.toast {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUpToast 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.toast.success {
  background: #1b5e20;
  color: #c8e6c9;
  border: 1px solid #2e7d32;
}

.toast.error {
  background: #b71c1c;
  color: #ffcdd2;
  border: 1px solid #c62828;
}

.toast.info {
  background: #0d47a1;
  color: #bbdefb;
  border: 1px solid #1565c0;
}

.toast.warning {
  background: #e65100;
  color: #ffe0b2;
  border: 1px solid #ef6c00;
}

/* App Footer */
.app-footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.75rem;
}
