/* ===================================
   WhereToBuyTea.com - Modern Design System
   =================================== */

:root {
  /* Tea-Inspired Color Palette */
  --primary-green: #2d5a27;      /* Deep forest green */
  --secondary-green: #4a7c59;    /* Sage green */
  --accent-gold: #d4af37;        /* Golden tea color */
  --warm-brown: #8b4513;         /* Rich tea brown */
  --light-cream: #f5f5dc;        /* Cream background */
  --soft-white: #fafafa;         /* Soft white */
  --dark-text: #2c3e50;          /* Dark text */
  --muted-text: #6c757d;         /* Muted text */
  --border-color: #e9ecef;       /* Light borders */
  --success-green: #28a745;      /* Success green */
  --warning-orange: #ffc107;     /* Warning orange */
  --danger-red: #dc3545;         /* Danger red */
  --info-blue: #17a2b8;          /* Info blue */
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* ===================================
   Base Styles
   =================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-text);
  background-color: var(--soft-white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-md);
  color: var(--dark-text);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-green);
  text-decoration: none;
}

/* Override Bootstrap's default link colors */
.btn-link {
  color: var(--primary-green) !important;
}

.btn-link:hover {
  color: var(--secondary-green) !important;
}

/* ===================================
   Mobile Navigation Styles
   =================================== */

@media (max-width: 768px) {
  /* Mobile Navigation Styles */
  .navbar {
    padding: 0.5rem 1rem;
  }
  
  .navbar-brand img {
    max-height: 40px;
    width: auto;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border-radius: 0.375rem;
    transition: box-shadow 0.15s ease-in-out;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(45, 90, 39, 0.25);
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2845, 90, 39, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  .navbar-collapse {
    background: white;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f8f9fa;
    color: var(--dark-text);
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--primary-green);
    background-color: #f8f9fa;
    border-radius: 0.375rem;
  }
  
  /* Ensure sticky navigation works properly */
  .navbar.sticky-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Add padding to body when navbar is fixed */
  body {
    padding-top: 70px;
  }
}

/* ===================================
   Custom Components
   =================================== */

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-green) !important;
  font-family: var(--font-heading);
}

/* Buttons */
.btn {
  border-radius: var(--radius-md);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-lg);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-green);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-green);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary-green);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--primary-green);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
}

.btn-outline:hover {
  background-color: var(--primary-green);
  color: white;
}

.btn-accent {
  background-color: var(--accent-gold);
  color: var(--dark-text);
}

.btn-accent:hover {
  background-color: var(--warm-brown);
  color: white;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  background: white;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-header {
  background-color: var(--light-cream);
  border-bottom: 1px solid var(--border-color);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  padding: var(--spacing-lg);
}

.text-white h4, .text-white h2, .text-white p {
    color: #fff !important;
}

.card-body {
  padding: var(--spacing-lg);
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-md) 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-green) !important;
}

.nav-link {
  color: var(--dark-text) !important;
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-md) !important;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-green) !important;
  background-color: var(--light-cream);
}

.nav-link.active {
  color: var(--primary-green) !important;
  background-color: var(--light-cream);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 50%, var(--primary-green) 100%);
  color: white;
  padding: var(--spacing-xxl) 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tea-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23tea-pattern)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: white;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
  color: #fff;
}

/* Search Components */
.search-container {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  margin-top: var(--spacing-xl);
}

