/* MyProfile.css - Modern Profile Page Styling */

/* Container */
.profile-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
	background-color: #ffffff;
}

/* Header Section */
.profile-header {
	text-align: center;
	margin-bottom: 40px;
}

.header-image {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Content Section */
.profile-content {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

/* Profile Card */
.profile-card {
	width: 100%;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	border: 1px solid #e5e7eb;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

	.profile-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
	}

/* Card Header */
.card-header {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	padding: 32px 24px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.header-icon {
	width: 56px;
	height: 56px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	backdrop-filter: blur(10px);
}

.card-title {
	color: #ffffff;
	font-size: 28px;
	font-weight: 700;
	margin: 0;
	letter-spacing: -0.5px;
}

.profile-actions {
	margin-left: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Card Body */
.card-body {
	padding: 32px 24px;
}

/* Info Grid */
.info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr));
	gap: 24px;
	margin-bottom: 32px;
}

.info-item {
	background: #f9fafb;
	padding: 20px;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	transition: all 0.3s ease;
}

	.info-item:hover {
		background: #f3f4f6;
		border-color: #3b82f6;
		transform: translateY(-2px);
	}

.info-label {
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.info-value {
	font-size: 18px;
	font-weight: 600;
	color: #1f2937;
	word-break: break-word;
}

/* Role Section */
.role-section {
	padding-top: 24px;
	border-top: 2px solid #e5e7eb;
	display: flex;
	justify-content: center;
}

.role-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

	.role-badge:hover {
		transform: scale(1.05);
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
	}

	.role-badge svg {
		flex-shrink: 0;
	}

.role-admin {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: #ffffff;
}

.role-promoter {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #ffffff;
}

.role-guest {
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
	color: #ffffff;
}

.delete-account-backdrop {
	background-color: rgba(0, 0, 0, 0.55);
}

.delete-account-modal {
	border: 0;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.delete-account-modal .modal-body p {
	color: #000000;
	font-size: 1rem;
	line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.profile-container {
		padding: 16px;
	}

	.profile-header {
		margin-bottom: 24px;
	}

	.card-header {
		padding: 24px 20px;
		flex-direction: column;
		text-align: center;
	}

	.header-icon {
		width: 48px;
		height: 48px;
	}

	.card-title {
		font-size: 24px;
	}

	.profile-actions {
		margin-left: 0;
		justify-content: center;
		width: 100%;
	}

	.card-body {
		padding: 24px 20px;
	}

	.info-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-bottom: 24px;
	}

	.info-item {
		padding: 16px;
	}

	.info-value {
		font-size: 16px;
	}

	.role-badge {
		padding: 12px 24px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.profile-container {
		padding: 12px;
	}

	.card-header {
		padding: 20px 16px;
	}

	.card-title {
		font-size: 20px;
	}

	.card-body {
		padding: 20px 16px;
	}

	.info-item {
		padding: 14px;
	}

	.info-label {
		font-size: 12px;
	}

	.info-value {
		font-size: 15px;
	}

	.role-badge {
		padding: 10px 20px;
		font-size: 13px;
		gap: 8px;
	}

	.role-badge svg {
		width: 16px;
		height: 16px;
	}

	.upgrade-section {
		background: #fffff;
		color: #000000;
		padding: 1rem;
		border-radius: .5rem;
	}
}

