/* User Profile Styles - Minimal */

.user-profile-container, .edit-profile-container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 2rem;
}

.user-profile-hero {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	background: white;
	border-radius: 12px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-photo {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
}

.profile-photo-placeholder {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: linear-gradient(135deg, #007bff, #0056b3);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	font-weight: bold;
}

.profile-info {
	flex: 1;
}

.profile-name {
	font-size: 2rem;
	margin: 0 0 0.5rem 0;
	color: #222;
}

.profile-bio {
	color: #666;
	margin: 0 0 1rem 0;
	line-height: 1.5;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.profile-meta {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.profile-location, .profile-website {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #666;
	text-decoration: none;
	font-size: 0.95rem;
}

.edit-profile-btn {
	background: #007bff;
	color: white;
	border: none;
	border-radius: 8px;
	padding: 0.75rem 1.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.profile-content {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-tabs {
	display: flex;
	border-bottom: 1px solid #e1e5e9;
	background: #f8f9fa;
}

.tab-btn {
	flex: 1;
	background: none;
	border: none;
	padding: 1rem 1.5rem;
	cursor: pointer;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-bottom: 3px solid transparent;
}

.tab-btn.active {
	color: #007bff;
	background: white;
	border-bottom-color: #007bff;
}

.tab-content {
	padding: 2rem;
}

.tab-pane.hidden {
	display: none;
}

.businesses-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.businesses-grid .business-card {
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.businesses-grid .business-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.posts-grid {
	display: grid;
	gap: 1rem;
}

.post-preview {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 1rem;
	border-left: 4px solid #007bff;
}

.post-preview-author {
	font-weight: 600;
	color: #333;
	margin-bottom: 0.5rem;
}

.post-preview-text {
	color: #555;
	margin-bottom: 0.75rem;
}

.post-preview-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8rem;
	color: #888;
}

.no-content {
	text-align: center;
	color: #666;
	font-style: italic;
	padding: 3rem;
}

/* Profile Photo Upload */
.profile-photo-preview {
	width: 100px;
	height: 100px;
	border: 2px dashed #ddd;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	overflow: hidden;
}

.profile-photo-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.edit-profile-content {
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.edit-profile-form-section {
	padding: 2rem;
}

/* Mobile */
@media (max-width: 768px) {
	.user-profile-hero {
		flex-direction: column;
		text-align: center;
		padding: 1.5rem;
	}
	
	.businesses-grid {
		grid-template-columns: 1fr;
	}
	
	.profile-tabs {
		flex-direction: column;
	}
}