.search-input {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(45, 90, 39, 0.25);
  outline: none;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.suggestion-item {
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.suggestion-item:hover {
  background-color: var(--light-cream);
}

/* Vendor Cards */
.vendor-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.vendor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.vendor-image {
  width: 100%;
  height: 200px;
  background-color: var(--light-cream);
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 7px;
}

.vendor-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: var(--accent-gold);
  color: var(--dark-text);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.vendor-info {
  padding: var(--spacing-lg);
}

.vendor-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: var(--spacing-sm);
}

.vendor-location {
  color: var(--muted-text);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.vendor-rating {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.rating-stars {
  color: var(--accent-gold);
  margin-right: var(--spacing-sm);
}

.rating-count {
  color: var(--muted-text);
  font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
  background-color: var(--light-cream);
  padding: var(--spacing-xxl) 0;
}

.stat-card {
  text-align: center;
  padding: var(--spacing-lg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  color: var(--muted-text);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
.footer {
  background-color: var(--primary-green);
  color: white;
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer h5 {
  color: white;
  margin-bottom: var(--spacing-lg);
}

.footer p {
  color: #fff;
}

.footer a {
  color: rgba(255,255,255,0.8);
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  text-align: center;
  color: rgba(255,255,255,0.6);
}

/* Utilities */
.text-primary { color: var(--primary-green) !important; }
.text-secondary { color: var(--secondary-green) !important; }
.text-accent { color: var(--accent-gold) !important; }
.text-muted { color: var(--muted-text) !important; }

.bg-primary { background-color: var(--primary-green) !important; }
.bg-secondary { background-color: var(--secondary-green) !important; }
.bg-accent { background-color: var(--accent-gold) !important; }
.bg-light { background-color: var(--light-cream) !important; }

.border-primary { border-color: var(--primary-green) !important; }
.border-secondary { border-color: var(--secondary-green) !important; }

/* Override Bootstrap's default link colors in cards */
.card a:not(.btn) {
  color: var(--primary-green) !important;
}

.card a:not(.btn):hover {
  color: var(--secondary-green) !important;
}

/* Ensure category card links match theme */
.card .btn-outline-primary {
  color: var(--primary-green) !important;
  border-color: var(--primary-green) !important;
}

.card .btn-outline-primary:hover {
  background-color: var(--primary-green) !important;
  color: white !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .search-container {
    padding: var(--spacing-lg);
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--primary-green);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animations */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-up {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Authentication Pages - New Sidebar Layout */
.auth-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.auth-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.auth-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e9ecef;
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.sidebar-header .logo img {
    height: 40px;
    width: auto;
}

.sidebar-nav {
    padding: 0 2rem;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin-bottom: 0.5rem;
}

.nav-list a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.nav-list a:hover {
    background: var(--light-cream);
    color: var(--primary-green);
}

.nav-list a.active {
    background: var(--primary-green);
    color: white;
}

.nav-list a.active:hover {
    background: var(--secondary-green);
    color: white;
}

/* Main Content */
.auth-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 400px;
}

/* Legal pages (terms, privacy) get wider layout */
.legal-page .auth-container, .medium-page .auth-container {
    max-width: 600px;
}

/* Premium registration page gets wider layout */
.premium-registration-page .auth-container, .search-existing-page .auth-container, .larger-page .auth-container {
    max-width: 800px;
}

/* Profile page gets wider layout */
.profile-page .auth-container, .larger-plus-page .auth-container {
    max-width: 900px;
}

/* Manage plan page gets wider layout */
.manage-plan-page .auth-container {
    max-width: 900px;
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    border: none;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-green);
    font-size: 1.75rem;
    font-weight: 600;
}

.auth-header p {
    margin: 0;
    color: var(--muted-text);
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 39, 0.25);
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
    font-family: var(--font-primary);
    resize: vertical;
    min-height: 120px;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 39, 0.25);
}

.btn-primary {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--secondary-green);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(45, 90, 39, 0.3);
}

.auth-links {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-links a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.auth-links a:hover {
    color: var(--secondary-green);
}

.auth-divider {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.auth-divider p {
    margin: 0;
    color: var(--muted-text);
    font-size: 0.9rem;
}

.auth-divider a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.auth-divider a:hover {
    color: var(--secondary-green);
}

/* Auth Content and Actions */
.auth-content {
    margin-bottom: 1.5rem;
}

.auth-content h3 {
    color: var(--primary-green);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.auth-content h3:first-of-type {
    margin-top: 1rem;
}

.auth-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--dark-text);
}

.auth-content .text-muted {
    color: var(--muted-text) !important;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.auth-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.auth-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: var(--dark-text);
}

/* FAQ Styling */
.faq-section {
    margin-bottom: 1rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 2px 8px rgba(45, 90, 39, 0.1);
}

.faq-item summary {
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 500;
    color: var(--primary-green);
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.faq-item summary:hover {
    background: var(--light-cream);
}

.faq-item summary::-webkit-details-marker {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.faq-item[open] summary {
    background: var(--primary-green);
    color: white;
}

.faq-item[open] summary::-webkit-details-marker {
    color: white;
}

.faq-item .faq-content {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e9ecef;
    background: white;
}

.faq-item .faq-content p {
    margin-bottom: 0.5rem;
}

.faq-item .faq-content a {
    color: var(--primary-green);
    text-decoration: none;
}

.faq-item .faq-content a:hover {
    text-decoration: underline;
}

/* Plan Cards Styling */
.plan-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plan-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.plan-card:hover::before {
    transform: scaleX(1);
}

.plan-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(45, 90, 39, 0.15);
}

.plan-card.featured {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, #fff9e6 0%, #fff5cc 100%);
    position: relative;
}

.plan-card.featured::before {
    background: var(--accent-gold);
}

.plan-card.featured::after {
    content: '★';
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--accent-gold);
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.plan-price .amount {
    font-size: 3rem;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--muted-text);
    font-weight: 400;
}

.plan-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--dark-text);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
    color: var(--dark-text);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.1rem;
    background: var(--light-cream);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-card.featured .plan-features li::before {
    background: var(--accent-gold);
    color: var(--dark-text);
}

.plan-button {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.plan-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.plan-button:hover::before {
    left: 100%;
}

.plan-button.primary {
    background: var(--primary-green);
    color: white;
}

.plan-button.primary:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.3);
}

.plan-button.featured {
    background: var(--accent-gold);
    color: var(--dark-text);
}

.plan-button.featured:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.plan-button.outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.plan-button.outline:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.3);
}

