/* Matrack Reseller Commission Portal - Main Styles */

/* Google Fonts - Professional typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:wght@600;700&display=swap');

/* CSS Custom Properties */
:root {
  /* Brand Colors */
  --color-navy: #0f172a;
  --color-navy-light: #1e3a5f;
  --color-teal: #00a693;
  --color-teal-light: #00d4aa;
  --color-white: #ffffff;

  /* Gray Scale */
  --color-gray-50: #fafafa;
  --color-gray-100: #f8fafc;
  --color-gray-200: #f1f5f9;
  --color-gray-300: #e2e8f0;
  --color-gray-400: #cbd5e1;
  --color-gray-500: #94a3b8;
  --color-gray-600: #64748b;
  --color-gray-700: #475569;
  --color-gray-800: #1e293b;

  /* Typography - Professional font stack */
  --font-heading: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --border-radius: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--color-gray-100);
  color: var(--color-gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

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; }

/* Utility Classes - Text Colors */
.text-navy { color: var(--color-navy); }
.text-teal { color: var(--color-teal); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-gray-600); }
.text-danger { color: #dc2626; }
.text-warning { color: #f59e0b; }
.text-success { color: #10b981; }

/* Utility Classes - Backgrounds */
.bg-navy { background: var(--color-navy); }
.bg-teal { background: var(--color-teal); }
.bg-white { background: var(--color-white); }
.bg-gray-100 { background: var(--color-gray-100); }
.bg-gray-200 { background: var(--color-gray-200); }

/* Utility Classes - Spacing */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Utility Classes - Display */
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Links */
a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-teal-light);
}
