@import url('https://use.typekit.net/hdi0vye.css');
:root {
	--bg: #181c1f;
	--accent: #cc0000;
	--muted: #2b2b2b;
	--text: #ddd;
}
/* Scrollbar globale */
::-webkit-scrollbar {
	width: 10px; /* largeur verticale */
	height: 10px; /* hauteur horizontale */
}

/* Piste (le fond) */
::-webkit-scrollbar-track {
	background: transparent; /* sans fond */
}

/* Curseur (le "bouton" de défilement) */
::-webkit-scrollbar-thumb {
	background-color: red; /* rouge vif */
	border-radius: 10px; /* arrondi */
}

/* Curseur au survol */
::-webkit-scrollbar-thumb:hover {
	background-color: #cc0000; /* rouge plus sombre au survol */
}
/* Scrollbar minimale rouge et arrondie */
* {
	scrollbar-width: thin; /* fine */
	scrollbar-color: red transparent; /* pouce rouge / fond transparent */
}

html,
body {
	background: var(--bg);
	color: var(--text);
	font-family: gotham, sans-serif;
}
.container {
	max-width: 1024px;
	margin: 0 auto;
	padding: 0 50px;
}
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 25px 0 50px 0;
}
header > img {
	height: 50px;
}
header > h2 {
	font-weight: 800;
	color: var(--accent);
	font-size: 28px;
	margin: 0;
}
main {
	display: block;
	padding-inline: 8vw;
}
.label {
	display: block;
	color: var(--accent);
	margin: 12px 0 6px;
	font-size: 13px;
}
.input {
	display: flex;
	padding: 12px 16px;
	border-radius: 24px;
	border: 1px solid #666;
	background: transparent;
	color: var(--text);
	outline: none;
	opacity: 0.8;
	transition: all 0.2s ease-in-out;
}
.input:focus {
	opacity: 1;
	border-color: var(--accent);
}
.row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-end;
	gap: 2rem;
	margin-bottom: 2rem;
}
.input-group {
	display: flex;
	align-items: stretch;
	flex-direction: column;
	flex: 1 1;
}
.btn {
	display: block;
	background: var(--accent);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	cursor: pointer;
	font-weight: 800;
	padding: 10px 15px;
	flex: 0 0;
	transition: all 0.2s ease-in-out;
}
button:disabled {
	pointer-events: none;
	cursor: initial;
	opacity: 0.66;
}
.btn:hover {
	opacity: 1;
	border: 1px solid rgba(255, 255, 255, 0);
}
.log-area {
	margin-top: 12px;
	border-radius: 12px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.03);
	min-height: 66vh;
	max-height: 420px;
	overflow: auto;
	border: 1px solid rgba(255, 255, 255, 0.03);

	display: flex;
	flex-direction: column;
}
#logList {
	list-style: none;
	padding-left: 8px;
	font-size: 13px;
	line-height: 1.5;
	color: #bbb;
	height: 100%; /* obligatoire */
	overflow-y: auto; /* obligatoire */

	flex: 1; /* s’adapte parfaitement */
	overflow-y: auto;
}
#logList li::before {
	content: '- ';
	color: #777;
	margin-right: 6px;
}
