/* Modern TipRanks-inspired styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

/* Authentication Pages Styling */
.auth-container {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.auth-form-wrapper {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(249,250,251,0.8) 100%);
  backdrop-filter: blur(10px);
  padding: 60px 50px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  width: 100%;
  max-width: 450px;
  text-align: center;
}

.auth-form-wrapper h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.5;
}

.auth-form {
  text-align: left;
}

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

.auth-form .form-group label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 1rem;
}

.auth-form .form-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: rgba(255,255,255,0.8);
}

.auth-form .form-input:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
  background: rgba(255,255,255,1);
}

.auth-submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.auth-footer {
  margin-top: 30px;
  text-align: center;
}

.auth-footer p {
  color: #6b7280;
  font-size: 1rem;
}

.auth-link {
  color: #1e40af;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.auth-link:hover {
  color: #7c3aed;
}

.alert {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  font-weight: 500;
}

.alert-error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  border: 1px solid #fecaca;
}

.alert-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

@media (max-width: 768px) {
  .auth-form-wrapper {
    padding: 40px 30px;
    margin: 20px;
  }
  
  .auth-form-wrapper h1 {
    font-size: 2rem;
  }
}

/* Header and Navigation */
.header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* User Icon Styling - CENTRALIZED */
.user-icon {
  font-size: 1.2rem;
  margin-right: 8px;
  transition: color 0.3s ease;
  color: #9ca3af; /* Gray by default */
  cursor: pointer;
}

.nav-user.authenticated .user-icon {
  color: #c084fc !important; /* BRIGHT PURPLE when authenticated - force override */
}

.nav-user.authenticated .user-icon:hover {
  color: #a855f7 !important; /* Even brighter purple on hover */
}

.nav-user.authenticated .user-welcome {
  color: #1e40af;
  font-weight: 500;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
  flex-shrink: 0;
}

.logo-image {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  padding: 20px 0;
  display: block;
  transition: color 0.2s;
}

.nav-item > a:hover {
  color: #1e40af;
}

/* Dropdown styles */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  padding: 8px 0;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #374151;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.dropdown-content a:hover {
  background-color: #f3f4f6;
  color: #1e40af;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Navigation dropdown styles */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-label {
  color: #374151;
  font-weight: 500;
  padding: 20px 0;
  cursor: pointer;
  transition: color 0.2s;
  display: block;
}

