/* CSS Variables for consistent theming */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-color: #667eea;
  --primary-dark: #5a6fd8;
  --secondary-color: #764ba2;
  --success-color: #38a169;
  --success-dark: #2f855a;
  --error-color: #e53e3e;
  --error-dark: #c53030;
  --warning-color: #dd6b20;
  --gray-50: #f7fafc;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e0;
  --gray-500: #a0aec0;
  --gray-600: #718096;
  --gray-700: #4a5568;
  --gray-800: #2d3748;
  --white: #ffffff;
  --black: #000000;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Reset and base styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: var(--primary-gradient);
  min-height: 100vh;
  color: var(--gray-800);
  font-size: 16px;
  line-height: 1.6;
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.header h1 {
  font-size: 2.5rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
}

.header h1 i {
  color: var(--primary-color);
}

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

.stat-card {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 120px;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Main Content */
.main-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Tabs */
.tabs {
  display: flex;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.tab-btn {
  flex: 1;
  padding: 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray-600);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
}

.tab-btn:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.tab-btn.active {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 -4px 0 var(--primary-dark) inset;
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 30px;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

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

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.card h3 {
  color: var(--gray-700);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 600;
}

.card h3 i {
  color: var(--primary-color);
}

/* Grid layouts */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
}

/* Forms */
.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.license-form, .settings-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--white);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.input-group {
  display: flex;
  gap: 10px;
}

