/* ==========================================================================
   DESIGN SYSTEM - RECEITAS LEVES PWA
   ========================================================================== */

:root {
  /* Color Palette - Sage Greens & Cream */
  --primary-color: #2e7d32;      /* Forest Green */
  --primary-light: #4caf50;      /* Leaf Green */
  --primary-dark: #1b5e20;       /* Dark Green */
  --accent-color: #ff9800;       /* Warm Orange for badges/ratings */
  
  --bg-cream: #faf9f6;           /* Soft Sand/Cream for clear mode */
  --text-dark: #1c2b1e;          /* Off-black, dark forest tone */
  --text-light: #667c69;         /* Muted sage grey-green for subtitles */
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(46, 125, 50, 0.08);
  
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 10px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Dark Mode Overrides (Automatic based on system/class) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-cream: #0c140e;         /* Deep Forest Black */
    --text-dark: #f1f7f2;        /* Off-white */
    --text-light: #94ad98;       /* Muted grey-green */
    
    --glass-bg: rgba(18, 30, 20, 0.75);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  }
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent; /* Remove outline flicker on mobile */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
}

/* Centraliza o App no Desktop */
.app-container {
  min-height: 100vh;
  max-width: 480px; /* Limita largura estilo iPhone Pro Max */
  margin: 0 auto;
  background-color: var(--bg-cream);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.04);
  position: relative;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

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

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1em;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.brand-text h1 {
  font-size: 1.15em;
  font-weight: 800;
  line-height: 1;
  color: var(--text-dark);
}

.brand-text span {
  font-size: 0.75em;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.install-pill {
  border: none;
  background: var(--primary-color);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
}

.install-pill:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.profile-circle {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1em;
  transition: var(--transition-smooth);
}

.profile-circle:hover {
  transform: scale(1.05);
  border-color: var(--primary-light);
  color: var(--primary-light);
}

/* ==========================================================================
   PROMO BANNER
   ========================================================================== */

.promo-banner {
  margin: 16px 20px 0 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  border-radius: var(--border-radius-md);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.15);
}

.promo-info h3 {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffeb3b; /* Highlight yellow */
}

.promo-info p {
  font-size: 0.78em;
  opacity: 0.9;
  line-height: 1.3;
}

.btn-primary-sm {
  background: white;
  color: var(--primary-dark);
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8em;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary-sm:hover {
  transform: scale(1.03);
  background: #ffeb3b;
  color: var(--primary-dark);
}

/* ==========================================================================
   SEARCH BAR
   ========================================================================== */

.search-section {
  padding: 16px 20px 8px 20px;
}

.search-bar {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.search-bar:focus-within {
  border-color: var(--primary-light);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.12);
}

.search-bar i {
  color: var(--text-light);
  font-size: 1.1em;
}

.search-bar input {
  border: none;
  background: transparent;
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.95em;
  color: var(--text-dark);
  outline: none;
}

.search-bar input::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.search-bar button {
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  font-size: 1.1em;
}

/* ==========================================================================
   CATEGORIES SECTION
   ========================================================================== */

.categories-section {
  padding: 12px 0 8px 0;
}

.categories-section h2 {
  font-size: 1em;
  font-weight: 700;
  padding: 0 20px;
  margin-bottom: 10px;
  color: var(--text-dark);
  opacity: 0.9;
}

.categories-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 20px 10px 20px;
  scrollbar-width: none; /* Firefox */
}

.categories-scroll::-webkit-scrollbar {
  display: none; /* Safari/Chrome */
}

.category-chip {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.category-chip:hover {
  transform: translateY(-1px);
  border-color: var(--primary-light);
}

.category-chip.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.25);
}

.chip-icon {
  font-size: 1em;
}

/* ==========================================================================
   RECIPES GRID & CARDS
   ========================================================================== */

.recipes-list-section {
  padding: 12px 20px 30px 20px;
  flex: 1;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.list-header h2 {
  font-size: 1.15em;
  font-weight: 800;
}

.count-badge {
  font-size: 0.78em;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.recipes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 360px) {
  .recipes-grid {
    grid-template-columns: 1fr;
  }
}

.recipe-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(46, 125, 50, 0.08);
  border-color: var(--primary-light);
}

.recipe-img-container {
  width: 100%;
  aspect-ratio: 1; /* Quadrada estilosa */
  position: relative;
  background-color: rgba(46, 125, 50, 0.05);
}

