/*
 * 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/>.
 */

.welcomeSection {
	margin-left: 2rem;
	margin-right: 2rem;
	margin-bottom: 2rem;
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 1.5rem;
	padding-top: 4rem;
	margin-top: auto;
	color: var(--text-primary);
}

.profileSection {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.avatarButton {
	cursor: pointer;
	border-radius: var(--radius-full);
	border: none;
	background-color: transparent;
	padding: 0;
	outline: none;
}

.avatarButton:focus {
	outline: none;
}

.usernameButton {
	cursor: pointer;
	border-radius: var(--radius-md);
	border: none;
	background-color: transparent;
	padding: 0;
	outline: none;
}

.usernameButton:focus {
	outline: none;
}

.username {
	white-space: normal;
	word-break: break-word;
	overflow-wrap: break-word;
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 1.25;
	color: var(--text-primary);
}

.discriminator {
	white-space: normal;
	word-break: break-word;
	overflow-wrap: break-word;
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 1.25;
	color: var(--text-primary);
	opacity: 0.5;
}

.welcomeText {
	text-align: center;
	font-size: 1.125rem;
	line-height: 1.75rem;
}

.actionSection {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.mutualGuildsContainer {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.guildIconWrapper {
	position: relative;
	overflow: hidden;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: var(--background-secondary);
}

.guildIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	--guild-icon-size: 32px;
}

.mutualGuildsText {
	color: var(--text-primary-muted);
}

.actionButtonsContainer {
	display: flex;
	gap: 0.5rem;
}