.input-group input {
  flex: 1;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  justify-content: center;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

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

.btn-secondary {
  background: var(--gray-200);
  color: var(--gray-700);
}

.btn-secondary:hover {
  background: var(--gray-300);
  transform: translateY(-1px);
}

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

.btn-danger:hover {
  background: var(--error-dark);
  transform: translateY(-1px);
}

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

.btn-success:hover {
  background: var(--success-dark);
  transform: translateY(-1px);
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* Manage Section */
.manage-header {
  padding: 25px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.search-container {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.search-group {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-group i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
}

.search-group input {
  width: 100%;
  padding: 12px 16px 12px 45px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.filter-select {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  min-width: 150px;
  font-family: inherit;
}

/* Table */
.license-table-container {
  overflow-x: auto;
}

.license-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.license-table th {
  background: var(--gray-50);
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
  border-bottom: 2px solid var(--gray-200);
}

.license-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.license-table tbody tr:hover {
  background: var(--gray-50);
}

/* Status badges */
.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-active { background: #c6f6d5; color: var(--success-dark); }
.status-inactive { background: #fed7d7; color: var(--error-color); }
.status-suspended { background: #feebc8; color: var(--warning-color); }
.status-expired { background: var(--gray-200); color: var(--gray-600); }

/* Scraper badges */
.scraper-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #e6f3ff;
  color: #2563eb;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Enhanced scraper badge styling */
.scraper-badge i {
  margin-right: 4px;
  font-size: 0.9em;
}

.scraper-badge i:last-of-type {
  margin-right: 6px;
}

.scraper-badge i + i {
  margin-left: 2px;
}

/* Facebook scraper styling */
.scraper-badge:has-text("Facebook"), 
.scraper-badge[data-scraper*="facebook"] {
  background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
  color: white;
}

/* Google Maps styling */
.scraper-badge:has-text("Google Maps"),
.scraper-badge[data-scraper*="google"] {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  color: white;
}

/* Google Search styling */
.scraper-badge:has-text("Google Search"),
.scraper-badge[data-scraper*="search"] {
  background: linear-gradient(135deg, #ea4335 0%, #4285f4 100%);
  color: white;
}

/* Yellow Pages styling */
.scraper-badge:has-text("Yellow"),
.scraper-badge[data-scraper*="yellow"] {
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  color: #333;
}

/* Universal/All scrapers styling */
.scraper-badge:has-text("All Scrapers"),
.scraper-badge:has-text("Universal") {
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
  color: white;
  animation: rainbow-glow 3s ease-in-out infinite;
}

@keyframes rainbow-glow {
  0%, 100% { 
    filter: hue-rotate(0deg) brightness(1);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
  }
  33% { 
    filter: hue-rotate(120deg) brightness(1.1);
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.4);
  }
  66% { 
    filter: hue-rotate(240deg) brightness(1.1);
    box-shadow: 0 0 15px rgba(69, 183, 209, 0.4);
  }
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.action-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.action-btn:hover {
  transform: translateY(-1px);
}

/* Activity and expiring lists */
.activity-list, .expiring-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
  overflow-y: auto;
}

.activity-item, .expiring-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-color);
}

.activity-item i {
  color: var(--primary-color);
  width: 16px;
}

/* Settings */
.settings-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 800px;
  margin: 0 auto;
}

.export-import {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 25px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: var(--gray-700);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-600);
  padding: 5px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--gray-50);
}

.modal-body {
  padding: 25px;
}

.modal-footer {
  padding: 25px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary-color);
  min-width: 300px;
  animation: slideIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast.success { border-left-color: var(--success-color); }
.toast.error { border-left-color: var(--error-color); }
.toast.warning { border-left-color: var(--warning-color); }

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

/* Loading States */
.loading {
  text-align: center;
  color: var(--gray-600);
  font-style: italic;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--gray-200);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .container { 
    padding: 10px; 
    max-width: 100%;
  }
  
  /* Header Improvements */
  .header-content { 
    flex-direction: column; 
    text-align: center; 
    gap: 15px;
  }
  
  .header h1 { 
    font-size: 1.8rem; 
    margin-bottom: 10px;
  }
  
  .header-stats { 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 10px;
  }
  
  .stat-card {
    flex: 1;
    min-width: 120px;
    max-width: 150px;
  }
  
  /* Enhanced Tab Navigation */
  .tabs { 
    flex-wrap: wrap; 
    gap: 5px;
    justify-content: center;
  }
  
  .tab-btn { 
    flex: none; 
    min-width: 45%; 
    padding: 12px 16px;
    font-size: 14px;
    border-radius: var(--radius-sm);
  }
  
  /* Form Enhancements */
  .form-row { 
    grid-template-columns: 1fr; 
    gap: 15px;
  }
  
  .input-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .input-group .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Search Container */
  .search-container { 
    flex-direction: column; 
    align-items: stretch; 
    gap: 12px;
  }
  
  .search-group {
    width: 100%;
  }
  
  .filter-select {
    width: 100%;
    min-height: 44px; /* Better touch target */
  }
  
  /* Mobile-Optimized Table */
  .license-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
    margin: 0 -10px; /* Extend to edges */
    padding: 0 10px;
  }
  
  .license-table {
    min-width: 800px; /* Ensure readable width */
  }
  
  .license-table th,
  .license-table td {
    padding: 8px 6px;
    font-size: 13px;
    white-space: nowrap;
  }
  
  /* Action buttons in table */
  .action-buttons {
    flex-direction: column;
    gap: 4px;
    min-width: 80px;
  }
  
  .action-buttons .btn {
    padding: 6px 10px;
    font-size: 11px;
    min-height: 32px;
  }
  
  /* Form Actions */
  .form-actions { 
    flex-direction: column; 
    gap: 12px;
  }
  
  .form-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px; /* Better touch target */
  }
  
  /* Export Import */
  .export-import { 
    flex-direction: column; 
    gap: 12px;
  }
  
  /* Overview Grid */
  .overview-grid { 
    grid-template-columns: 1fr; 
    gap: 15px;
  }
  
  /* Modal Improvements */
  .modal-content {
    margin: 10px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: var(--radius-md);
  }
  
  .modal h3 {
    font-size: 1.4rem;
    padding: 15px 20px;
  }
  
  /* Enhanced Form Groups */
  .form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 44px; /* Better touch targets */
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 12px 16px;
  }
  
  /* Card Spacing */
  .card {
    padding: 20px 15px;
    margin-bottom: 15px;
  }
  
  .card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 8px;
  }
  
  .header h1 {
    font-size: 1.5rem;
  }
  
  .stat-card {
    min-width: 100px;
    max-width: 120px;
  }
  
  .stat-number {
    font-size: 1.6rem;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  /* Stack tabs vertically on very small screens */
  .tab-btn {
    min-width: 100%;
    margin-bottom: 4px;
  }
  
  /* Mobile-First Table Alternative */
  .license-table-container {
    margin: 0 -8px;
    padding: 0 8px;
  }
  
  /* Very small form adjustments */
  .form-group input,
  .form-group select {
    font-size: 16px; /* Prevent zoom */
    padding: 14px;
  }
  
  /* Modal full screen on tiny devices */
  .modal-content {
    margin: 5px;
    border-radius: var(--radius-sm);
  }
  
  /* Smaller action buttons */
  .action-buttons .btn {
    padding: 8px;
    font-size: 10px;
    min-height: 36px;
  }
  
  /* License table mobile cards (alternative layout) */
  .mobile-card-view .license-table {
    display: none;
  }
  
  .mobile-card-view .license-cards {
    display: block;
  }
}

