/*
 * Copyright (C) 2026 Fluxer Contributors
 *
 * This file is part of Fluxer.
 *
 * Fluxer is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Fluxer is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Fluxer. If not, see <https://www.gnu.org/licenses/>.
 */

.container {
	--pins-popout-max-height: min(calc(100vh - 120px), 720px);
	--pins-popout-header-height: 68px;
	position: relative;
	display: flex;
	width: 480px;
	flex-direction: column;
	min-height: 200px;
	max-height: var(--pins-popout-max-height);
	overflow: hidden;
	border-radius: var(--radius-md);
	border: 1px solid var(--background-header-secondary);
	background-color: var(--background-primary);
}

.header {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 1rem;
	min-height: var(--pins-popout-header-height);
}

.body {
	flex: 1 1 0%;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	max-height: calc(var(--pins-popout-max-height) - var(--pins-popout-header-height));
}

.title {
	font-weight: 600;
	font-size: 1rem;
	color: var(--text-primary);
	line-height: 1.25;
}

.iconLarge {
	height: 24px;
	width: 24px;
	color: var(--text-primary-muted);
}
