:root {
  --primary: #0277BD;
  --primary-hover: #015f97;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --border: #e0e0e0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fff;
}
h1, h2, h3 { color: #111; }
h1 { border-bottom: 2px solid var(--primary); padding-bottom: 10px; }
h2 { margin-top: 40px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  background-color: var(--bg-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9em;
  color: #d63384;
}
pre {
  background-color: var(--bg-light);
  padding: 15px;
  border-radius: 6px;
  border: 1px solid var(--border);
  overflow-x: auto;
  color: #333;
  font-family: Consolas, Monaco, monospace;
}
pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}
kbd {
  background-color: #eee;
  border-radius: 3px;
  border: 1px solid #b4b4b4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  padding: 1px 4px;
  font-family: monospace;
  font-size: 0.9em;
  color: #333;
}
.alert {
  background-color: #e3f2fd;
  border-left: 4px solid var(--primary);
  padding: 15px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}
.alert-danger {
  background-color: #ffebee;
  border-left: 4px solid #f44336;
  padding: 15px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}
.prereq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}
.prereq-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}
.prereq-card strong { display: block; font-size: 1.1em; margin-bottom: 5px; color: var(--primary); }
.tabs { margin-top: 30px; }
.tab-buttons {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}
.tab-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.tab-content { display: none; animation: fadeIn 0.3s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-list { list-style: none; padding-left: 0; }
.step-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
}
.step-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  background: var(--primary);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.video-btn {
  display: inline-block;
  background: #ff0000;
  color: white !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 15px;
  text-decoration: none !important;
}
.video-btn:hover { background: #cc0000; }
.image-gallery img {
  max-width: 100%;
  height: auto;
  margin-top: 15px;
  margin-bottom: 25px;
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* ---------- Tables (backend / admin panel configuration reference) ---------- */
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}
.doc-table th,
.doc-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.doc-table th {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-weight: 600;
}
.doc-table td code {
  white-space: nowrap;
}
.doc-table tr:nth-child(even) td {
  background-color: #fcfcfc;
}

/* Success / positive callout, same shape as .alert */
.alert-success {
  background-color: #e8f5e9;
  border-left: 4px solid #4caf50;
  padding: 15px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}
