@import url('variables.css');

/* ============================================================================================== */

.user-tabs {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--margin, 10px);
	margin: var(--margin, 15px) 0;
	padding-bottom: 5px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================================================================== */

.tab-button {
	padding: 8px 16px;
	border: none;
	border-radius: var(--border-radius);
	font-family: inherit;
	background: transparent;
	color: var(--color-text);
	cursor: pointer;
	transition: background 0.15s ease;
}

/* ============================================================================================== */

.tab-button:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* ============================================================================================== */

.tab-button.active {
	font-weight: bold;
	background: var(--bg-gradient-green);
}

/* ============================================================================================== */

.tab-content-container {
	position: relative;
	z-index: 1;
	margin-top: 15px;
	padding-top: 1px;
	width: 100%;
}

/* ============================================================================================== */

.tab-pane {
	display: none;
	width: 100%;
}

/* ============================================================================================== */

.tab-pane.active {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: auto !important;
}

/* ============================================================================================== */

.loading-spinner,
.empty-msg,
.error-message {
	padding: 20px;
	text-align: center;
	color: var(--color-text);
	opacity: 0.8;
}

/* ============================================================================================== */

.error-message {
	color: #ff4d4f;
}

/* ============================================================================================== */

.about-card {
	padding: var(--padding);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--border-radius);
	background: var(--bg-card, rgba(255, 255, 255, 0.05));
	color: var(--color-text);
	line-height: 1.6;
	width: 100%;
	max-width: var(--card-width);
}

/* ============================================================================================== */
