/* body {
  font-family: "Segoe UI", Arial, sans-serif;
}

h2 {
  margin-bottom: 1rem;
}

pre {
  background: #f8f9fa;
  padding: 0.5rem;
  border-radius: 5px;
}

table {
  font-size: 0.9rem;
} */

/* --- Modern baseline --- */
:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --primary:#2563eb;
  --primary-hover:#1d4ed8;
  --shadow: 0 10px 25px rgba(0,0,0,.06);
  --radius: 12px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

/* Layout */
main, .container{
  max-width: none;
  margin: 0 auto;
  padding: 24px;
}

/* Headings */
h1,h2,h3{
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
p{ color:var(--muted); }

/* Cards / panels */
.card, .panel, .box, .content{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

/* Buttons */
button, .btn, input[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}

button:hover, .btn:hover, input[type="submit"]:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  border-color: #d1d5db;
}

button:active, .btn:active, input[type="submit"]:active{
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary, button.primary{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover, button.primary:hover{
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* Inputs */
input[type="text"], input[type="email"], input[type="password"], textarea, select{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  outline: none;
  min-height: 44px;
  transition: border-color .12s ease, box-shadow .12s ease;
}

textarea{ min-height: 120px; resize: vertical; }

input:focus, textarea:focus, select:focus{
  border-color: rgba(37,99,235,.6);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

/* Links */
a{ color: var(--primary); text-decoration: none; }
a:hover{ text-decoration: underline; }

/* Tables */
table{
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
th, td{
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.95rem;
}
th{ background: #f9fafb; }

/* Code blocks */
pre{
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow:auto;
}

/* Simple nav polish (works even if your nav is plain links) */
/* nav{
  background: #111827;
  color: #fff;
  padding: 10px 16px;
}
nav a{
  color:#fff;
  opacity:.9;
  margin-right: 14px;
}
nav a:hover{ opacity:1; text-decoration:none; } */
/* Only style non-Bootstrap navs if you ever use them */
.simple-nav{
  background:#111827;
  color:#fff;
  padding:10px 16px;
}
.simple-nav a{ color:#fff; opacity:.9; margin-right:14px; }
.simple-nav a:hover{ opacity:1; text-decoration:none; }

/* Chat layout */
.vp-chat-scroll{
  min-height: 120px;
  max-height: 55vh;
  overflow-y: auto;
  transition: height 0.2s ease;
  background: #f8f9fa; /* matches Bootstrap light */
}

/* Message rows */
.vp-msg{
  display: flex;
  margin-bottom: 12px;
}

.vp-msg-you{
  justify-content: flex-end;
}

.vp-msg-patient{
  justify-content: flex-start;
}

/* Bubble */
.vp-bubble{
  max-width: min(720px, 90%);
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #ffffff;
  box-shadow: 0 1px 1px rgba(0,0,0,.03);
}

.vp-msg-you .vp-bubble{
  background: #e8f0ff;
}

.vp-meta{
  font-size: 12px;
  opacity: .7;
  margin-bottom: 4px;
}

.vp-body{
  white-space: pre-wrap; /* preserve newlines */
}


/* Keele Blue */
.vp-navbar{
  /*background: linear-gradient(135deg, #065f46 0%, #0f766e 60%, #0ea5a4 100%);*/
  background: #271E3D; 
}

/* Improve contrast */
.vp-navbar .navbar-brand,
.vp-navbar .nav-link,
.vp-navbar .navbar-text{
  color: #ffffff !important;
}

.vp-navbar .nav-link:hover{
  color: #8eb5d6 !important;  /* pale blue hover */
}

/* Navbar logout button */
.vp-navbar .vp-nav-logout{
  background: transparent;
  border: none;
  color: #ffffff;
  font-weight: 500;
  padding: 0;
  box-shadow: none;
}

.vp-navbar .vp-nav-logout:hover{
  color: #e0e7ff;  /* subtle hover tint */
  text-decoration: underline;
  transform: none;
  box-shadow: none;
}

/* Allow label text to remain normal even if checkbox is disabled */
.form-check-input:disabled ~ .privacy-label {
  opacity: 1;
  color: inherit;
/* .privacy-label {
  color: inherit;
  opacity: 1; */
}

/* Ensure the link remains clearly clickable */
.privacy-label a {
  color: #0d6efd;
  text-decoration: underline;
}