/* CSS Variables for corporate theme */
:root {
  --bg-color: #f4f6f8; /* Light grey */
  --surface-color: #ffffff;
  --primary-color: #0056b3; /* Deep blue */
  --secondary-color: #d32f2f; /* Red accent */
  --text-color: #333333;
  --text-muted: #6c757d;
  --border-color: #e0e0e0;
  --font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header Navbar */
header {
  background-color: var(--surface-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--primary-color);
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header .logo span.accent {
  color: var(--secondary-color);
}

header .nav-links a {
  text-decoration: none;
  color: var(--text-color);
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

header .nav-links a:hover {
  color: var(--primary-color);
}

/* Main Container */
.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Login Page Styles */
.login-container {
  max-width: 400px;
  margin: 5rem auto;
  padding: 2.5rem;
  background: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  border-top: 4px solid var(--primary-color);
}

.login-container h1 {
  margin-top: 0;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.login-container p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.btn-primary {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background-color: #004494;
}

.btn-primary:active {
  transform: translateY(1px);
}

/* Markdown Content Styling */
.markdown-body {
  color: var(--text-color);
}

.markdown-body h1, .markdown-body h2, .markdown-body h3 {
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}

.markdown-body a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.markdown-body a:hover {
  text-decoration: underline;
}

.markdown-body code {
  background-color: var(--bg-color);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
}

.markdown-body pre {
  background-color: #282c34;
  color: #abb2bf;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
}

.markdown-body blockquote {
  border-left: 4px solid var(--primary-color);
  margin: 1.5rem 0;
  padding-left: 1rem;
  color: var(--text-muted);
  font-style: italic;
}
