/* ========================================
   MEMON PATAH - HOME SCREEN STYLES
   Jackaroo King Inspired Design
   ======================================== */

/* Screen Management */
.app-screen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1a5f3f 0%, #0d3a25 100%);
  z-index: 100;
  overflow-y: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.app-screen.sliding-out {
  opacity: 0;
  transform: translateX(-20px);
}

.app-screen.sliding-in {
  opacity: 0;
  transform: translateX(20px);
}

/* Game screen special handling */
#game-screen {
  background: #1e1e1e;
  z-index: 1;
}

#game-screen.active {
  display: block;
}

/* ========================================
   HOME SCREEN
   ======================================== */

#home-screen {
  background: linear-gradient(180deg, #1a5f3f 0%, #0d3a25 50%, #081f15 100%);
  padding: 0;
}

/* Top Bar */
.home-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.user-profile-area {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.user-profile-area:hover {
  background: rgba(255, 255, 255, 0.2);
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF50, #2196F3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.username {
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.user-status {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.top-bar-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.top-bar-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.top-bar-btn .btn-icon {
  font-size: 22px;
  color: white;
}

/* Logo Area */
.home-logo-area {
  text-align: center;
  padding: 30px 20px 20px;
}

.game-title {
  font-size: 42px;
  font-weight: 800;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
  margin: 0;
  letter-spacing: 2px;
}

.game-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 8px 0 0;
  letter-spacing: 1px;
}

/* Main Menu */
.home-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 30px;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.home-menu-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.home-menu-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}

.home-menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

/* Primary Play Button */
.home-menu-btn.primary-action {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

.home-menu-btn.primary-action .btn-icon-large {
  background: rgba(255, 255, 255, 0.3);
  color: #1a1a1a;
}

/* Multiplayer Button */
.home-menu-btn.multiplayer-action {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

/* Small Buttons */
.home-menu-row {
  display: flex;
  gap: 12px;
}

.home-menu-btn.small-btn {
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-align: center;
}

.home-menu-btn.small-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Coins Button - Gold Style */
.home-menu-btn.coins-btn {
  background: linear-gradient(135deg, #f5a623 0%, #d4880f 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
  width: 100%;
}

.home-menu-btn.coins-btn:hover {
  background: linear-gradient(135deg, #ffb833 0%, #e69a1f 100%);
}

/* Button Icons */
.btn-icon-large {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.btn-icon-medium {
  font-size: 28px;
  margin-bottom: 4px;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.btn-title {
  font-size: 18px;
  font-weight: 700;
}

.btn-desc {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 2px;
}

.small-btn .btn-title {
  font-size: 14px;
  font-weight: 600;
}

/* Footer */
.home-footer {
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

/* ========================================
   DIFFICULTY SCREEN
   ======================================== */

#difficulty-screen,
#multiplayer-screen,
#waiting-room-screen {
  background: linear-gradient(180deg, #1a5f3f 0%, #0d3a25 100%);
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.screen-header h2 {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.back-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  transition: background 0.2s;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.header-spacer {
  width: 44px;
}

.screen-content {
  flex: 1;
  padding: 24px 20px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.screen-subtitle {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin: 0 0 24px;
  font-size: 15px;
}

/* Difficulty Cards */
.difficulty-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.difficulty-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: left;
  color: white;
  transition: all 0.2s;
}

.difficulty-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.difficulty-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.difficulty-card p {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.7;
}

.difficulty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.easy-icon {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
}

.medium-icon {
  background: linear-gradient(135deg, #FF9800, #FFB74D);
}

.hard-icon {
  background: linear-gradient(135deg, #f44336, #E57373);
}

/* ========================================
   MULTIPLAYER LOBBY SCREEN
   ======================================== */

.lobby-section {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.section-title {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.section-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin: 0 0 16px;
}

.player-count-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.player-count-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  cursor: pointer;
  color: white;
  transition: all 0.2s;
}

.player-count-btn:hover {
  background: rgba(76, 175, 80, 0.3);
  border-color: #4CAF50;
}

.player-count-btn .count {
  font-size: 24px;
  font-weight: 800;
}

.player-count-btn .label {
  font-size: 10px;
  opacity: 0.7;
  text-transform: uppercase;
}

/* Join Game Form */
.join-game-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.code-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-align: center;
  box-sizing: border-box;
}

.code-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  font-weight: 400;
}

.code-input:focus {
  outline: none;
  border-color: #4CAF50;
  background: rgba(255, 255, 255, 0.15);
}

.join-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4CAF50, #43A047);
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* ========================================
   WAITING ROOM SCREEN
   ======================================== */

.game-code-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.code-label {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 12px;
  font-size: 14px;
}

.code-display {
  font-size: 36px;
  font-weight: 800;
  color: #FFD700;
  letter-spacing: 8px;
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
  margin-bottom: 16px;
}

.copy-btn {
  padding: 10px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Waiting Table */
.waiting-table {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.table-visual {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 3/2;
}

.player-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.player-slot.filled {
  border-style: solid;
  border-color: rgba(76, 175, 80, 0.5);
  background: rgba(76, 175, 80, 0.15);
}

.player-slot.is-you {
  border-color: #FFD700;
  background: rgba(255, 215, 0, 0.15);
}

.slot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-name {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.slot-team {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.slot-team.team-a {
  background: rgba(255, 193, 7, 0.3);
  color: #FFD54F;
}

.slot-team.team-b {
  background: rgba(76, 175, 80, 0.3);
  color: #81C784;
}

/* Waiting Actions */
.waiting-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  flex: 1;
  padding: 16px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.action-btn.start-btn {
  background: linear-gradient(135deg, #4CAF50, #43A047);
  color: white;
}

.action-btn.start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.action-btn.cancel-btn {
  background: rgba(244, 67, 54, 0.2);
  color: #EF5350;
  border: 2px solid rgba(244, 67, 54, 0.3);
}

.action-btn.cancel-btn:hover {
  background: rgba(244, 67, 54, 0.3);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 400px) {
  .game-title {
    font-size: 32px;
  }
  
  .home-menu-btn {
    padding: 14px 16px;
  }
  
  .btn-icon-large {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .btn-title {
    font-size: 16px;
  }
  
  .player-count-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  
  .player-count-btn {
    padding: 12px 4px;
  }
  
  .player-count-btn .count {
    font-size: 20px;
  }
}

@media (min-width: 600px) {
  .home-logo-area {
    padding: 50px 20px 30px;
  }
  
  .game-title {
    font-size: 56px;
  }
  
  .home-menu {
    padding: 30px;
  }
}

/* ========================================
   LOGIN OVERLAY STYLES
   ======================================== */

.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(26, 95, 63, 0.98) 0%, rgba(13, 58, 37, 0.99) 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 32px 24px;
  max-width: 400px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo-icon {
  font-size: 56px;
  margin-bottom: 12px;
}

.auth-logo h1 {
  color: white;
  font-size: 28px;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.auth-logo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

.auth-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.auth-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.auth-btn.google-btn {
  background: white;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-btn.google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.auth-btn.google-btn .auth-icon {
  background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.auth-btn.email-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.auth-btn.email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  margin: 4px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.auth-btn.guest-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.auth-btn.guest-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.auth-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.benefit-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.auth-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin: 0;
}

/* Phone Button */
.auth-btn.phone-btn {
  background: linear-gradient(135deg, #00c853 0%, #00897b 100%);
  color: white;
}

.auth-btn.phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 200, 83, 0.4);
}

/* Auth Loading */
.auth-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  color: white;
}

.auth-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #4CAF50;
  border-radius: 50%;
  animation: auth-spin 1s linear infinite;
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

/* Auth Error */
.auth-error {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.5);
  color: #ff8a80;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  text-align: center;
}

/* Auth Views */
.auth-view h2 {
  color: white;
  font-size: 20px;
  margin: 0 0 20px 0;
  text-align: center;
}

.auth-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-align: center;
  margin: -12px 0 20px 0;
}

/* Auth Back Button */
.auth-back-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-back-btn:hover {
  color: white;
}

/* Auth Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-input-group label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
}

.auth-input-group input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 16px;
  color: white;
  transition: all 0.2s;
}

.auth-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.auth-input-group input:focus {
  outline: none;
  border-color: #4CAF50;
  background: rgba(255, 255, 255, 0.15);
}

.auth-input-group small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* Auth Buttons */
.auth-btn.primary-btn {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
  color: white;
  margin-top: 8px;
}

.auth-btn.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* Auth Link Buttons */
.auth-link-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  cursor: pointer;
  padding: 8px;
  margin-top: 8px;
  transition: color 0.2s;
}

.auth-link-btn:hover {
  color: white;
}

/* ========================================
   PWA INSTALL PROMPT STYLES
   ======================================== */

.pwa-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pwa-modal {
  background: linear-gradient(135deg, #1a5f3f 0%, #0d3a25 100%);
  border-radius: 24px;
  padding: 32px 24px;
  max-width: 360px;
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.pwa-header {
  margin-bottom: 24px;
}

.pwa-icon {
  font-size: 56px;
  margin-bottom: 12px;
}

.pwa-header h2 {
  color: white;
  font-size: 24px;
  margin: 0 0 8px 0;
}

.pwa-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

.pwa-benefits {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.pwa-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.pwa-benefit span:first-child {
  font-size: 24px;
}

.pwa-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pwa-install-btn {
  background: linear-gradient(135deg, #4CAF50, #43A047);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.pwa-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.5);
}

.pwa-decline-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 12px;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s;
}

.pwa-decline-btn:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   SETTINGS ACCOUNT SECTION STYLES
   ======================================== */

.logout-btn {
  width: 100%;
  padding: 12px 16px;
  background: rgba(244, 67, 54, 0.1);
  color: #EF5350;
  border: 1px solid rgba(244, 67, 54, 0.3);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.logout-btn:hover {
  background: rgba(244, 67, 54, 0.2);
  border-color: #EF5350;
}

.login-prompt-btn {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.login-prompt-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.account-info {
  color: #666;
  font-size: 14px;
  padding: 8px 0;
}

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

.pwa-install-prompt {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 16px;
  background: linear-gradient(135deg, rgba(26, 95, 63, 0.98) 0%, rgba(13, 58, 37, 0.98) 100%);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideUp 0.4s ease-out;
}

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

.pwa-prompt-content {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pwa-prompt-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.pwa-prompt-text {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pwa-prompt-text strong {
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.pwa-prompt-text span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.pwa-install-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pwa-install-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.pwa-dismiss-btn {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pwa-dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.pwa-ios-instructions {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 8px;
}

.pwa-ios-instructions p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  margin: 0;
  text-align: center;
}

@media (max-width: 480px) {
  .pwa-prompt-content {
    flex-direction: column;
    text-align: center;
  }
  
  .pwa-prompt-text {
    align-items: center;
  }
  
  .pwa-install-btn,
  .pwa-dismiss-btn {
    width: 100%;
  }
}
