
:root{
  --bg:#0b1020; --panel:#0f1630; --card:#121b3b; --muted:#9aa4bf; --text:#e8eeff;
  --primary:#5da8ff; --accent:#7a5cff; --ok:#06b6d4; --warn:#f59e0b; --err:#ef4444; --border:#203055;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%;width:100%;overflow-x:hidden}
html{background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);}
body{
  background: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    url('../../assets/images/backgrounds/ai5.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color:#ffffff; 
  font:400 16px/1.5 'Source Sans Pro','Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  min-height: 100vh;
}

/* Override for Claim Analysis Tools page to use 16.jpg background */
body:has(.hero-header) {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('/assets/images/backgrounds/16.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,h5,h6{color:#ffffff!important}
p{color:#ffffff}
span{color:#ffffff}
div{color:#ffffff}
/* EXCEPTION: Negotiation card titles should be blue */
div.script-card.negotiation-card h3.card-title{color:#1d4ed8!important;font-weight:bold!important}
.container{width:100%;margin:0;padding:12px 16px}
.header{position:sticky;top:0;z-index:50;background:#0f172a;backdrop-filter:blur(10px);border-bottom:1px solid #0f172a}
.header .bar{display:flex;align-items:center;justify-content:space-between;padding:14px 16px}
.brand{display:flex;gap:10px;align-items:center;font-weight:800;color:#ffffff}
.brand div{color:#ffffff}
.brand .logo{width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,var(--primary),var(--accent))}
.nav a{margin-left:14px;color:#ffffff;transition:color 0.2s}
.nav a:hover{color:#93c5fd}

/* Navigation Dropdowns */
.nav-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 14px;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  font-size: 14px;
}

.nav-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-arrow {
  margin-left: 4px;
  font-size: 12px;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 2px solid #1e3a8a;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 300px;
  max-width: 500px;
  padding: 16px;
}

.nav-dropdown-content a {
  display: block;
  color: #1e3a8a;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  margin: 2px 0;
  transition: background-color 0.2s;
}

.nav-dropdown-content a:hover {
  background: #f1f5f9;
  color: #1e3a8a;
}

.nav-link {
  display: block;
  color: #1e3a8a;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  margin: 8px 0 0 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
  font-weight: 600;
}

.nav-link:hover {
  background: #1e3a8a;
  color: #ffffff;
}

/* Navigation Dropdown Content Styles */
.how-to-steps {
  margin-bottom: 16px;
}

.step {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 6px;
  background: #f8fafc;
}

.step-number {
  background: #1e3a8a;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: #1e3a8a;
}

.step-content p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.quick-start-scenarios {
  display: grid;
  gap: 12px;
}

.scenario {
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.scenario h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #1e3a8a;
  font-weight: 600;
}

.scenario-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.scenario-link {
  display: inline-block;
  padding: 4px 8px;
  background: #ffffff;
  border: 1px solid #1e3a8a;
  border-radius: 4px;
  color: #1e3a8a;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
}

.scenario-link:hover {
  background: #1e3a8a;
  color: #ffffff;
}
.main-grid{display:grid;grid-template-columns:260px 1fr;gap:16px}
.panel{background:linear-gradient(180deg,#0f1734,#0e183b); border:1px solid #1c2a57; border-radius:14px; box-shadow:0 10px 28px rgba(0,0,0,.25); padding:16px}
.h{font-size:14px;letter-spacing:.16em;color:#8fa3d4;text-transform:uppercase;margin:0 0 10px}
.search{display:flex;gap:8px}
.search input{flex:1;border-radius:10px;border:1px solid #223266;background:#111a3a;color:#eaf2ff;padding:10px 12px}
.btn{border:1px solid #29418a;background:#121e44;color:#eaf2ff;border-radius:10px;padding:10px 12px;cursor:pointer}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--accent)); border:0; color:#0b1020}
.btn-secondary{border:1px solid #3a4a86;background:#111a34;color:#cfe1ff}
.card{background:rgba(255, 255, 255, 0.2);border:1px solid rgba(255, 255, 255, 0.2);border-radius:1rem;box-shadow:0 6px 14px rgba(0,0,0,0.25);padding:1.5rem;color:#ffffff}
.grid{display:grid;gap:14px}
.grid.tools{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.tools-xl{grid-template-columns:repeat(auto-fit,minmax(480px,1fr))}
.tool{min-height:150px;display:flex;flex-direction:column;justify-content:space-between}
.tool-xl{min-height:240px}
.tool h3{margin:6px 0 4px;font-size:18px}
.tool p{margin:0;color:var(--muted)}
.badge{font-size:12px;color:#ffffff;background:var(--primary);border:2px solid var(--border);border-radius:999px;padding:4px 8px;align-self:flex-start}
.kv{display:grid;grid-template-columns:140px 1fr;gap:8px;margin:10px 0}
label{color:var(--text)}
input,textarea,select{font:inherit;background:#ffffff;border:2px solid var(--border);color:var(--text);border-radius:10px;padding:10px 12px}
textarea{min-height:120px;border:2px solid #d1d5db !important;outline:none !important}
textarea:focus{border-color:#3b82f6 !important;box-shadow:0 0 0 3px rgba(59, 130, 246, 0.1) !important}
table{width:100%;border:2px solid var(--border);border-radius:10px;overflow:hidden;background:var(--card)}
th,td{border-bottom:1px solid var(--border);padding:8px 10px;color:var(--text)}
th{color:var(--text);text-align:left;background:var(--panel)}
tfoot td{font-weight:700}
.toast{position:fixed;bottom:16px;right:16px;background:#092;display:none;color:#fff;padding:10px 12px;border-radius:10px}
.invalid{outline:2px solid var(--err);background:#2a0e14}
.small{font-size:12px;color:var(--muted)}
.hero{display:flex;gap:12px;align-items:center}
.hero .logo{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--primary))}

/* Resource Center specific styling - Soft off-white beige with dark blue outlines */
body:has(.main-grid) {
  background: #f5f3f0 !important;
  color: #1e293b !important;
  font-weight: 500;
}

body:has(.main-grid) .header {
  background: #0f172a !important;
  border-bottom: 2px solid #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

body:has(.main-grid) .nav a {
  color: #ffffff !important;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

body:has(.main-grid) .nav a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #dbeafe !important;
}

body:has(.main-grid) .brand {
  color: #ffffff !important;
  font-weight: 700;
}

body:has(.main-grid) .panel {
  background: #ffffff !important;
  border: 2px solid #1e3a8a !important;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1) !important;
}

body:has(.main-grid) .h {
  color: #64748b !important;
  font-weight: 600;
}

body:has(.main-grid) .search input {
  border: 2px solid #1e3a8a !important;
  background: #ffffff !important;
  color: #1e293b !important;
  font-weight: 500;
}

body:has(.main-grid) .search input:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

body:has(.main-grid) .btn {
  border: 2px solid #1e3a8a !important;
  background: #ffffff !important;
  color: #1e3a8a !important;
  font-weight: 600;
}

body:has(.main-grid) .btn:hover {
  background: #1e3a8a !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(30, 58, 138, 0.2);
}

body:has(.main-grid) .btn-primary {
  background: #1e3a8a !important;
  border: 2px solid #1e3a8a !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
}

body:has(.main-grid) .btn-primary:hover {
  background: #1e40af !important;
  box-shadow: 0 4px 8px rgba(30, 58, 138, 0.3);
  transform: translateY(-1px);
}

body:has(.main-grid) .btn-secondary {
  border: 2px solid #64748b !important;
  background: #ffffff !important;
  color: #64748b !important;
  font-weight: 600;
}

body:has(.main-grid) .btn-secondary:hover {
  background: #64748b !important;
  color: #ffffff !important;
}

body:has(.main-grid) .card {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  font-weight: 500;
}

body:has(.main-grid) .content-column {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
}

body:has(.main-grid) .column-title {
  color: #ffffff !important;
}

body:has(.main-grid) .tool-card {
  background: #e9ecef !important;
  border: 1px solid #e5e7eb !important;
  color: #1e3a8a !important;
}

body:has(.main-grid) .tool-card h4 {
  color: #ffffff !important;
  font-size: 1.1rem !important;
}

body:has(.main-grid) .tool-card p {
  color: #ffffff !important;
  font-size: 0.8rem !important;
}

body:has(.main-grid) .tool p {
  color: #475569 !important;
  font-weight: 500;
  line-height: 1.6;
}

body:has(.main-grid) .badge {
  background: #1e3a8a !important;
  border: 2px solid #1e3a8a !important;
  color: #ffffff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body:has(.main-grid) label {
  color: #1e293b !important;
  font-weight: 600;
}

body:has(.main-grid) input,
body:has(.main-grid) textarea,
body:has(.main-grid) select {
  background: #ffffff !important;
  border: 2px solid #1e3a8a !important;
  color: #1e293b !important;
  font-weight: 500;
}

body:has(.main-grid) input:focus,
body:has(.main-grid) textarea:focus,
body:has(.main-grid) select:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

body:has(.main-grid) table {
  border: 2px solid #1e3a8a !important;
  background: #ffffff !important;
}

body:has(.main-grid) th,
body:has(.main-grid) td {
  border-bottom: 1px solid #e5e7eb !important;
  color: #1e293b !important;
  font-weight: 500;
}

body:has(.main-grid) th {
  background: #f1f5f9 !important;
  font-weight: 700;
  color: #1e3a8a !important;
}

body:has(.main-grid) .small {
  color: #64748b !important;
  font-weight: 500;
}

/* Enhanced Typography */
body:has(.main-grid) h1,
body:has(.main-grid) h2,
body:has(.main-grid) h3,
body:has(.main-grid) h4 {
  color: #ffffff !important;
  font-weight: 700;
}

body:has(.main-grid) .main-title {
  color: #ffffff !important;
  font-weight: 800;
  text-shadow: none;
}

body:has(.main-grid) .subtitle {
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Enhanced Link Styling */
body:has(.main-grid) a {
  color: #1e3a8a !important;
  font-weight: 600;
  text-decoration: none;
}

body:has(.main-grid) a:hover {
  color: #1e40af !important;
  text-decoration: underline;
}

/* Enhanced Menu Styling */
body:has(.main-grid) .menu-title {
  color: #1e3a8a !important;
  font-weight: 700;
  font-size: 1.1rem;
}

body:has(.main-grid) .menu-section h4 {
  color: #1e293b !important;
  font-weight: 600;
}

body:has(.main-grid) .menu-list a {
  color: #475569 !important;
  font-weight: 500;
}

body:has(.main-grid) .menu-list a:hover {
  color: #1e3a8a !important;
  background: #f1f5f9;
  border-radius: 4px;
  padding: 4px 8px;
}

/* Resource Center New Layout Styles */
.hero-section {
  text-align: center;
  padding: 10px 0;
  margin-bottom: 10px;
}

.main-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 8px 0;
}

.subtitle {
  font-size: 1rem;
  color: #ffffff;
  margin: 0 0 32px 0;
}

.search-container {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 12px;
  width: 100%;
}

.main-search {
  flex: 1;
  padding: 6px 8px;
  font-size: 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f3f4f6;
  color: #1f2937;
}

.search-btn {
  padding: 6px 12px;
  font-size: 1rem;
  border-radius: 8px;
}

/* Top Section: Side by Side Layout */
.top-section {
  margin-bottom: 40px;
}

.top-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Compact How to Use Section */
.how-to-use-compact {
  height: 100%;
}

.how-to-use-card {
  background: #ffffff;
  border: 2px solid #1e3a8a;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.how-to-title {
  color: #1e3a8a;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 16px 0;
}

.how-to-content-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.how-to-step-compact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.step-number-small {
  background: #1e3a8a;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-content-small h4 {
  color: #1e3a8a;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.step-content-small p {
  color: #6b7280;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

.how-to-footer-compact {
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.detailed-guide-btn-small {
  display: inline-block;
  background: #1e3a8a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.detailed-guide-btn-small:hover {
  background: #1e40af;
}

/* Compact Quick Start Section */
.quick-start-compact {
  height: 100%;
}

.quick-start-card {
  background: #ffffff;
  border: 2px solid #1e3a8a;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.section-title-compact {
  text-align: center;
  font-size: 1.25rem;
  color: #1e3a8a;
  margin: 0 0 16px 0;
  font-weight: 700;
}

.quick-start-content-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-start-scenario {
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.scenario-header h3 {
  color: #1e3a8a;
  font-size: 0.95rem;
  margin: 0 0 4px 0;
  font-weight: 600;
}

.scenario-header p {
  color: #6b7280;
  margin: 0 0 8px 0;
  line-height: 1.3;
  font-size: 0.8rem;
}

.scenario-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-links-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-start;
}

.quick-link-small {
  background: #f3f4f6;
  color: #1e3a8a;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  text-decoration: none;
  border: 1px solid #d1d5db;
  transition: all 0.2s;
}

.quick-link-small:hover {
  background: #1e3a8a;
  color: #ffffff;
}

.start-here-btn-small {
  display: inline-block;
  background: #1e3a8a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  transition: background 0.2s;
  align-self: flex-start;
}

.start-here-btn-small:hover {
  background: #1e40af;
}

/* Full Width Layout */
.main-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Sidebar Styles */
.sidebar {
  background: #ffffff;
  border: 2px solid #1e3a8a;
  border-radius: 12px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
  min-width: 350px;
}

.sidebar-section {
  margin-bottom: 24px;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  color: #1e3a8a;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  text-align: center;
}

/* How to Use Steps */
.how-to-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.step-number {
  background: #1e3a8a;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-content h4 {
  color: #1e3a8a;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.step-content p {
  color: #6b7280;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

.sidebar-link {
  display: block;
  text-align: center;
  background: #1e3a8a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.sidebar-link:hover {
  background: #1e40af;
}

/* Quick Start Scenarios */
.quick-start-scenarios {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scenario {
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.scenario h4 {
  color: #1e3a8a;
  font-size: 0.95rem;
  margin: 0 0 6px 0;
  font-weight: 600;
}

.scenario p {
  color: #6b7280;
  font-size: 0.8rem;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.scenario-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.scenario-link {
  background: #f3f4f6;
  color: #1e3a8a;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  text-decoration: none;
  border: 1px solid #d1d5db;
  transition: all 0.2s;
}

.scenario-link:hover {
  background: #1e3a8a;
  color: #ffffff;
}

.start-here {
  display: inline-block;
  background: #1e3a8a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  transition: background 0.2s;
}

.start-here:hover {
  background: #1e40af;
}

/* Dropdown Styles */
.dropdown-section {
  margin-bottom: 12px;
}

.dropdown-toggle {
  width: 100%;
  background: #f8fafc;
  border: 2px solid #1e3a8a;
  color: #1e3a8a;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.dropdown-toggle:hover {
  background: #1e3a8a;
  color: #ffffff;
}

.dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.dropdown-content {
  display: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  max-height: 500px;
  overflow-y: auto;
}

.dropdown-content a {
  display: block;
  padding: 8px 16px;
  color: #475569;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.dropdown-content a:hover {
  background: #f1f5f9;
  color: #1e3a8a;
}

/* Main Content Area */
.main-content {
  min-height: 600px;
  width: 100%;
  max-width: none;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 40px 0;
  width: 100%;
  max-width: none;
}

/* Content Columns */
.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  padding: 0;
}

.content-column {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  width: 100%;
}

.side-menu {
  background: #ffffff;
  border: 2px solid #1e3a8a;
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.menu-title {
  color: #1e3a8a;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 24px 0;
  text-align: center;
}

.menu-section {
  margin-bottom: 32px;
}

.menu-section h4 {
  color: #374151;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  margin-bottom: 8px;
}

.menu-list a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 6px 0;
  transition: color 0.2s;
}

.menu-list a:hover {
  color: #1e3a8a;
}

.sub-menu {
  list-style: none;
  padding-left: 16px;
  margin-top: 4px;
}

.sub-menu li {
  margin-bottom: 4px;
}

.sub-menu a {
  font-size: 0.8rem;
  color: #9ca3af;
}

.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.content-column {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.column-title {
  color: #ffffff !important;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 24px 0;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: none;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  width: 100%;
}

.tool-card {
  background: #e9ecef;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  text-decoration: none;
  color: #1e3a8a;
  transition: all 0.2s;
  display: block;
}

.tool-card:hover {
  border-color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
  transform: translateY(-1px);
}

.tool-card h4 {
  color: #1e3a8a;
    font-size: 1.1rem;
  font-weight: 600;
  margin: 8px 0 4px 0;
}

.tool-card p {
  color: #6b7280;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

.tool-card .badge {
  background: #1e3a8a;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
  
  .sidebar {
    position: static;
    order: 2;
    margin-bottom: 20px;
    min-width: auto;
  }
  
  .content-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }
  
  .top-section-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-start-grid-compact {
    grid-template-columns: 1fr;
  }
  
  .search-container {
    flex-direction: column;
  }
  
  .how-to-content-compact {
    gap: 8px;
  }
  
  .how-to-step-compact {
    padding: 8px;
    gap: 8px;
  }
}

/* === Force black text on negotiation page === */
body:has(#main) {
  color: #000000 !important;
}

body:has(#main) label,
body:has(#main) input,
body:has(#main) textarea,
body:has(#main) select,
body:has(#main) .card,
body:has(#main) .card h3,
body:has(#main) .card pre {
  color: #000000 !important;
}

body:has(#main) .header {
  background: #0f172a !important;
  border-bottom: 1px solid #0f172a !important;
}

body:has(#main) .brand {
  color: #ffffff !important;
}

body:has(#main) .nav a {
  color: #c9d4ff !important;
}

body:has(#main) .nav a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* === Additional styling for settlement comparison sheet === */
body:has(#main) h2,
body:has(#main) h3,
body:has(#main) h4,
body:has(#main) h5,
body:has(#main) h6 {
  color: #000000 !important;
}

body:has(#main) .card h2 {
  color: #000000 !important;
}

body:has(#main) textarea {
  color: #000000 !important;
  background: #ffffff !important;
  border: 2px solid #1e3a8a !important;
}

body:has(#main) textarea:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

body:has(#main) .btn {
  color: #000000 !important;
  background: #ffffff !important;
  border: 2px solid #1e3a8a !important;
}

body:has(#main) .btn:hover {
  background: #1e3a8a !important;
  color: #ffffff !important;
}

body:has(#main) .btn-primary {
  background: #1e3a8a !important;
  color: #ffffff !important;
  border: 2px solid #1e3a8a !important;
}

body:has(#main) .btn-primary:hover {
  background: #1e40af !important;
  border-color: #1e40af !important;
  color: #ffffff !important;
}

body:has(main.container) .btn {
  color: #000000 !important;
  background: #ffffff !important;
  border: 2px solid #1e3a8a !important;
}

body:has(main.container) .btn:hover {
  background: #1e3a8a !important;
  color: #ffffff !important;
}

body:has(main.container) .btn-primary {
  background: #1e3a8a !important;
  color: #ffffff !important;
  border: 2px solid #1e3a8a !important;
}

body:has(main.container) .btn-primary:hover {
  background: #1e40af !important;
  border-color: #1e40af !important;
  color: #ffffff !important;
}

/* === Styling for main documents page === */
body:has(main.container) {
  color: #000000 !important;
}

body:has(main.container) label,
body:has(main.container) input,
body:has(main.container) textarea,
body:has(main.container) select,
body:has(main.container) .card,
body:has(main.container) .card h2,
body:has(main.container) .card h3,
body:has(main.container) .card p,
body:has(main.container) .card pre,
body:has(main.container) .small {
  color: #000000 !important;
}

body:has(main.container) .header {
  background: #0f172a !important;
  border-bottom: 1px solid #0f172a !important;
}

body:has(main.container) .brand {
  color: #ffffff !important;
}

body:has(main.container) .nav a {
  color: #c9d4ff !important;
}

body:has(main.container) .nav a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

body:has(main.container) .tool h3 {
  color: #000000 !important;
}

body:has(main.container) .tool p {
  color: #000000 !important;
}

body:has(main.container) .btn-secondary {
  background: #ffffff !important;
  border: 2px solid #1e3a8a !important;
  color: #1e3a8a !important;
}

body:has(main.container) .btn-secondary:hover {
  background: #1e3a8a !important;
  color: #ffffff !important;
}

body:has(main.container) .btn-primary {
  background: #1e3a8a !important;
  color: #ffffff !important;
  border: 2px solid #1e3a8a !important;
}

body:has(main.container) .btn-primary:hover {
  background: #1e40af !important;
  border-color: #1e40af !important;
  color: #ffffff !important;
}

/* === Additional styling for document library pages === */
body:has(.main-container) {
  color: #000000 !important;
}

body:has(.main-container) .logo,
body:has(.main-container) .nav-links a,
body:has(.main-container) h1,
body:has(.main-container) h2,
body:has(.main-container) h3,
body:has(.main-container) p,
body:has(.main-container) .card {
  color: #000000 !important;
}

body:has(.main-container) header {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
}

body:has(.main-container) .nav-links a {
  color: #1e3a8a !important;
}

body:has(.main-container) .nav-links a:hover {
  color: #1e40af !important;
  background: #f1f5f9 !important;
}


/* === Additional styling for expert opinion request page === */
body:has(#main) h4 {
  color: #000000 !important;
}

body:has(#main) input[type="checkbox"] {
  accent-color: #1e3a8a !important;
}

body:has(#main) input[type="checkbox"] + label {
  color: #000000 !important;
}

body:has(#main) select option {
  color: #000000 !important;
  background: #ffffff !important;
}

body:has(#main) .small {
  color: #000000 !important;
}

/* === Resource Center Search Interface === */
.search-section {
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
}

.search-bar {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tag-btn {
  background: #e5e7eb;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  color: #374151;
}

.tag-btn.active,
.tag-btn:hover {
  background: var(--primary, #1e40af);
  color: white;
  transform: translateY(-1px);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.result-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s;
  text-align: left;
}

.result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: #1e40af;
}

.result-card h3 {
  margin: 0.5rem 0;
  color: var(--primary, #1e40af);
  font-size: 1.1rem;
  font-weight: 600;
}

.result-card p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.result-card a {
  color: #1e40af;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.result-card a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Mobile responsiveness for search */
@media (max-width: 768px) {
  .search-section {
    margin: 1rem auto;
    padding: 0 1rem;
  }
  
  .filter-tags {
    gap: 0.25rem;
  }
  
  .tag-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* =====================================================
   Negotiation Scripts Page Title Color Fix
   ===================================================== */
.negotiation-card h3,
.negotiation-card .card-title {
  color: #1d4ed8 !important; /* Tailwind blue-700 */
}

/* Force override for all possible selectors */
.script-card.negotiation-card h3.card-title,
.script-card.negotiation-card .card-title,
.negotiation-card h3,
.negotiation-card .card-title {
  color: #1d4ed8 !important;
  font-weight: bold !important;
}

/* OVERRIDE THE GLOBAL DIV RULE */
div.script-card.negotiation-card h3.card-title,
div.script-card.negotiation-card .card-title,
div.negotiation-card h3,
div.negotiation-card .card-title {
  color: #1d4ed8 !important;
  font-weight: bold !important;
}

/* =====================================================
   Claim Analysis Tools Page Styling
   ===================================================== */
.hero-header {
  padding: 10px 20px;
  color: #fff;
  text-align: center;
  position: relative;
  min-height: 5vh;
  background: transparent;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  margin: 0 0 8px 0;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-top: 5px;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding: 20px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #fff;
}

.card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.card h3 {
  color: #1e3a8a !important;
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-weight: bold !important;
  text-align: center;
}

.card p {
  color: #ffffff !important;
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.5;
  text-align: center;
}

.card textarea {
  width: 100%;
  min-height: 80px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 8px;
  resize: vertical;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.card textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Force white text for all card content */
.card h3,
.card p,
.card h1,
.card h2,
.card h4,
.card h5,
.card h6 {
  color: #ffffff !important;
}

/* Override any other text color rules for cards */
body:has(.tools-grid) .card h3,
body:has(.tools-grid) .card p,
body:has(.tools-grid) .card h1,
body:has(.tools-grid) .card h2,
body:has(.tools-grid) .card h4,
body:has(.tools-grid) .card h5,
body:has(.tools-grid) .card h6 {
  color: #ffffff !important;
}

/* Override the main.container black text rule for claim analysis page */
body.claim-analysis-page:has(main.container) {
  color: #ffffff !important;
}

body.claim-analysis-page:has(main.container) .card h3,
body.claim-analysis-page:has(main.container) .card p {
  color: #ffffff !important;
}

/* Override for tool pages to have white background and black text */
body.tool-page {
  background: #ffffff !important;
  color: #000000 !important;
}

body.tool-page .card {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

body.tool-page .card h2,
body.tool-page .card h3,
body.tool-page .card p {
  color: #000000 !important;
}

body.tool-page label {
  color: #000000 !important;
}

body.tool-page .input {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #d1d5db !important;
}

body.tool-page .input:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

body.tool-page .button.primary {
  background: #1e3a8a !important;
  color: #ffffff !important;
  border: 2px solid #1e3a8a !important;
}

body.tool-page .button.primary:hover {
  background: #1e40af !important;
  border-color: #1e40af !important;
}

.card textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  outline: none;
}

/* Ensure all textarea fields have proper borders */
textarea {
  border: 2px solid #d1d5db !important;
  outline: none !important;
  background: #ffffff !important;
  color: #000000 !important;
}

textarea:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.button.primary {
  background: #1e40af;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.button.primary:hover {
  background: #1e3a8a;
  transform: translateY(-1px);
}

/* Download button styling - dark navy blue */
.btn-download, .download-btn, button[onclick*="download"], button[onclick*="Download"] {
  background: #0f172a !important;
  border: 2px solid #0f172a !important;
  color: #ffffff !important;
  font-weight: 600;
}

.btn-download:hover, .download-btn:hover, button[onclick*="download"]:hover, button[onclick*="Download"]:hover {
  background: #1e293b !important;
  border-color: #1e293b !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.3);
}

.button.secondary {
  background: #f3f4f6;
  color: #111827;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
}

.button.secondary:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

/* Responsive design for Claim Analysis Tools */
@media (max-width: 1024px) and (min-width: 769px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-header {
    padding: 7.5px 20px;
    min-height: 3.75vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 10px;
  }
  
  .card {
    width: 100%;
    max-width: 350px;
  }
  
  .card-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .button.primary,
  .button.secondary {
    width: 100%;
    text-align: center;
  }
}

/* ======== CLAIM NAVIGATOR GLOBAL FONT UPDATE ======== */

/* Import premium fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

/* Base text (body) */
body, html {
  font-family: 'Source Sans 3', sans-serif !important;
  font-weight: 400;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings, buttons, links */
h1, h2, h3, h4, h5, h6,
.card-title,
.section-title,
.header-title,
button, a, .nav a {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600;
  color: #1e3a8a;
  letter-spacing: 0.01em;
}

/* Buttons and UI elements */
button, .btn, a.button {
  font-weight: 500;
  text-transform: none;
}

/* Paragraphs and lists */
p, li, span {
  font-size: 1rem;
  line-height: 1.6;
  color: #1f2937;
}