/* Grownode CSS Framework - Base Styles */
/* Typography, colors, and foundational elements */

/* Color Variables */
:root {
  --primary-color: #4CAF50;
  --primary-dark: #45a049;
  --secondary-color: #2196F3;
  --text-primary: #333;
  --text-secondary: #666;
  --text-muted: #999;
  --background-light: #f8f9fa;
  --border-color: #eee;
  --border-color-dark: #ddd;
  --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 12px rgba(0,0,0,0.15);
}

/* Base Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 16px 0;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; color: var(--text-secondary); }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Badges */
.badge {
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

.access-badge { @extend .badge; }
.access-public { background: #e8f5e8; color: #2e7d32; }
.access-member { background: #e3f2fd; color: #1565c0; }
.access-staff { background: #fff3e0; color: #ef6c00; }
.access-manager { background: #fce4ec; color: #c2185b; }
.access-admin { background: #ffebee; color: #d32f2f; }

.condition-badge { @extend .badge; }
.condition-yes { background: #e8f5e8; color: #2e7d32; }
.condition-no { background: #ffebee; color: #d32f2f; }

.status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}
.status-active { background: #e8f5e8; color: #2e7d32; }
.status-concluded { background: #f3e5f5; color: #7b1fa2; }

/* Tag Badges */
.tag-badge {
  background: #e3f2fd;
  color: #1565c0;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
  display: inline-block;
  margin: 2px;
}

.tag-badge:hover {
  background: #bbdefb;
  color: #0d47a1;
  text-decoration: none;
}

/* Utility Classes */
.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }