/* ============================================================
   mis.css — Shared styles for Mitinet Integration Services docs
   ============================================================ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fafafa;
}

a { color: #194F90; }
a:hover { text-decoration: underline; }

p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* ── Header ── */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header img { height: 48px; }

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.site-nav a { color: #194F90; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }

/* ── Footer ── */
.site-footer {
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 16px 40px;
  font-size: 13px;
  color: #777;
  text-align: center;
}

/* ── Page footer nav (prev/next links) ── */
.page-footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  font-size: 13px;
  color: #555;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Headings ── */
h1 {
  font-size: 2rem;
  font-weight: normal;
  color: #111;
  margin-bottom: 8px;
}

h2 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #111;
  margin: 40px 0 12px;
}

/* ── Inline code ── */
code {
  background: #f4f4f4;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  padding: 1px 5px;
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.875em;
  color: #c7254e;
}

/* ── Callout / note boxes ── */
.callout,
.note-box,
.auth-box {
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 14px;
  margin: 16px 0;
  line-height: 1.6;
}

.note-box {
  background: #eef4fb;
  border: 1px solid #c2d5ed;
  color: #193d6b;
}

.auth-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #194F90;
}

.callout-info {
  background: #eef4fb;
  border: 1px solid #c2d5ed;
  border-left: 4px solid #194F90;
  color: #193d6b;
}

.callout-warning {
  background: #fffbf0;
  border: 1px solid #f5dfa0;
  border-left: 4px solid #d97706;
  color: #5a3a00;
}

.callout-success {
  background: #f0faf4;
  border: 1px solid #b7e2c8;
  border-left: 4px solid #16a34a;
  color: #14532d;
}

.callout strong,
.note-box strong {
  display: block;
  margin-bottom: 4px;
}

/* ── Page subtitle ── */
.subtitle,
.page-subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

/* ── Responsive: hide nav on small screens ── */
@media (max-width: 640px) {
  .site-header { padding: 12px 20px; }
  .site-nav { display: none; }
  .site-footer { padding: 16px 20px; }
}

