/* CardMax - Minimal Nordic Theme */
/* Clean, light, Scandinavian-inspired design */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-hover: #F5F5F5;
  --border: #E8E8E8;
  --border-focus: #CCCCCC;
  --text: #1A1A1A;
  --text-secondary: #6B6B6B;
  --text-muted: #9A9A9A;
  --accent: #2C5F2D;
  --accent-light: #E8F5E9;
  --accent-hover: #234A24;
  --warning: #C75000;
  --warning-light: #FFF3E8;
  --info: #1A5F7A;
  --info-light: #E8F4F8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ================================
   Navigation
================================ */
.navbar {
  background: var(--surface);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.nav-links a.active {
  color: var(--text);
  background: var(--surface-hover);
}

/* Navbar Auth */
.navbar-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

.navbar-auth-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.navbar-auth-btn:hover {
  opacity: 0.9;
}

.navbar-auth-btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.navbar-auth-btn.secondary:hover {
  background: var(--surface-hover);
}

.navbar-auth-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.navbar-auth-user img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.navbar-auth-name {
  color: var(--text-secondary);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar-auth-signout {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.navbar-auth-signout:hover {
  color: var(--text);
}

/* Sub-Navigation */
.sub-navbar {
  background: var(--surface);
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 57px;
  z-index: 99;
}

.sub-navbar-content {
  max-width: 1200px;
  margin: 0 auto;
}

.sub-nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.sub-nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.4rem 0.875rem;
  border-radius: 50px;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.sub-nav-links a:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.sub-nav-links a.active {
  color: var(--accent);
  background: var(--accent-light);
  border-color: transparent;
}

/* ================================
   Main Container
================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

/* ================================
   Hero Section
================================ */
.hero {
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.375rem;
  color: var(--text);
}

.hero p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ================================
   Stats Bar
================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.15s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.stat-value.positive {
  color: var(--accent);
}

.stat-value.negative {
  color: var(--warning);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ================================
   Card Grid
================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

/* ================================
   Credit Card Display
================================ */
.credit-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  border: 1px solid var(--border);
}

.credit-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header {
  padding: 1.25rem 1.5rem;
  color: white;
  position: relative;
}

/* Quick Add Button */
.quick-add-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  backdrop-filter: blur(4px);
}

.quick-add-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: scale(1.1);
}

.quick-add-btn.added {
  background: var(--accent);
  border-color: var(--accent);
}

.quick-add-btn.added:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: none;
  cursor: default;
}