/* Responsive Design for Plan Cards */
@media (max-width: 768px) {
    .plan-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .plan-price {
        font-size: 2rem;
    }
    
    .plan-price .amount {
        font-size: 2.5rem;
    }
    
    .plan-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 1.75rem;
    }
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.auth-actions .btn-primary,
.auth-actions .btn-secondary {
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.auth-actions .btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.auth-actions .btn-secondary:hover {
    background: var(--primary-green);
    color: white;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: none;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

/* Password Strength Meter */
.password-strength .progress {
    border-radius: 10px;
    background-color: #e9ecef;
    margin-top: 0.5rem;
}

.password-strength .progress-bar {
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Password Strength Colors */
.strength-weak {
    background-color: #dc3545 !important;
}

.strength-fair {
    background-color: #ffc107 !important;
}

.strength-good {
    background-color: #17a2b8 !important;
}

.strength-strong {
    background-color: #28a745 !important;
}

.password-match small {
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

/* Form Check Elements */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-top: 0.25rem;
    width: 1rem;
    height: 1rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--dark-text);
    line-height: 1.4;
}

.form-check-label a {
    color: var(--primary-green);
    text-decoration: none;
}

.form-check-label a:hover {
    color: var(--secondary-green);
}

/* Simple Footer for Auth Pages */
.auth-footer {
    position: fixed;
    bottom: 0;
    left: 280px;
    right: 0;
    background: var(--primary-green);
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}
.auth-footer a.btn.btn-link {
    color: #fff !important;
    text-decoration: none;
}
.auth-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-sidebar {
        display: none;
    }
    
    .auth-main {
        margin-left: 0;
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem;
    }
    
    .auth-footer {
        left: 0;
    }
    
    .premium-registration-page .auth-container {
        max-width: 100%;
    }
}

/* Existing Businesses Section */
.existing-businesses {
    margin: 2rem 0;
}

.business-group {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-cream);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-green);
}

.business-group h5 {
    margin: 0 0 1rem 0;
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 600;
}

.business-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.business-item:hover {
    transform: translateY(-2px);
}

.business-item:last-child {
    margin-bottom: 0;
}

.business-info h6 {
    margin: 0 0 0.5rem 0;
    color: var(--dark-text);
    font-size: 1rem;
    font-weight: 600;
}

.business-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--muted-text);
}

.business-info .badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.badge-success {
    background: var(--success-green);
    color: white;
}

.badge-warning {
    background: var(--warning-orange);
    color: white;
}

.badge-secondary {
    background: var(--muted-text);
    color: white;
}

.business-actions {
    flex-shrink: 0;
    margin-left: 1rem;
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    grid-column: 1 / -1;
}