/* Mobile Card Layout (Alternative to table) */
.license-cards {
  display: none;
}

.license-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
}

.license-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.license-card-key {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  color: var(--primary-color);
  font-size: 14px;
  background: var(--gray-100);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.license-card-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.license-card-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.license-card-detail {
  display: flex;
  flex-direction: column;
}

.license-card-label {
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.license-card-value {
  font-weight: 600;
  color: var(--gray-800);
}

.license-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.license-card-actions .btn {
  flex: 1;
  min-width: 80px;
  justify-content: center;
  padding: 10px;
  font-size: 12px;
}

/* Toggle button for mobile view */
.table-view-toggle {
  display: none;
}

@media (max-width: 600px) {
  .table-view-toggle {
    display: block;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .view-toggle-btn {
    background: var(--gray-100);
    border: 2px solid var(--gray-300);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin: 0 4px;
    transition: var(--transition);
  }
  
  .view-toggle-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
  }
}

/* Improved touch targets and spacing */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    padding: 12px 20px;
  }
  
  .tab-btn {
    min-height: 48px;
    padding: 14px 20px;
  }
  
  .license-table td button {
    min-height: 40px;
    min-width: 40px;
  }
}

/* Authentication Styles */
.auth-modal {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 9999;
}

.auth-content {
  max-width: 450px;
  margin: 10vh auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.auth-header {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 30px;
  text-align: center;
}

.auth-header h2 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.auth-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

.auth-body {
  padding: 30px;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 14px;
}

.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: var(--transition);
  background: var(--white);
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

.auth-error {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.auth-error.error {
  background: #fef2f2;
  color: var(--error-color);
  border: 1px solid #fecaca;
}

.auth-error.success {
  background: #f0fff4;
  color: var(--success-color);
  border: 1px solid #9ae6b4;
}

/* User Info in Header */
.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

.user-details {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.user-email {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}



/* Mobile Auth Responsive */
@media (max-width: 768px) {
  .auth-content {
    margin: 5vh 15px;
    max-width: none;
  }
  
  .auth-header {
    padding: 25px 20px;
  }
  
  .auth-header h2 {
    font-size: 1.5rem;
  }
  
  .auth-body {
    padding: 25px 20px;
  }
  
  .user-details {
    flex-direction: column;
    gap: 8px;
    padding: 10px;
  }
  
  .user-email {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .auth-content {
    margin: 2vh 10px;
  }
  
  .auth-header {
    padding: 20px 15px;
  }
  
  .auth-body {
    padding: 20px 15px;
  }
  
  .user-info {
    margin-left: 0;
    margin-top: 10px;
  }
} 