/* Theme variables */
:root {
  /* Light theme (default) */
  --bg-color: #f5f7fa;
  --content-bg: #ffffff;
  --text-color: #333333;
  --text-muted: #6c757d;
  --border-color: #e0e0e0;
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --secondary-color: #6c757d;
  --hover-bg: rgba(52, 152, 219, 0.05);
  --tabs-bg: #f8f9fa;
  --tabs-border: #e0e0e0;
  --tabs-active-bg: #ffffff;
  --tabs-hover-bg: #f1f3f5;
  --primary-color-10: rgba(52, 152, 219, 0.1);
  --primary-color-20: rgba(52, 152, 219, 0.2);
  --primary-color-30: rgba(52, 152, 219, 0.3);
  --transition: all 0.2s ease;
  --spacing-xs: 0.25rem;
  
  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  
  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --border-radius-lg: 8px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Dark theme - disabled to prevent automatic dark mode */
/* Only enable dark theme when explicitly requested via .theme-dark class */
.theme-dark {
  --bg-color: #1a1a1a;
  --content-bg: #2d2d2d;
  --text-color: #f0f0f0;
  --text-muted: #adb5bd;
  --border-color: #444;
  --primary-color: #6ea8fe;
  --primary-color-10: rgba(110, 168, 254, 0.1);
  --primary-color-20: rgba(110, 168, 254, 0.2);
  --primary-color-30: rgba(110, 168, 254, 0.3);
  --primary-color-dark: #5a8cff;
  --secondary-color: #9e9e9e;
  --success-color: #20c997;
  --danger-color: #ff6b6b;
  --warning-color: #ffd43b;
  --info-color: #3bc9db;
  --light-color: #343a40;
  --dark-color: #f8f9fa;
  --hover-bg: rgba(110, 168, 254, 0.1);
  --tabs-bg: #2d2d2d;
  --tabs-border: #444;
  --tabs-active-bg: #1e1e1e;
  --tabs-hover-bg: #3d3d3d;
}

/* Base styles */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: calc(100vw - 4rem);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Main content area */
main {
  background-color: var(--content-bg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
  margin-top: 0;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
button, .btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

button:hover, .btn:hover {
  background-color: var(--primary-dark);
}

/* Forms */
input, select, textarea {
  background-color: var(--content-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-color);
  padding: 0.5rem;
  width: 100%;
  max-width: 100%;
}

/* Cards */
.card {
  background-color: var(--content-bg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

/* Utility classes */
.hidden {
  display: none !important;
}

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

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