.auth-divider p {
    background: white;
    padding: 0 1rem;
    margin: 0;
    color: var(--muted-text);
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Registration Options Styles */
.registration-options {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .registration-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.option-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.option-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.option-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.option-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.option-card p {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.option-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.option-card ul li {
    padding: 0.5rem 0;
    color: var(--dark-text);
    position: relative;
    padding-left: 1.5rem;
}

.option-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

/* Premium Benefits Styles */
.premium-benefits {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.premium-benefits h3 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.benefit-item p {
    color: var(--dark-text);
    margin: 0;
    font-size: 0.9rem;
}

/* Business Info Styles */
.business-info {
    background: var(--light-cream);
    color: var(--dark-text);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
}

.business-info strong {
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .option-card {
        padding: 1.5rem;
    }
    
    .option-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-benefits {
        padding: 1.5rem;
    }
}

/* Existing Business Search Results Styles */
.existing-businesses {
    margin: 2rem 0;
}

.existing-businesses h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.existing-businesses p {
    color: var(--dark-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Enhanced Business Result Box Styling */
.business-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.business-item:hover::before {
    opacity: 1;
}

.business-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.business-info {
    flex: 1;
    min-width: 0;
}

.business-info h4 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.business-info h4::before {
    content: '🏢';
    font-size: 1.1em;
}

.business-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #495057;
    transition: all 0.2s ease;
    text-decoration: none;
}

.detail-tag:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #212529;
    text-decoration: none;
}

.detail-tag i {
    color: var(--primary-green);
    font-size: 0.9em;
    width: 16px;
    text-align: center;
}

.detail-tag a {
    color: #495057;
    text-decoration: none;
    word-break: break-all;
}

.detail-tag a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.business-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.business-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.business-actions .btn-success {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.business-actions .btn-success:hover {
    background: var(--secondary-green);
    border-color: var(--secondary-green);
    transform: translateY(-1px);
}

.business-actions .badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 8px;
    font-weight: 500;
}

.business-actions .badge.bg-secondary {
    background: #6c757d !important;
    color: white;
}

/* Load More Button Styling */
#load-more-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: white;
}

#load-more-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Search Results Header */
.existing-businesses h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.existing-businesses h3 .badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

/* Enhanced Search Form Styles */
.search-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-form .form-group {
    margin-bottom: 1.5rem;
}

.search-form label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    display: block;
}

.search-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* Form Actions Styling */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.form-actions .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.form-actions .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

.form-actions .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-actions .btn-primary {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.form-actions .btn-primary:hover {
    background: var(--secondary-green);
    border-color: var(--secondary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced Alert Styles */
.alert {
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-info {
    background: #e3f2fd;
    color: #0d47a1;
}

.alert-warning {
    background: #fff3e0;
    color: #e65100;
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
}

.alert i {
    font-size: 1.2rem;
}

/* Business Counter Section */
.business-counter-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.business-counter-section .progress {
    background-color: #e9ecef;
    border-radius: 10px;
}

.business-counter-section .progress-bar {
    border-radius: 10px;
    transition: width 0.3s ease;
}

.business-counter-section p {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

.business-counter-section i {
    margin-right: 0.5rem;
}

/* Enhanced Auth Footer */
.auth-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.auth-footer .btn-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.auth-footer .btn-link:hover {
    color: var(--secondary-green);
    text-decoration: none;
    transform: translateX(-2px);
}

.auth-footer .btn-link:last-child:hover {
    transform: translateX(2px);
}

/* Profile Page Specific Styles */
.section-divider {
    border: none;
    border-top: 2px solid #e9ecef;
    margin: 2rem 0;
    opacity: 0.5;
}

/* Vendors Grid */
.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vendor-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vendor-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.vendor-info h4 {
    color: var(--primary-green);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.vendor-info p {
    margin: 0;
    color: var(--muted-text);
    font-size: 0.9rem;
}

.vendor-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.vendor-actions .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* Empty Vendors State */
.empty-vendors {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border: 2px dashed #e9ecef;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.empty-vendors p {
    margin-bottom: 1rem;
    color: var(--muted-text);
}

/* Subscriptions Grid */
.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.subscription-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.subscription-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.subscription-info h4 {
    color: var(--primary-green);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.subscription-info p {
    margin: 0;
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Responsive adjustments for profile page */
@media (max-width: 768px) {
    .profile-page .auth-container, .larger-plus-page .auth-container {
        max-width: 100%;
    }
    
    .vendors-grid,
    .subscriptions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vendor-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .vendor-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Manage Plan Page Styles */
.current-plan-section {
    margin-bottom: 2rem;
}

.plan-overview-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.plan-header h4 {
    color: var(--primary-green);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.plan-price {
    text-align: right;
}

.plan-price .currency {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
}

.plan-price .period {
    font-size: 1rem;
    color: var(--muted-text);
    margin-left: 0.25rem;
}

.plan-status {
    margin-bottom: 1.5rem;
}

.plan-status .badge {
    margin-right: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.plan-usage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.usage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.usage-label {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.usage-value {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1rem;
}

/* Plan Features Section */
.plan-features-section {
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 2px 8px rgba(45, 90, 39, 0.1);
}

.feature-item i {
    color: var(--success-green);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    color: var(--dark-text);
    font-size: 0.95rem;
}

/* Plan Actions Section */
.plan-actions-section {
    margin-bottom: 2rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.action-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.action-card h4 {
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.action-card p {
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.action-card .btn {
    width: 100%;
    margin-bottom: 0.5rem;
}

.btn-outline-danger {
    border: 2px solid #dc3545;
    color: #dc3545;
    background: transparent;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
}

/* Billing History Section */
.billing-history-section {
    margin-bottom: 2rem;
}

.billing-table {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.header-item {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.9rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.table-row:hover {
    background: #f8f9fa;
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    display: flex;
    align-items: center;
    color: var(--dark-text);
    font-size: 0.9rem;
}

.table-cell .badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

/* Support Section */
.support-section {
    margin-bottom: 2rem;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.support-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.support-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.support-item i {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.support-item h4 {
    color: var(--primary-green);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.support-item p {
    color: var(--muted-text);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.support-item .btn-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.support-item .btn-link:hover {
    color: var(--secondary-green);
    text-decoration: underline;
}

/* Responsive adjustments for manage plan page */
@media (max-width: 768px) {
    .manage-plan-page .auth-container {
        max-width: 100%;
    }
    
    .plan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .plan-usage {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .header-item {
        display: none;
    }
    
    .table-cell {
        padding: 0.25rem 0;
    }
    
    .table-cell::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--primary-green);
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
}
