#profile-modal.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.7);
	align-items: center;
	justify-content: center;
	z-index: 3000;
}

#profile-modal[style*="flex"] {
	display: flex !important;
}

#profile-modal .modal-content {
	background: #fff;
	border-radius: 10px;
	padding: 32px 28px 24px 28px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
	width: 340px;
	max-width: 95vw;
}

#profile-modal .modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
}

#profile-modal .modal-header h3 {
	margin: 0;
	font-size: 1.5rem;
	color: #333;
}

#close-profile-modal {
	cursor: pointer;
	font-size: 1.5rem;
	color: #888;
	transition: color 0.2s;
}

#close-profile-modal:hover {
	color: #e74c3c;
}

#profile-modal .modal-body {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.profile-section {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 8px;
}

.profile-btn {
	background: var(--button-bg, #4a90e2);
	color: var(--button-text, #fff);
	border: none;
	border-radius: 20px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
	cursor: pointer;
	font-size: 1rem;
	font-weight: bold;
	padding: 10px 0;
	transition: background 0.2s, box-shadow 0.2s;
	margin-bottom: 2px;
}

.profile-btn:hover {
	background: var(--button-hover, #3678c5);
}

#profile-modal hr {
	border: none;
	border-top: 1px solid #eee;
	margin: 10px 0;
}