.card-issuer {
  font-size: 0.7rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.card-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.card-body {
  padding: 1.5rem;
}

.card-fee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.fee-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.fee-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

/* ================================
   Earning Rates
================================ */
.earning-rates {
  margin-bottom: 1rem;
}

.earning-rates h4 {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.rate-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.rate-item:last-child {
  border-bottom: none;
}

.rate-category {
  font-size: 0.875rem;
  color: var(--text);
}

.rate-multiplier {
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.625rem;
  border-radius: 50px;
  font-size: 0.8rem;
}

/* ================================
   Credits Section
================================ */
.credits-section {
  margin-top: 1rem;
}

.credit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0.875rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.credit-item:last-child {
  margin-bottom: 0;
}

.credit-name {
  font-size: 0.85rem;
  color: var(--text);
}

.credit-value {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.85rem;
}

/* ================================
   Buttons
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
  font-family: inherit;
}

.btn-primary {
  background: var(--text);
  color: var(--surface);
}

.btn-primary:hover {
  background: #333;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-focus);
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
}

/* ================================
   Benefit Tracker
================================ */
.tracker-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}

.tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.tracker-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.tracker-progress {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.benefit-checklist {
  list-style: none;
}

.benefit-item {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.benefit-item:hover {
  border-color: var(--border);
}

.benefit-item.completed {
  opacity: 0.5;
}

.benefit-item.completed .benefit-text {
  text-decoration: line-through;
}

.benefit-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  margin-right: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.benefit-item.completed .benefit-checkbox {
  background: var(--accent);
  border-color: var(--accent);
}

.benefit-checkbox::after {
  content: '';
  width: 10px;
  height: 6px;
  border: 2px solid white;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.benefit-item.completed .benefit-checkbox::after {
  opacity: 1;
}

.benefit-content {
  flex: 1;
}

.benefit-text {
  font-weight: 500;
  font-size: 0.9rem;
}

.benefit-description {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.125rem;
}

.benefit-value {
  font-weight: 600;
  color: var(--accent);
  margin-left: 1rem;
  font-size: 0.9rem;
}

/* ================================
   Progress Bar
================================ */
.progress-container {
  margin-top: 1rem;
}

.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ================================
   Comparison Table
================================ */
.comparison-container {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table td {
  font-size: 0.875rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: var(--bg);
}

/* ================================
   Filter Bar
================================ */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--border-focus);
  color: var(--text);
}

.filter-btn.active {
  background: var(--text);
  border-color: var(--text);
  color: white;
}

/* ================================
   Modal
================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.15s ease;
}

.modal-close:hover {
  color: var(--text);
}

/* ================================
   Tabs
================================ */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.tab {
  padding: 0.875rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 500;
  position: relative;
  transition: color 0.15s ease;
  font-family: inherit;
  font-size: 0.9rem;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  color: var(--text);
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
}

/* ================================
   Card Visual Component
================================ */
.card-visual {
  width: 72px;
  height: 45px;
  border-radius: 6px;
  position: relative;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 8px;
  overflow: hidden;
}

.card-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.card-visual .card-logo {
  font-size: 0.45rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-visual .card-chip {
  width: 14px;
  height: 10px;
  background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
  border-radius: 2px;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.card-visual .card-network {
  font-size: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
  align-self: flex-end;
  font-weight: 600;
}

/* Card issuer-specific styles */
.card-visual.chase {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
}

.card-visual.amex {
  background: linear-gradient(135deg, #1a5276 0%, #2874a6 100%);
}

.card-visual.capital-one {
  background: linear-gradient(135deg, #922B21 0%, #C0392B 100%);
}

.card-visual.citi {
  background: linear-gradient(135deg, #1B4F72 0%, #2471A3 100%);
}

.card-visual.bilt {
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

.card-visual.discover {
  background: linear-gradient(135deg, #BA4A00 0%, #E67E22 100%);
}

.card-visual.wells-fargo {
  background: linear-gradient(135deg, #7B241C 0%, #A93226 100%);
}

.card-visual.us-bank {
  background: linear-gradient(135deg, #1A5276 0%, #2E86C1 100%);
}

.card-visual.barclays {
  background: linear-gradient(135deg, #117A65 0%, #1ABC9C 100%);
}

.card-visual.bofa {
  background: linear-gradient(135deg, #7B241C 0%, #C0392B 100%);
}

.card-visual.metal {
  background: linear-gradient(135deg, #424242 0%, #616161 50%, #424242 100%);
}

/* Card Visual with actual image */
.card-visual.card-visual-image {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.card-visual.card-visual-image::before {
  display: none;
}

.card-visual .card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* Larger card image for detail views */
.card-visual-large {
  width: 120px;
  height: 76px;
}

.card-visual-large .card-image {
  border-radius: 8px;
}

/* ================================
   Form Elements
================================ */
input[type="text"],
input[type="search"],
select {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: all 0.15s ease;
}

input[type="text"]:focus,
input[type="search"]:focus,
select:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05);
}

/* ================================
   Responsive
================================ */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .navbar-content {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .nav-links {
    gap: 0.25rem;
  }

  .nav-links a {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  .sub-navbar {
    padding: 0.5rem 1rem;
    top: 49px;
  }

  .sub-nav-links {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sub-nav-links a {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    white-space: nowrap;
  }

  .container {
    padding: 1.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================
   Utility Classes
================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

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

.fade-in {
  animation: fadeIn 0.2s ease forwards;
}

/* ================================
   Feedback Widget
================================ */
.feedback-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1000;
}

.feedback-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feedback-fab svg {
  width: 24px;
  height: 24px;
}

.feedback-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  padding: 1rem;
}

.feedback-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.feedback-modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.2s ease;
}

.feedback-modal-overlay.active .feedback-modal {
  transform: translateY(0);
}

.feedback-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feedback-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.feedback-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.feedback-modal-close:hover {
  color: var(--text);
}

.feedback-modal-body {
  padding: 1.5rem;
}

.feedback-disclaimer {
  background: var(--warning-light);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: var(--warning);
  line-height: 1.5;
}

.feedback-form-group {
  margin-bottom: 1rem;
}

.feedback-form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.feedback-form-group input,
.feedback-form-group select,
.feedback-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.feedback-form-group input:focus,
.feedback-form-group select:focus,
.feedback-form-group textarea:focus {
  outline: none;
  border-color: var(--text);
}

.feedback-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.feedback-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .feedback-fab {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
  }

  .feedback-fab svg {
    width: 20px;
    height: 20px;
  }
}

/* ================================
   Quick Save Button (Guest Users)
================================ */
.quick-save-fab {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  height: 44px;
  padding: 0 1rem 0 0.875rem;
  border-radius: 50px;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  z-index: 1000;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}

.quick-save-fab:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.quick-save-fab svg {
  width: 18px;
  height: 18px;
}

.quick-save-fab .quick-save-text {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .quick-save-fab {
    bottom: 1rem;
    left: 1rem;
    height: 40px;
    padding: 0 0.875rem 0 0.75rem;
    font-size: 0.8rem;
  }

  .quick-save-fab svg {
    width: 16px;
    height: 16px;
  }
}
