/* Phoenix3 page styles extracted from inline */

:root {
	--phoenix-bg: #0f1723;
	--phoenix-panel: #1a2433;
	--phoenix-panel-soft: #121c2a;
	--phoenix-text-main: #c4cfdd;
	--phoenix-text-strong: #f2f6fb;
	--phoenix-accent: #f9cb7c;
	--phoenix-accent-strong: #e5b261;
	--phoenix-border: #2b3b52;
}

body {
	color: var(--phoenix-text-main);
	font-family: "Segoe UI", "Trebuchet MS", Tahoma, sans-serif;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

rect.highcharts-background {
	fill: rgb(46 37 25 / 0%);
}

/* Keep heading case as authored and improve heading readability. */
h1,
h2,
h3,
h4,
h5,
h6 {
	text-transform: none !important;
	font-family: "Segoe UI", "Trebuchet MS", Tahoma, sans-serif !important;
	color: var(--phoenix-text-strong);
	line-height: 1.35;
	letter-spacing: 0.01em;
}

h2,
h3,
h4 {
	margin-top: 1.35rem;
	margin-bottom: 0.75rem;
}

h2 {
	color: #ffe8be;
	padding-bottom: 0.3rem;
	border-bottom: 1px solid rgb(249 203 124 / 34%);
}

h3 {
	color: #ffdca0;
}

h4 {
	color: #ffd494;
}

h5,
h6 {
	margin-top: 1rem;
	margin-bottom: 0.55rem;
}

/* Accordion */
.accordion {
	background: linear-gradient(135deg, #d8d2c7 0%, #c9c2b7 100%);
	color: #122033;
	cursor: pointer;
	padding: 16px 18px;
	width: 100%;
	text-align: left;
	border: 1px solid #b8b1a7;
	outline: none;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
	border-radius: 10px;
	margin-bottom: 7px;
	margin-top: 7px;
	font-size: 1.06rem;
	font-weight: 700;
}

.accordion:focus-visible {
	box-shadow: 0 0 0 3px rgb(249 203 124 / 30%);
}

.accordion.active,
.accordion:hover {
	background: linear-gradient(135deg, var(--phoenix-accent) 0%, var(--phoenix-accent-strong) 100%);
	color: #1b2432;
	cursor: pointer;
	transform: translateY(-1px);
}

/* Accordion panel */
.panel {
	background-color: var(--phoenix-panel);
	border: 1px solid #3b4d65;
	border-top: 1px solid rgb(249 203 124 / 20%);
	border-radius: 10px;
	padding: 16px 20px 18px;
	display: none;
	overflow: hidden;
	box-shadow: 0 8px 22px rgb(0 0 0 / 14%);
}

.panel-open {
	display: block;
}

.panel-dark {
	background: var(--phoenix-panel-soft);
}

/* Legend */
.legend {
	width: 90%;
	height: 50%;
	position: absolute;
	padding: 8px;
	font-size: 16px;
	text-align: left;
	z-index: 1000;
	pointer-events: none;
	color: #d8e1ed;
	font-family: Consolas, "Courier New", monospace;
}

/* Tables */
.phoenix-table {
	border-width: 3px;
	border-color: #0f172308;
	background: #182131;
	vertical-align: middle;
	margin-bottom: 0;
	text-align: center;
	color: #d7e0ec;
	font-family: "Lucida Console", "Courier New", monospace;
}

.phoenix-table th {
	border-width: 3px;
	color: #eef3f9;
	padding: 0;
	border-radius: 0 !important;
}

.phoenix-table td {
	border-width: 3px;
	color: #d7e0ec;
	border-radius: 0 !important;
	padding: 0;
	border-bottom-width: 1px;
}

.phoenix-table td:hover {
	background-color: rgb(249 203 124 / 24%);
}

.phoenix-table tr:hover {
	border-width: 3px;
	padding: 0;
	background-color: rgb(249 203 124 / 24%);
	color: #fff;
}

.table-responsive table {
	width: 100%;
	border-collapse: collapse;
	background: #151f2d;
	border: 1px solid rgb(255 255 255 / 7%);
	border-radius: 10px;
	overflow: hidden;
}

.table-responsive th,
.table-responsive td {
	padding: 4px 8px;
	border: 0;
	border-bottom: 1px solid rgb(255 255 255 / 6%);
	color: var(--phoenix-text-main);
	line-height: 1.2;
	vertical-align: top;
}

.table-responsive tbody tr:last-child td {
	border-bottom: 0;
}

.table-responsive th {
	background: #1f2b3d;
	color: #f0f5fb;
	font-weight: 700;
}

.table-responsive tr:nth-child(even) td {
	background: #182334;
}

.table-responsive tr:hover td {
	background: rgb(249 203 124 / 16%);
}

/* Utilities */
.fw-normal {
	font-weight: normal;
}

.text-white {
	color: #fff;
}

.phoenix-text {
	color: var(--phoenix-text-main);
	font-weight: 400;
	font-size: 1.03rem;
	line-height: 1.72;
	text-wrap: pretty;
}

.panel>p,
.panel>ul,
.panel>ol,
.panel>.table-responsive,
ul,
ol {
	max-width: 1050px;
}

li.phoenix-text {
	margin-bottom: 0.42rem;
}

.d-flex {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.btn-transparent {
	color: #d6e0ec;
	background-color: #1f2b3d;
	border: 1px solid #3a4f6b;
	border-radius: 8px;
	padding: 8px 12px;
	font-weight: 600;
	line-height: 1.2;
}

.btn-transparent:hover {
	background-color: #3d4a5f;
	border-color: rgb(249 203 124 / 55%);
	color: #fff;
}

a {
	color: #f9cb7c;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: #ffd99e;
}

code {
	background: #121b29;
	border: 1px solid #2a3b54;
	border-radius: 6px;
	padding: 1px 6px;
	color: #d7e6f8;
}

hr {
	border: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgb(249 203 124 / 75%) 50%, transparent 100%);
}

.w-100 {
	width: 100%;
}

.note-xs {
	font-size: xx-small;
	margin-top: 0;
}

@media (max-width: 900px) {
	.accordion {
		font-size: 0.98rem;
		padding: 14px 14px;
	}

	.panel {
		padding: 14px 14px 16px;
	}

	.phoenix-text,
	.table-responsive th,
	.table-responsive td {
		font-size: 0.96rem;
	}

	.phoenix-chart-500 {
		height: 420px;
	}

	.phoenix-chart-350 {
		height: 310px;
	}
}

@media (max-width: 560px) {
	h2 {
		font-size: 1.45rem;
	}

	h3 {
		font-size: 1.2rem;
	}

	h4 {
		font-size: 1.06rem;
	}

	.legend {
		font-size: 14px;
		padding: 6px;
	}

	.phoenix-chart-500 {
		height: 360px;
	}

	.phoenix-chart-350 {
		height: 270px;
	}
}

/* Charts */
.phoenix-chart {
	width: 100%;
	position: relative;
	border: 1px solid var(--phoenix-border);
	border-radius: 10px;
	overflow: hidden;
	background: #151f2d;
}

.phoenix-chart-500 {
	height: 500px;
}

.phoenix-chart-350 {
	height: 350px;
}

/* Indicator legend colors */
.color-strong-buy {
	color: #55bf3b;
}

.color-buy {
	color: #b9db6e;
}

.color-neutral {
	color: #d3d3d3;
}

.color-sell {
	color: #de8787;
}

.color-strong-sell {
	color: #df5353;
}


.phoenix-cta-wrap {
	margin: 12px 0 22px;
	padding: 14px;
	border-radius: 14px;
	background: linear-gradient(130deg, rgba(33, 44, 60, 0.92), rgba(17, 24, 34, 0.92));
	border: 1px solid rgba(249, 203, 124, 0.35);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.phoenix-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.phoenix-btn {
	border: 1px solid rgba(249, 203, 124, 0.7);
	background: rgba(249, 203, 124, 0.08);
	color: #f9cb7c;
	border-radius: 10px;
	padding: 10px 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.phoenix-btn:hover {
	background: #03838787;
	color: #f9cb7c;
}

.phoenix-btn-solid {
	background: #f9cb7c;
	color: #1b2330;
	border-color: #f9cb7c;
}

.phoenix-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 16px;
}

.phoenix-modal.is-open {
	display: flex;
}

.phoenix-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 7, 12, 0.78);
	backdrop-filter: blur(2px);
}

.phoenix-modal-card {
	position: relative;
	width: min(680px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 18px;
	border-radius: 14px;
	border: 1px solid rgba(249, 203, 124, 0.35);
	background: linear-gradient(160deg, #1b2533, #121924);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.phoenix-modal-title {
	margin-bottom: 4px;
	color: #f9cb7c;
	font-weight: 700;
}

.phoenix-modal-subtitle {
	color: #d8e0ec;
	margin-bottom: 12px;
}

.phoenix-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.phoenix-form-grid label {
	color: #d8e0ec;
	font-size: 0.95rem;
}

.phoenix-form-control {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	line-height: 1.35;
	border-radius: 8px;
	border: 1px solid rgba(249, 203, 124, 0.28);
	background: rgba(17, 24, 34, 0.85);
	color: #ffffff;
	padding: 9px 11px;
}

.phoenix-form-control:focus {
	outline: none;
	border-color: #f9cb7c;
	box-shadow: 0 0 0 2px rgba(249, 203, 124, 0.18);
}

.phoenix-modal-actions {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	flex-wrap: wrap;
}

.phoenix-btn[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.phoenix-form-hint {
	margin-top: 10px;
	color: #a7b7cc;
	font-size: 0.92rem;
}

.phoenix-form-error {
	color: #ff9ea3;
	margin-top: 10px;
	display: none;
}

.phoenix-form-success {
	color: #9ef3b0;
	margin-top: 10px;
	display: none;
}

.phoenix-form-field {
	display: block;
}

.phoenix-field-error {
	display: none;
	margin-top: 4px;
	color: #ff9ea3;
	font-size: 0.86rem;
}

.phoenix-form-control.is-invalid {
	border-color: #ff7f88;
	box-shadow: 0 0 0 2px rgba(255, 127, 136, 0.18);
}

.phoenix-form-control.is-valid {
	border-color: #75d48e;
	box-shadow: 0 0 0 2px rgba(117, 212, 142, 0.18);
}

.phoenix-dropdown {
	position: relative;
}

.phoenix-dropdown-input {
	padding-right: 44px;
	cursor: pointer;
}

.phoenix-dropdown-toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #f9cb7c;
	font-size: 14px;
	cursor: pointer;
}

.phoenix-dropdown-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	display: none;
	z-index: 10020;
	padding: 6px;
	border-radius: 10px;
	border: 1px solid rgba(249, 203, 124, 0.35);
	background: #ffffff;
	box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
	max-height: 220px;
	overflow-y: auto;
}

.phoenix-dropdown.is-open .phoenix-dropdown-menu {
	display: block;
}

.phoenix-dropdown-item {
	display: block;
	width: 100%;
	text-align: left;
	border: 0;
	border-radius: 8px;
	background: #ffffff;
	color: #111827;
	padding: 9px 10px;
	font-size: 0.95rem;
	cursor: pointer;
}

.phoenix-dropdown-item:hover,
.phoenix-dropdown-item:focus {
	background: #eef3fa;
	outline: none;
}

.phoenix-btn.is-success {
	animation: phoenixPulse 0.55s ease;
}

.phoenix-btn.is-error {
	animation: phoenixShake 0.38s ease;
}

@keyframes phoenixPulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.04);
	}

	100% {
		transform: scale(1);
	}
}

@keyframes phoenixShake {
	0% {
		transform: translateX(0);
	}

	25% {
		transform: translateX(-3px);
	}

	50% {
		transform: translateX(3px);
	}

	75% {
		transform: translateX(-2px);
	}

	100% {
		transform: translateX(0);
	}
}

.phoenix-form-control {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 9px 11px;
	border-radius: 8px;
	border: 1px solid rgba(249, 203, 124, 0.35);
	background: rgba(17, 24, 34, 0.95);
	color: #f3f6ff;
	line-height: 1.35;
}

.phoenix-form-control:focus {
	outline: none;
	border-color: #f9cb7c;
	box-shadow: 0 0 0 2px rgba(249, 203, 124, 0.18);
}
