/* ==========================================================================
   jOpenAgent, www.jopenagent.org
   Base template kept from the original site, extended with a small design
   system for a framework/documentation site (cards, code blocks, tables).
   ========================================================================== */

:root {
	--brand: #4f276d;
	--brand-dark: #3c1d54;
	--brand-light: #7b4fa3;
	--brand-tint: #f5f0fa;
	--java: #f89820;
	--ink: #1c1622;
	--muted: #515151;
	--line: #e5e5e5;
	--code-bg: #211b29;
	--code-bg-alt: #2b2334;
}

* { margin: 0; padding: 0; }

body {
	font-size: 13pt;
	font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding-top: 70px;
	-webkit-font-smoothing: antialiased;
}

.container { display: block !important; }

h1, #content_wrapper h1 { font-size: 26px; font-weight: bold; }
p, ul { color: #222222; }
h1 { color: var(--brand); }
h2 { font-size: 15pt; color: black; font-weight: bold; }
h3 { font-size: 13pt; color: var(--ink); font-weight: 500; }
a { color: var(--brand); }
a:hover, a:focus { color: var(--brand-dark); }

.t1 { font-size: 14pt; color: black; font-weight: bold; margin-left: 10px; }
.bggrey { background-color: #fafafa; }
.p1 { border: 0; margin-left: 0; margin-right: 0; padding: 15px; }

ul { padding-top: 6px; list-style-type: none; line-height: 21px; }
.underline { border-bottom: 1px solid #8f9aa5; clear: both; }

img { max-width: 100%; height: auto; }
.shot {
	max-width: 100%;
	height: auto;
	border: 1px solid var(--line);
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(79, 39, 109, 0.12);
	margin-top: 10px;
}
.feature-row { margin-bottom: 60px; }
.feature-row .lead { color: var(--muted); }
.feature-row h1 { margin-top: 10px; }
.p1 p { min-height: 60px; }
.hero-lead { color: var(--muted); font-size: 15pt; }
.section-sub {
	color: #888;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 11pt;
	font-weight: 500;
	margin-bottom: 4px;
}
@media (max-width: 767px) {
	.feature-row { margin-bottom: 40px; }
	.p1 p { min-height: 0; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.cta-wrap { margin-top: 22px; }
.btn-cta {
	display: inline-block;
	background-color: var(--brand);
	color: #ffffff !important;
	font-weight: 500;
	font-size: 14pt;
	text-decoration: none;
	padding: 12px 28px;
	border-radius: 6px;
	border: 1px solid var(--brand);
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 6px 18px rgba(79, 39, 109, 0.20);
}
.btn-cta:hover, .btn-cta:focus {
	background-color: var(--brand-dark);
	color: #ffffff !important;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(79, 39, 109, 0.30);
}
.btn-cta.secondary {
	background-color: transparent;
	color: var(--brand) !important;
	box-shadow: none;
	margin-left: 10px;
}
.btn-cta.secondary:hover, .btn-cta.secondary:focus {
	background-color: var(--brand-tint);
	color: var(--brand) !important;
}
.btn-cta.onwhite {
	background-color: #ffffff;
	border-color: #ffffff;
	color: var(--brand) !important;
}
.btn-cta.onwhite:hover, .btn-cta.onwhite:focus {
	background-color: #f1e9f8;
	color: var(--brand-dark) !important;
}
.btn-cta.ghost {
	background-color: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: #ffffff !important;
	box-shadow: none;
	margin-left: 10px;
}
.btn-cta.ghost:hover, .btn-cta.ghost:focus {
	background-color: rgba(255, 255, 255, 0.12);
	color: #ffffff !important;
}
.btn-sm { font-size: 11.5pt; padding: 9px 20px; }
@media (max-width: 767px) {
	.btn-cta.secondary, .btn-cta.ghost { margin-left: 0; margin-top: 12px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	background: linear-gradient(150deg, #2a1440 0%, #4f276d 55%, #6b3a8e 100%);
	color: #ffffff;
	padding: 54px 0 46px;
	margin: -20px 0 50px;
	border-bottom: 3px solid var(--java);
}
.hero h1 {
	color: #ffffff;
	font-size: 40px;
	line-height: 1.18;
	letter-spacing: -0.5px;
	margin-bottom: 18px;
}
.hero .hero-lead { color: rgba(255, 255, 255, 0.88); font-size: 15pt; line-height: 1.55; }
.hero .eyebrow {
	display: inline-block;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff;
	border-radius: 100px;
	padding: 5px 15px;
	font-size: 10.5pt;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.hero .eyebrow b { color: var(--java); font-weight: 500; }
.hero-meta {
	margin-top: 26px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 11pt;
}
.hero-meta span { margin-right: 18px; white-space: nowrap; display: inline-block; }
.hero-meta b { color: #ffffff; font-weight: 500; }
@media (max-width: 767px) {
	.hero h1 { font-size: 29px; }
	.hero { padding: 34px 0 32px; }
}

.page-head { margin-bottom: 34px; }
.page-head h1 { font-size: 32px; margin-bottom: 12px; }

/* --------------------------------------------------------------------------
   Code blocks
   -------------------------------------------------------------------------- */
code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 10.5pt;
	background-color: #f4f1f7;
	color: #55306f;
	padding: 1px 5px;
	border-radius: 3px;
}
pre code { background: none; color: inherit; padding: 0; font-size: inherit; }

/* Code blocks use the Eclipse Java editor palette on a white background. */
.codebox {
	background: #ffffff;
	border: 1px solid #d9d2e0;
	border-radius: 6px;
	overflow: hidden;
	margin: 0 0 22px;
	box-shadow: 0 4px 14px rgba(28, 22, 34, 0.07);
	text-align: left;
}
.codebox .codehead {
	background: #f4f1f7;
	color: #5c5266;
	font-size: 10pt;
	padding: 8px 14px;
	border-bottom: 1px solid #e4dded;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.codebox .codehead .tag {
	color: #92879c;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 8.5pt;
	font-family: Roboto, sans-serif;
}
.codebox pre {
	margin: 0;
	padding: 14px 16px;
	background: #ffffff;
	border: 0;
	border-radius: 0;
	color: #000000;
	font-family: Consolas, "SFMono-Regular", "Liberation Mono", "Courier New", monospace;
	font-size: 10.5pt;
	line-height: 1.55;
	overflow-x: auto;
	white-space: pre;
	tab-size: 4;
}
/* Inside the dark hero, keep the white editor but soften its edge. */
.hero .codebox { border-color: rgba(255, 255, 255, 0.35); box-shadow: 0 14px 34px rgba(20, 10, 32, 0.35); }

/* Eclipse "Java Editor > Syntax Coloring" defaults */
.tok-key { color: #7f0055; font-weight: bold; }   /* Keywords          */
.tok-str { color: #2a00ff; }                      /* Strings           */
.tok-com { color: #3f7f5f; }                      /* Comments          */
.tok-doc { color: #3f5fbf; }                      /* Javadoc           */
.tok-ann { color: #646464; }                      /* Annotations       */
.tok-fld { color: #0000c0; }                      /* Fields            */
.tok-num, .tok-typ, .tok-fn { color: #000000; }   /* Eclipse leaves these plain */

/* Eclipse "XML Editor > Syntax Coloring" defaults */
.tok-tag { color: #3f7f7f; }
.tok-att { color: #7f007f; }

/* A quieter variant for secondary snippets */
.codebox.light { box-shadow: none; border-color: #e4dded; }
.codebox.light .codehead { background: #fafafa; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
	background: #ffffff;
	border: 1px solid #ececf0;
	border-radius: 8px;
	padding: 22px 24px;
	margin-bottom: 24px;
	height: 100%;
	transition: box-shadow 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.card:hover { box-shadow: 0 10px 26px rgba(79, 39, 109, 0.10); border-color: #ddd3e6; transform: translateY(-2px); }
.card h2, .card h3 { margin-bottom: 8px; font-size: 13.5pt; color: var(--ink); font-weight: 500; }
.card p { color: var(--muted); font-size: 12pt; line-height: 1.55; margin: 0; }
.card p + p { margin-top: 10px; }
.card .num {
	display: inline-block;
	width: 30px; height: 30px; line-height: 30px;
	border-radius: 6px;
	background: var(--brand-tint);
	color: var(--brand);
	text-align: center;
	font-weight: bold;
	font-size: 11.5pt;
	margin-bottom: 12px;
}
.card code { font-size: 9.8pt; }
.card-grid { margin-bottom: 20px; }
.card-grid .col-md-4, .card-grid .col-md-6, .card-grid .col-sm-6 { margin-bottom: 4px; }
.card.flat { background: #fafafa; border-color: #eee; }
.card.flat:hover { transform: none; }

.eq {
	display: block;
	font-size: 10.5pt;
	color: #8a7d97;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px dashed #e6e0ec;
}
.eq b { color: var(--brand); font-weight: 500; }

/* --------------------------------------------------------------------------
   Callouts
   -------------------------------------------------------------------------- */
.note {
	background-color: var(--brand-tint);
	border-left: 4px solid var(--brand);
	padding: 14px 20px;
	border-radius: 4px;
	margin: 18px 0;
	color: var(--muted);
	font-size: 12pt;
	line-height: 1.55;
}
.note strong { color: var(--brand); }
.note.warn { background-color: #fff7ec; border-left-color: var(--java); }
.note.warn strong { color: #b46b06; }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.tbl-wrap { overflow-x: auto; margin: 22px 0 10px; -webkit-overflow-scrolling: touch; }
table.cmp {
	width: 100%;
	border-collapse: collapse;
	font-size: 11.5pt;
	min-width: 760px;
	background: #fff;
}
table.cmp th, table.cmp td {
	border-bottom: 1px solid #ececf0;
	padding: 12px 14px;
	text-align: left;
	vertical-align: top;
	color: var(--muted);
}
table.cmp thead th {
	background: #faf8fc;
	color: var(--ink);
	font-weight: 500;
	border-bottom: 2px solid #e2d8ea;
	font-size: 11pt;
}
table.cmp thead th.us { background: var(--brand); color: #fff; border-bottom-color: var(--brand-dark); }
table.cmp tbody td.us { background: #faf6fd; color: var(--ink); font-weight: 500; }
table.cmp tbody th {
	font-weight: 500;
	color: var(--ink);
	background: #fcfbfd;
	white-space: nowrap;
}
table.cmp tbody tr:hover td { background: #fbf9fd; }
table.cmp tbody tr:hover td.us { background: #f4ebfa; }
.yes { color: #1f8a4c; font-weight: 500; }
.no { color: #a94442; }
.partial { color: #b46b06; }
table.cmp code { font-size: 9.8pt; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.step { display: flex; align-items: flex-start; margin-bottom: 30px; }
.step .num {
	flex: 0 0 42px;
	width: 42px; height: 42px;
	border-radius: 50%;
	background-color: var(--brand);
	color: #fff;
	font-weight: bold;
	font-size: 17px;
	text-align: center;
	line-height: 42px;
	margin-right: 18px;
}
.step .body { flex: 1 1 auto; min-width: 0; }
.step .body h2 { margin-bottom: 8px; font-size: 14pt; }
.step .body p { color: var(--muted); margin-bottom: 10px; }
@media (max-width: 767px) {
	.step { display: block; }
	.step .num { margin-bottom: 12px; }
}

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */
.urlbox {
	display: inline-block;
	background-color: #fafafa;
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 10px 16px;
	font-family: Consolas, "Courier New", monospace;
	font-size: 12pt;
	color: var(--brand);
	word-break: break-all;
}
.pill {
	display: inline-block;
	background: var(--brand-tint);
	color: var(--brand);
	border-radius: 100px;
	padding: 3px 12px;
	font-size: 9.5pt;
	font-weight: 500;
	letter-spacing: 0.3px;
	margin: 0 6px 6px 0;
}
.pill.java { background: #fff4e5; color: #a86412; }
.pill.zero { background: #e9f7ee; color: #1f8a4c; }

.stat-row { margin: 10px 0 40px; }
.stat {
	text-align: center;
	padding: 18px 10px;
	border-right: 1px solid #ededf1;
}
.stat:last-child { border-right: 0; }
.stat .big { display: block; font-size: 30px; font-weight: bold; color: var(--brand); line-height: 1.1; }
.stat .lbl { display: block; color: #8a7d97; font-size: 10.5pt; margin-top: 6px; letter-spacing: 0.3px; }
@media (max-width: 767px) { .stat { border-right: 0; border-bottom: 1px solid #ededf1; } }

.split { background: #fafafa; border-top: 1px solid #f0f0f3; border-bottom: 1px solid #f0f0f3; padding: 46px 0; margin: 0 0 56px; }
.split.dark { background: var(--ink); border-color: var(--ink); color: #e6e0ec; }
.split.dark h1 { color: #fff; }
.split.dark .lead, .split.dark p { color: #b8adc4; }
.split.dark .section-sub { color: #8d7f9c; }

.tick { list-style: none; padding-left: 0; }
.tick li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
	color: var(--muted);
	line-height: 1.55;
	font-size: 12pt;
}
.tick li:before {
	content: "";
	position: absolute;
	left: 4px; top: 7px;
	width: 7px; height: 12px;
	border: solid var(--brand);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.tick.light li { color: #b8adc4; }
.tick.light li:before { border-color: var(--java); }
.tick.cross li:before {
	border: 0;
	left: 2px; top: 4px;
	width: 14px; height: 14px;
	transform: none;
	color: #b0838a;
	content: "\00d7";
	font-size: 17px;
	line-height: 14px;
	font-weight: bold;
}

.anchor-nav {
	background: #faf8fc;
	border: 1px solid #efe9f4;
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 36px;
	font-size: 11.5pt;
}
.anchor-nav a { color: var(--brand); text-decoration: none; margin-right: 20px; display: inline-block; padding: 3px 0; }
.anchor-nav a:hover { text-decoration: underline; }

.dl-card {
	display: block;
	border: 1px solid #ececf0;
	border-radius: 8px;
	padding: 22px 24px;
	margin-bottom: 22px;
	text-decoration: none !important;
	background: #fff;
	transition: box-shadow 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.dl-card:hover { box-shadow: 0 10px 26px rgba(79, 39, 109, 0.10); border-color: #ddd3e6; transform: translateY(-2px); }
.dl-card .flag {
	display: inline-block;
	vertical-align: middle;
	margin-right: 12px;
	background: var(--brand);
	color: #fff;
	font-size: 11pt;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1;
	padding: 8px 10px;
	border-radius: 5px;
}
.dl-card h2 { display: inline-block; vertical-align: middle; color: var(--brand); font-size: 14pt; margin: 0; }
.dl-card p { color: var(--muted); margin: 12px 0 0; font-size: 11.5pt; }
.dl-card .meta { color: #8a7d97; font-size: 10.5pt; margin-top: 10px; display: block; }

.ex-list { margin-top: 10px; }
.ex-list .row-ex {
	display: flex;
	align-items: baseline;
	padding: 11px 0;
	border-bottom: 1px solid #f1eff4;
	font-size: 11.5pt;
}
.ex-list .row-ex .id {
	flex: 0 0 62px;
	font-family: Consolas, monospace;
	color: var(--brand);
	font-weight: 500;
}
.ex-list .row-ex .nm { flex: 0 0 41%; color: var(--ink); padding-right: 14px; }
.ex-list .row-ex .dt { flex: 1 1 auto; color: #8a7d97; font-size: 10.5pt; }
@media (max-width: 991px) {
	.ex-list .row-ex { display: block; }
	.ex-list .row-ex .id { display: inline-block; min-width: 44px; }
	.ex-list .row-ex .nm { display: inline; padding-right: 0; font-weight: 500; }
	.ex-list .row-ex .dt { display: block; margin-top: 3px; padding-left: 44px; }
}

/* --------------------------------------------------------------------------
   Navbar / footer (kept from template)
   -------------------------------------------------------------------------- */
.navbar-inverse { background-color: #ffffff; /*border-color: #ffffff;*/ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05); }
.navbar-nav a { color: var(--brand) !important; text-decoration: none; }
.navbar-nav a:hover { color: #000000 !important; }
.navbar-nav > .active > a, .navbar-nav > .active > a:hover { background-color: var(--brand) !important; color: #ffffff !important; }
.navbar-toggle { background-color: var(--brand); }
.navbar-toggle .icon-bar { background-color: #ffffff; }
.navbar-brand-txt {
	float: left;
	font-size: 21px;
	font-weight: 500;
	color: var(--brand);
	line-height: 50px;
	padding: 0 12px;
	text-decoration: none !important;
}
.navbar-brand-txt b { font-weight: 700; }
.navbar-brand-txt:hover { color: var(--brand-dark); }
#nav-toggle-cb { display: none; }
@media (max-width: 767px) {
	#navbar.navbar-collapse { display: none; }
	#nav-toggle-cb:checked ~ #navbar.navbar-collapse { display: block; }
}

#footer {
	font-size: 12px;
	border-top: solid 1px var(--line);
	clear: both;
	background-color: #fafafa;
	margin: 60px 0 0;
	padding-top: 34px;
	padding-bottom: 10px;
}
#footer h1 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; margin: 6px 0 10px; color: #7d7189; font-weight: 500; }
#footer li { margin-bottom: 4px; line-height: 19px; list-style-type: none; }
#footer ul { padding-top: 0; }
#footer ul a { font-size: 12.5px; color: #666; text-decoration: none; }
#footer ul a:hover { color: var(--brand); text-decoration: underline; }
#footer p { margin-top: 1em; color: #666; text-align: center; font-size: 0.91em; }
#footer .foot-note { color: #8a8a8a; font-size: 11.5px; line-height: 1.6; text-align: left; }
#footer img { vertical-align: middle; }
#footer .foot-bottom { border-top: 1px solid #ececec; margin-top: 22px; padding-top: 8px; }
