div#content {
	background-color: #f7efda;
	border-style: solid;
	border-width: 0px;
	position: relative;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	height: 540px;
}

div.instructions {
	font-family: Georgia, "Bitstream Charter", serif;
	font-size: 0.85em;
	text-align: justify;
	background-color: transparent;
	border-style: solid;
	border-width: 0px;
	position: relative;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	width: 800px;
}

a {
	text-decoration: none;
}

div#header {
	height: 30px;
	text-align: center;
	margin-top: 0px;
	padding-top: 0px;
}

div#header h2 {
	font-size: 1.2em;
	margin-bottom: 0px;
	margin-top: 0px;
	line-height: 30px;
}

div#globe-container {
	background-color: #f7efda;
	position: absolute;
	top: 100px;
	left: 330px;
}

#sorry-message {
	display: block;
	text-align: center;
}

div#controls {
	position: absolute;
	top: 80px;
	left: 20px;
	font-size: 0.85em;
	height: 450px;
	width: 300px;
}

div#sliders {
	/* background-color: #ffe1e1; */
	width: 350px;	
	position: absolute;
	top: 50px;
	left: 10px;
}

.vertical-sliders {
	height: 350px;
	position: relative;
	float: left;
	margin-right: 60px;
}

.slider-label {
	position: absolute;
	top: 360px;
	left: -33px;
	width: 80px;
	height: 30px;
	text-align: center;
}

.slider-readout {
	position: absolute;
	top: -40px;
	left: -20px;
	width: 60px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	padding-right: 0px;
	font-size: .9 em;
	color: #999;	
}

#solar-constant-readout {
	background-color: rgba(255,196,0,0.20);
	border: 0px solid rgb(255,196,0);
}

#ice-albedo-readout {
	background-color: rgba(255,255,255,0.50);
	border: 0px solid rgb(255,255,255);
}

#land-albedo-readout {
	background-color: rgba(133,79,6,0.20);
	border: 0px solid rgb(133,79,6);
}

#greenhouse-readout {
	background-color: rgba(0,255,22,0.1);
	border: 0px solid rgb(0,255,22);
}

#solar-constant-slider .noUi-handle {
	background-color: rgba(255,196,0,0.42);
}

#ice-albedo-slider .noUi-handle {
	background-color: rgba(255,255,255,0.50);
}

#land-albedo-slider .noUi-handle {
	background-color: rgba(133,79,6,0.35);
}

#greenhouse-slider .noUi-handle {
	background-color: rgba(0,255,22,0.3);
}


#temp-labels-container {
	position: absolute;
	top: 0;
	right: -35px; /* ajusta distância do globo */
	height: 400px;
	width: 60px;
	pointer-events: none;
}

.temp-readouts {
	position: absolute;
	right: 0;
	font-size: 12px;
	color: #999;
	transform: translateY(-50%);
	white-space: nowrap;
	transition: all 0.2s ease;
}

#globe-svg rect {
	transition: fill 0.3s ease;
}

#avg-temp-number {
	position: static;
	font-weight: bold;
	margin-left: 5px;
}

#avg-temp-label {
	position: absolute;
	right: 70px;
	bottom: 14px;
	font-size: 0.9em;
	text-align: right;
	color: black;
}

#degrees-label {
	position: absolute;
	right: 15px;
	bottom: 475px;
	font-size: 0.9em;
	text-align: center;
	color: black;
}

.temp-scale-marker {
	font-size: 0.9em;
	text-align: center;
	color: #c9c9c9;
	border-color: #c9c9c9;
	border: solid;
	border-width: 1pt;
	border-radius: 2pt;
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.temp-scale-marker:hover {
	background-color: #efa656;
}

.temp-scale-marker .inactive {
	color: #c9c9c9;
	border-color: #c9c9c9;
}

.active {
	color: black;
	border-color: black;
}

#k-marker {
	position: absolute;
	right: 51px;
	bottom: 450px;
}

#c-marker {
	position: absolute;
	right: 30px;
	bottom: 450px;
}

#f-marker {
	position: absolute;
	right: 9px;
	bottom: 450px;
}

#reset {
	position: absolute;
	right: -80px;
	bottom: 0px;
	font-size: 0.9em;
	text-align: center;
	color: black;
	/* background-color: #f7efda; */
}

#globe-svg {
	max-width: 100%;
}

.temp-readouts {
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--bs-secondary-color); /* adapta automático ao tema */
}

.card {
	background-color: #f7efda;
	margin-bottom: 30px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
	height: 100%;
}

.card-header {
	background-color: #f7efda;
	padding: 10px 15px !important;
}

.card-body {
	padding: 12px 15px !important;
	display: flex;
	flex-direction: column;
}

.globe-wrapper {
	position: relative;
	width: 100%;
	max-width: 400px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
}

#temp-labels-container {
	position: absolute;
	top: 0;

	left: 100%;
	transform: translateX(-33px); /* 🔥 aproxima do globo */

	width: 15%;
	height: 100%;

	pointer-events: none;
	z-index: 10;
}

.temp-scale-buttons {
	position: relative;
	top: 5px;
}

#globe-3d {
	position: absolute;
	inset: 0;
	z-index: 1;
}

#globe-svg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.container-fluid {
	padding-bottom: 30px;
}

@media (max-width: 768px) {
	#temp-labels-container {
		left: auto;
		right: -55px;
		margin-left: 0;
	}
}

@media (max-width: 768px) {
	.card {
		height: auto;
	}
}