.recipe-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.recipe-card:hover .recipe-img-container img {
  transform: scale(1.03);
}

.card-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: white;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.65em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 152, 0, 0.9);
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  z-index: 10;
}

.free-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #2e7d32;
  color: white;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.65em;
  font-weight: 800;
  z-index: 10;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.recipe-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.recipe-info h3 {
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recipe-meta {
  display: flex;
  gap: 10px;
  font-size: 0.7em;
  font-weight: 600;
  color: var(--text-light);
  margin-top: auto;
}

.recipe-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.recipe-meta i {
  color: var(--primary-light);
}

/* Spinner */
.loading-spinner {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  color: var(--primary-light);
  font-family: var(--font-display);
  font-weight: 600;
  gap: 12px;
}

.loading-spinner i {
  font-size: 2em;
}

/* Nenhuma receita encontrada */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
}

.no-results i {
  font-size: 3em;
  margin-bottom: 12px;
  opacity: 0.5;
}

.no-results h3 {
  font-size: 1.1em;
  margin-bottom: 6px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.app-footer {
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  padding: 24px 20px 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.app-footer p {
  font-size: 0.82em;
  color: var(--text-light);
}

.contact-button-footer {
  text-decoration: none;
  background: #25d366; /* WhatsApp Green */
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.contact-button-footer:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.copyright {
  font-size: 0.7em;
  color: var(--text-light);
  opacity: 0.7;
}

/* ==========================================================================
   MODAL STRUCTURAL STYLES (SLIDE-UP EFFECT)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: flex-end; /* Slide up from bottom */
  transition: var(--transition-smooth);
}

.modal-container {
  width: 100%;
  max-width: 480px;
  height: 90vh; /* Ocupa a maior parte da tela */
  background: var(--bg-cream);
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.modal-close {
  background: var(--glass-bg);
  border: none;
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95em;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.modal-body-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 40px 0;
}

/* Modal Cards (Login, Paywall, Profile) */
.modal-card {
  width: 92%;
  max-width: 420px;
  background: var(--bg-cream);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-bottom: 24px; /* Flutua um pouco acima da base */
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  position: relative;
  border: 1px solid var(--glass-border);
  animation: slideUpCard 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.modal-card-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-card-close:hover {
  background: #ff5252;
  color: white;
  border-color: #ff5252;
}

/* ==========================================================================
   RECIPE DETAIL STYLES
   ========================================================================== */

.detail-header-img {
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
}

.detail-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-category-badge {
  position: absolute;
  bottom: 15px;
  left: 20px;
  background: var(--primary-color);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-body {
  padding: 20px;
}

.detail-title {
  font-size: 1.4em;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.detail-meta-row {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text-light);
}

.detail-meta-item i {
  color: var(--primary-color);
  font-size: 1.1em;
}

.detail-section {
  margin-bottom: 24px;
}

.detail-section h3 {
  font-size: 1.05em;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-section h3 i {
  color: var(--primary-light);
}

.ingredients-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ingredient-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9em;
  transition: var(--transition-smooth);
}

.ingredient-item input {
  margin-top: 3px;
  accent-color: var(--primary-color);
}

.ingredient-item.checked {
  opacity: 0.55;
  text-decoration: line-through;
}

.instructions-text {
  font-size: 0.9em;
  line-height: 1.6;
  white-space: pre-line;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  color: var(--text-dark);
}

/* ==========================================================================
   LOGIN MODAL STYLES
   ========================================================================== */

.login-step {
  text-align: center;
}

.modal-icon {
  font-size: 3em;
  color: #25d366;
  margin-bottom: 16px;
}

.login-step h2 {
  font-size: 1.3em;
  font-weight: 800;
  margin-bottom: 8px;
}

.login-step p {
  font-size: 0.85em;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.4;
}

.input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  border-radius: var(--border-radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  box-shadow: var(--glass-shadow);
}

.country-code {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-light);
  margin-right: 12px;
  border-right: 1px solid var(--glass-border);
  padding-right: 12px;
}

.input-group input {
  border: none;
  background: transparent;
  flex: 1;
  font-size: 1.05em;
  outline: none;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-dark);
}

.btn-primary-block {
  width: 100%;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95em;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.2);
  transition: var(--transition-smooth);
}

.btn-primary-block:hover {
  background: var(--primary-dark);
}

.code-inputs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.code-input {
  width: 50px;
  height: 55px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  border-radius: var(--border-radius-sm);
  text-align: center;
  font-size: 1.5em;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-dark);
  outline: none;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.code-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
}

.btn-text-link {
  background: transparent;
  border: none;
  color: var(--primary-light);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85em;
  cursor: pointer;
  margin-top: 14px;
  text-decoration: underline;
}

/* ==========================================================================
   PAYWALL MODAL STYLES
   ========================================================================== */

.paywall-card {
  border: 2px solid var(--accent-color);
}

.paywall-header {
  text-align: center;
  margin-bottom: 20px;
}

.badge-premium {
  background: var(--accent-color);
  color: white;
  font-size: 0.65em;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.paywall-header h2 {
  font-size: 1.35em;
  margin-bottom: 4px;
}

.paywall-header p {
  font-size: 0.85em;
  color: var(--text-light);
}

.paywall-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.benefit-item i {
  color: var(--primary-color);
  font-size: 1.1em;
  margin-top: 2px;
}

.benefit-item strong {
  font-size: 0.85em;
  color: var(--text-dark);
}

.benefit-item p {
  font-size: 0.75em;
  color: var(--text-light);
}

.paywall-pricing {
  background: rgba(255, 152, 0, 0.06);
  border: 1px dashed var(--accent-color);
  padding: 12px 16px;
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-val {
  font-family: var(--font-display);
  font-size: 1.6em;
  font-weight: 800;
  color: var(--text-dark);
}

.price-val small {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--text-light);
}

.price-details {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85em;
  color: var(--accent-color);
  text-align: right;
  line-height: 1.1;
}

.price-details small {
  color: var(--text-light);
  font-weight: 500;
}

.trial-disclaimer {
  font-size: 0.7em;
  color: var(--text-light);
  margin-top: 8px;
  line-height: 1.3;
}

.btn-premium-block {
  width: 100%;
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95em;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 152, 0, 0.25);
  transition: var(--transition-smooth);
}

.btn-premium-block:hover {
  background: #e65100;
  transform: translateY(-1px);
}

/* ==========================================================================
   PROFILE MODAL STYLES
   ========================================================================== */

.profile-modal-content {
  text-align: center;
}

.profile-user-info {
  margin-bottom: 20px;
}

.avatar-large {
  width: 70px;
  height: 70px;
  background: rgba(46, 125, 50, 0.08);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

.profile-user-info h2 {
  font-size: 1.15em;
  font-weight: 700;
  margin-bottom: 6px;
}

.badge-status-inactive {
  background: rgba(0,0,0,0.06);
  color: var(--text-light);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7em;
  font-weight: 700;
}

.badge-status-active {
  background: rgba(46, 125, 50, 0.12);
  color: var(--primary-color);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7em;
  font-weight: 700;
}

.profile-settings-section {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: var(--border-radius-md);
  margin-bottom: 18px;
  text-align: left;
}

.profile-settings-section h3 {
  font-size: 0.9em;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.subscription-card {
  background: var(--bg-cream);
  border: 1px solid var(--glass-border);
  padding: 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.8em;
  line-height: 1.4;
}

.subscription-card button {
  margin-top: 10px;
}

.btn-primary-sm-block {
  width: 100%;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85em;
  cursor: pointer;
}

.btn-secondary-block {
  text-decoration: none;
  width: 100%;
  background: #25d366;
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.profile-support-section {
  text-align: left;
  margin-bottom: 24px;
}

.profile-support-section h3 {
  font-size: 0.9em;
  margin-bottom: 4px;
}

.profile-support-section p {
  font-size: 0.78em;
  color: var(--text-light);
}

.btn-danger-block {
  width: 100%;
  background: transparent;
  color: #ff5252;
  border: 1px solid #ff5252;
  padding: 12px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-danger-block:hover {
  background: #ff5252;
  color: white;
}

/* ==========================================================================
   PWA INSTALL PROMPT BANNER
   ========================================================================== */

.pwa-prompt-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: var(--text-dark);
  color: var(--bg-cream);
  padding: 16px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.pwa-prompt-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}

.pwa-text h4 {
  font-size: 0.9em;
  font-weight: 700;
}

.pwa-text p {
  font-size: 0.75em;
  opacity: 0.8;
}

.pwa-prompt-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--bg-cream);
  opacity: 0.8;
  padding: 6px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8em;
  cursor: pointer;
}

.btn-text:hover {
  opacity: 1;
}