.nav-dropdown-label:hover {
  color: #1e40af;
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  padding: 8px 0;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-content a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #374151;
  font-size: 0.9rem;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.nav-dropdown-content a:hover {
  background-color: #f3f4f6;
  color: #1e40af;
}

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

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.user-welcome {
  display: none; /* Hide welcome text */
}

.admin-only {
  display: none;
}

.nav-dropdown.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.nav-dropdown.disabled .nav-dropdown-label {
  color: #9ca3af;
  cursor: not-allowed;
}

.nav-dropdown.disabled .nav-dropdown-content {
  pointer-events: none;
}

.user-status {
  display: flex;
  align-items: center;
  cursor: pointer;
}



.btn-login, .btn-signup {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-login {
  background: transparent;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-login:hover {
  background: #f9fafb;
}

.btn-signup {
  background: #1e40af;
  color: white;
}

.btn-signup:hover {
  background: #1d4ed8;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-content h2 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 25px;
  opacity: 0.9;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.btn-primary, .btn-secondary {
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: #ffffff;
  color: #1e40af;
}

.btn-primary:hover {
  background: #f9fafb;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.dashboard-preview {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.mock-chart {
  background: rgba(255,255,255,0.9);
  color: #1e40af;
  padding: 60px 40px;
  border-radius: 8px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Tools Section */
.tools-section {
  padding: 80px 0;
  background: #f9fafb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tools-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 50px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tool-card {
  background: white;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tool-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.tool-card h3 {
  font-size: 1.1rem;
  color: #1f2937;
  margin-bottom: 12px;
  line-height: 1.3;
}

.tool-card p {
  color: #6b7280;
  margin-bottom: 18px;
  line-height: 1.4;
  font-size: 0.9rem;
}

.tool-link {
  color: #1e40af;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.tool-link:hover {
  color: #1d4ed8;
}

/* Market Section */
.market-section {
  padding: 80px 0;
  background: white;
}

.market-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 15px;
}

.market-section > .container > p {
  text-align: center;
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.market-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
}

.market-table table {
  width: 100%;
  border-collapse: collapse;
}

.market-table th {
  background: #f8fafc;
  padding: 20px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.market-table td {
  padding: 20px;
  border-bottom: 1px solid #f3f4f6;
  color: #4b5563;
}

.market-table tr:hover {
  background: #f9fafb;
}

.iv-high {
  background: #dc2626;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.iv-medium {
  background: #f59e0b;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.premium {
  font-weight: 600;
  color: #059669;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
  color: white;
  padding: 80px 0;
}

.cta-content {
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.cta-form .btn-primary {
  padding: 15px 30px;
  background: #ffffff;
  color: #1e40af;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}

.cta-form .btn-primary:hover {
  background: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.signup-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.signup-form input {
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  width: 300px;
  max-width: 100%;
}

.signup-form button {
  padding: 15px 30px;
  background: #059669;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.signup-form button:hover {
  background: #047857;
}

.form-note {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: #d1d5db;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #374151;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .signup-form {
    flex-direction: column;
    align-items: center;
  }
  
  .signup-form input {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Market Overview Dashboard Styles */
.market-overview {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 20px 0 30px 0;
}

.market-overview h1 {
  text-align: center;
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 25px;
  font-weight: 700;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.market-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.market-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.market-name {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.market-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}

.market-change {
  font-size: 0.85rem;
  font-weight: 500;
}

.market-change.positive {
  color: #16a34a;
}

.market-change.negative {
  color: #dc2626;
}

.loading-message, .error-message {
  text-align: center;
  color: #6b7280;
  font-style: italic;
  grid-column: 1 / -1;
  padding: 20px;
}

/* Quote Tool Styles */
.quote-tool {
  background: white;
  padding: 40px 0;
  border-top: 1px solid #e5e7eb;
}

.quote-tool h2 {
  text-align: center;
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 30px;
  font-weight: 600;
}

.quote-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.quote-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.quote-input:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.quote-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.quote-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.quote-result {
  text-align: center;
  margin-top: 20px;
}

.quote-success {
  background: #d1fae5;
  color: #059669;
  padding: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-block;
}

.quote-error {
  background: #fee2e2;
  color: #dc2626;
  padding: 15px;
  border-radius: 8px;
  font-weight: 500;
  display: inline-block;
}

.quote-loading {
  color: #6b7280;
  font-style: italic;
  display: inline-block;
  padding: 15px;
}

/* Navigation Quote Search - TipRanks Style */
.nav-quote {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  margin-right: 150px;
  margin-left: 40px;
}

.nav-quote-input {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  width: 140px;
  transition: border-color 0.2s;
}

.nav-quote-input:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

.nav-quote-btn {
  padding: 6px 12px;
  background: #1e40af;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.nav-quote-btn:hover {
  background: #1d4ed8;
}

.nav-quote-result {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 100%;
  margin-left: 15px;
  z-index: 1000;
  max-width: 150px;
}

.nav-quote-success {
  background: #d1fae5;
  color: #059669;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-quote-error {
  background: #fee2e2;
  color: #dc2626;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-quote-loading {
  color: #6b7280;
  font-style: italic;
  padding: 8px 12px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Navigation Actions Positioning */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Responsive adjustments for market dashboard */
@media (max-width: 768px) {
  .market-overview h1 {
    font-size: 2rem;
  }
  
  .market-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  
  /* Hide navigation quote on mobile */
  .nav-quote {
    display: none;
  }
  
  /* Adjust navigation container for mobile */
  .nav-container {
    gap: 20px;
  }
}

/* Admin Panel Styling - MODERN DASHBOARD LOOK */
.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #f8fafc;
  min-height: calc(100vh - 60px);
}

.admin-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.stat-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.users-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.watchlists-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  border: none;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}

.admin-table tr:hover {
  background: #f8fafc;
  transition: background 0.2s ease;
}

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

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.status-badge.active {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.inactive {
  background: #fee2e2;
  color: #991b1b;
}

.admin-actions {
  text-align: center;
  margin-top: 2rem;
}

.admin-actions .btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 4px;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-role {
  background: #dbeafe;
  color: #1e40af;
}

.user-role {
  background: #f3f4f6;
  color: #6b7280;
}

/* Hide calculator debug blocks by default */
#pcRatiosContainer,
#optionsChainContainer,
#dataDebugContainer,
#calcsContainer {
  display: none !important;
  visibility: hidden !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
