/*
 * 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 {
	position: relative;
	display: flex;
	height: 100%;
	min-height: 0;
	width: 100%;
	flex-direction: column;
	overflow: hidden;
	background-color: var(--background-primary);
}

.banner {
	position: relative;
	height: 184px;
	width: 100%;
	overflow: hidden;
}

.bannerImage {
	height: 100%;
	width: 100%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.bannerDefault {
	height: 100%;
	width: 100%;
	background-color: var(--brand-primary);
}

.profile {
	position: relative;
	background-color: var(--background-primary);
}

.avatarButton {
	position: absolute;
	left: 1rem;
	top: -40px;
	border: 4px solid var(--background-primary);
	background-color: var(--background-primary);
	border-radius: 9999px;
	width: fit-content;
}

.content {
	padding-left: 1rem;
	padding-right: 1rem;
	padding-top: 3rem;
}

.actions {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 10;
	display: flex;
	gap: 0.5rem;
}

.settingsButton {
	display: flex;
	height: 2.5rem;
	width: 2.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background-color: var(--background-tertiary);
	color: var(--text-primary);
}

.settingsIcon {
	height: 1.25rem;
	width: 1.25rem;
}

.userInfo {
	margin-top: 0.75rem;
}

.usernameRow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	min-width: 0;
}

.username {
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 2rem;
	color: var(--text-primary);
	word-break: break-word;
	overflow-wrap: break-word;
}

.tagBadgeRow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.375rem;
	min-width: 0;
}

.fullTag {
	font-weight: 500;
	color: var(--text-tertiary);
}

.badgesWrapper {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.customStatusRow {
	margin-top: 0.25rem;
}

.customStatusText {
	font-size: 0.875rem;
	color: var(--text-secondary);
}

.customStatusRow:hover .customStatusText,
.customStatusRow:active .customStatusText {
	--emoji-show-animated: 1;
}

.editButton {
	margin-top: 1rem;
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 0.75rem;
	background-color: var(--brand-primary);
	padding: 0.75rem 1rem;
}

.editIcon {
	height: 1.25rem;
	width: 1.25rem;
	color: white;
}

.editLabel {
	font-weight: 500;
	color: white;
}

.section {
	margin-top: 1rem;
	border-radius: 0.75rem;
	background-color: var(--background-secondary);
	padding: 1rem;
}

.sectionHeader {
	margin-bottom: 0.75rem;
}

.sectionTitle {
	margin-bottom: 0.5rem;
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--text-primary);
}

.noteButton {
	margin-top: 1rem;
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	border-radius: 0.75rem;
	background-color: var(--background-secondary);
	padding: 1rem;
	text-align: left;
}

.noteLabel {
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--text-primary);
}

.noteSubtext {
	color: var(--text-tertiary);
	font-size: 0.75rem;
}

.noteText {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	color: var(--text-secondary);
}

.noteIconWrapper {
	display: flex;
	height: 2rem;
	width: 2rem;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background-color: var(--background-tertiary);
}

.noteIcon {
	height: 1rem;
	width: 1rem;
	color: var(--text-primary);
}
