/* DASHBOARD LAYOUT */
.dashb, .dashb > .column {
	display: flex;
	flex-wrap: nowrap;
	gap: 2rem;
}

.dashb {
	flex-direction: row;
}

.dashb > .column {
	flex-direction: column;
	justify-content: stretch;
}


/* COLUMNS */
.dashb > .column.column-left {
	width: 22rem;
}
.dashb > .column.column-right {
	flex-grow: 1;
}


/* PANEL */
.dashb .panel {
	position: relative;
	max-width: unset;
}

.dashb .panel.panel-wip::before {
	content: "🚧 in arbeit 🚧";
	
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
	font-size: 1.5rem;
	text-align: center;
	align-content: center;
	color: var(--color-gray-2);
	text-transform: uppercase;
	filter: grayscale(100%);
	background-color: var(--color-bg-2-alpha90);
	z-index: 1023;
}


/* PANEL: WEATHER */
.dashb .panel.panel-weather {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 1rem;
}

.dashb .panel.panel-weather .weather-row {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0.5rem;
}
.dashb .panel.panel-weather .weather-row.has-columns {
	flex-direction: row;
	gap: 1rem;
}
.dashb .panel.panel-weather .weather-column {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 0.5rem;
}

.dashb .panel.panel-weather .weather-row-overview {
	padding: 2rem 2rem 1rem 2rem;
	gap: 1.5rem;
}

.dashb .panel.panel-weather .weather-temp-container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-start;
	gap: 0.25rem;
	
	line-height: 0.7;
	color: var(--color-theme);
}
.dashb .panel.panel-weather .weather-temp-container .weather-temp {
	font-size: 5rem;
	font-weight: 200;
}
.dashb .panel.panel-weather .weather-temp-container .weather-temp-unit {
	font-size: 1.5rem;
}

.dashb .panel.panel-weather .weather-type-container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
}
.dashb .panel.panel-weather .weather-type-container .weather-type-icon {
	font-size: 1.5rem;
}
.dashb .panel.panel-weather .weather-type-container .weather-type-text {
	font-size: 1.5rem;
}

.dashb .panel.panel-weather .weather-column-wind {
	flex-grow: 1;
	align-items: center;
}
.dashb .panel.panel-weather .weather-column-wind .windrose {
	position: relative;
	display: flex;
	height: 8rem;
	width: 8rem;
	margin: 0.75rem; /* pointer height */
}
.dashb .panel.panel-weather .weather-column-wind .windrose::before {
	position: absolute;
	top: 0.5rem;
	left: 50%;
	transform: translate(-50%, 0);
	
	content: "N";
	font-size: 0.8rem;
	color: var(--color-gray);
	z-index: 16;
}

.dashb .panel.panel-weather .weather-column-wind .windrose .pointer {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	
	transition: transform 0.5s ease-in-out;
}
.dashb .panel.panel-weather .weather-column-wind .windrose .pointer::before {
	content: "";
	position: absolute;
	top: -0.35rem; /* makes height = 0.75rem */
	left: 50%;
	margin-left: -1rem;
	width: 2rem;
	height: 2rem;
	
	background-color: var(--color-theme);
	transform: rotate(45deg);
	transition: top 0.5s ease-in-out;
}
.dashb .panel.panel-weather .weather-column-wind .windrose .pointer.pointer-retracted::before {
	top: 0.5rem; /* barely retracted plus some buffer */
}

.dashb .panel.panel-weather .weather-column-wind .windrose .inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	
	width: 100%;
	height: 100%;
	
	border-radius: 50%;
	background-color: var(--color-bg-3);
	border: 0.25rem solid var(--color-bg-2);
	z-index: 8;
	overflow: hidden;
}

.dashb .panel.panel-weather .weather-column-wind .windrose .content {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.5rem;
}
.dashb .panel.panel-weather .weather-column-wind .windrose .explainer {
	font-size: 0.8rem;
	color: var(--color-gray);
}
.dashb .panel.panel-weather .weather-column-wind .windrose .explainer span {
	font-size: inherit;
}


/* MAP */
.dashb .panel.panel-map {
	min-height: 16rem;
	height: 64rem;
	max-height: calc(100vh - var(--nav-height) - 4rem);
	padding: 0;
}
.dashb .panel.panel-map .container {
	height: 100%;
	width: 100%;
}

.dashb .panel.panel-map .container span {
	display: initial;
}


/* DEBUG VIEW */
.panel.panel-debug {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: flex-start;
	align-items: flex-start;
	
	max-width: unset;
	
	border-color: var(--color-green);
	background-color: var(--color-green-alpha07);
}
.panel.panel-debug .block {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0.75rem;
	
	padding: 0.75rem;
	
	border-radius: 0.5rem;
	background-color: var(--color-bg-3);
}
.panel.panel-debug .block .space-reserver {
	margin-bottom: -0.5rem;
	height: 0;
}
.panel.panel-debug .block .name {
	align-self: center;
}
