/* DreamDate Frontend Styles */

:root {
	--dreamdate-primary: #e84855;
	--dreamdate-secondary: #a61e4d;
	--dreamdate-accent: #ffd60a;
	--dreamdate-light: #fafafa;
	--dreamdate-dark: #2d2d2d;
	--dreamdate-coin: #ffb700;
}

/* Profile Cards */
.dreamdate-profile-card {
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	padding: 20px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dreamdate-profile-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.profile-header {
	text-align: center;
	margin-bottom: 20px;
}

.profile-avatar {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 15px;
	border: 4px solid var(--dreamdate-primary);
}

.profile-headline {
	color: #666;
	font-style: italic;
	margin: 10px 0;
}

.verified-badge {
	display: inline-block;
	background: #4caf50;
	color: white;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: bold;
}

.profile-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.stat {
	text-align: center;
}

.stat strong {
	font-size: 20px;
	color: var(--dreamdate-primary);
	display: block;
}

/* Match Cards */
.dreamdate-match-results {
	margin: 20px 0;
}

.match-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}

.match-card:hover {
	transform: scale(1.05);
}

.match-card img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.match-card h4 {
	padding: 15px 15px 5px;
	margin: 0;
	color: var(--dreamdate-dark);
}

.match-card .compatibility {
	padding: 0 15px;
	color: var(--dreamdate-primary);
	font-weight: bold;
	font-size: 14px;
}

.match-card .button {
	width: calc(100% - 30px);
	margin: 10px 15px 15px;
	background: var(--dreamdate-primary);
	border-color: var(--dreamdate-primary);
	color: white;
}

/* Coin Balance */
.dreamdate-coin-balance {
	background: linear-gradient(135deg, var(--dreamdate-coin) 0%, #ff9800 100%);
	color: white;
	padding: 30px;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dreamdate-coin-balance h3 {
	margin-top: 0;
	font-size: 18px;
	opacity: 0.9;
}

.balance-display {
	font-size: 36px;
	margin: 15px 0;
	font-weight: bold;
}

.dreamdate-coin-balance .button {
	background: white;
	color: var(--dreamdate-coin);
	border-color: white;
	font-weight: bold;
}

/* Coin Packages */
.dreamdate-coin-packages {
	margin: 20px 0;
}

.coin-package {
	background: white;
	border: 2px solid #ddd;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.coin-package:hover {
	border-color: var(--dreamdate-primary);
	box-shadow: 0 4px 12px rgba(232, 72, 85, 0.2);
}

.coin-package h3 {
	margin-top: 0;
	color: var(--dreamdate-dark);
}

.coin-amount {
	font-size: 24px;
	font-weight: bold;
	color: var(--dreamdate-coin);
	margin: 10px 0;
}

.coin-package .price {
	font-size: 20px;
	font-weight: bold;
	color: var(--dreamdate-primary);
	margin: 10px 0 20px;
}

/* Likes and Matches Grid */
.dreamdate-my-likes,
.dreamdate-my-matches {
	margin: 20px 0;
}

.like-card,
.user-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	text-align: center;
	transition: transform 0.3s ease;
}

.like-card:hover,
.user-card:hover {
	transform: translateY(-4px);
}

.like-card img,
.user-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.like-card h4,
.user-card h4 {
	padding: 15px 10px 5px;
	margin: 0;
	color: var(--dreamdate-dark);
}

.mutual-badge {
	display: block;
	padding: 5px;
	color: #e84855;
	font-weight: bold;
	font-size: 12px;
}

.like-card .button,
.user-card .button {
	width: calc(100% - 20px);
	margin: 10px 10px 10px;
	background: var(--dreamdate-primary);
	border-color: var(--dreamdate-primary);
	color: white;
	text-decoration: none;
	display: inline-block;
	padding: 8px 10px;
	border-radius: 4px;
	font-size: 12px;
}

/* Messaging */
.dreamdate-messaging {
	background: white;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dreamdate-messaging h3 {
	margin-top: 0;
	color: var(--dreamdate-dark);
}

.unread-badge {
	background: var(--dreamdate-primary);
	color: white;
	border-radius: 50%;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: bold;
	margin-left: 10px;
}

.conversations-list {
	max-height: 400px;
	overflow-y: auto;
}

.conversation-item {
	display: flex;
	align-items: center;
	padding: 15px;
	border-bottom: 1px solid #eee;
	transition: background-color 0.2s ease;
}

.conversation-item:hover {
	background-color: #f9f9f9;
}

.conversation-item img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	margin-right: 15px;
	object-fit: cover;
}

.conversation-info {
	flex: 1;
}

.conversation-info h4 {
	margin: 0 0 5px;
	color: var(--dreamdate-dark);
}

.conversation-info .last-message {
	margin: 0;
	color: #999;
	font-size: 12px;
}

.unread-count {
	background: var(--dreamdate-primary);
	color: white;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: bold;
	margin: 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
	.dreamdate-match-results,
	.dreamdate-coin-packages,
	.dreamdate-my-likes,
	.dreamdate-my-matches,
	.dreamdate-user-directory {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
	}

	.profile-stats {
		grid-template-columns: 1fr;
	}

	.conversation-item {
		flex-direction: column;
		text-align: center;
	}

	.conversation-item img {
		margin-right: 0;
		margin-bottom: 10px;
	}
}
