/* Recipes Page Styles */
.recipes-hero {
	text-align: center;
	margin-bottom: var(--space-8);
}

.recipes-hero h1 {
	font-size: var(--font-size-3xl);
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: var(--space-2);
}

.recipes-hero p {
	font-size: var(--font-size-lg);
	color: var(--gray-600);
	margin-bottom: var(--space-4);
}

.search-bar {
	display: flex;
	justify-content: center;
	gap: var(--space-2);
	max-width: 600px;
	margin: 0 auto;
}

.search-bar input {
	flex: 1;
	padding: var(--space-3);
	border: 1px solid var(--gray-300);
	border-radius: var(--radius);
	font-size: var(--font-size-base);
}

.search-bar input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.recipes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--space-6);
}

.recipe-card {
	background: white;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	border: 1px solid var(--gray-200);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: var(--transition);
	cursor: pointer;
}

.recipe-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.recipe-image {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.recipe-content {
	padding: var(--space-4);
	flex: 1;
	display: flex;
	flex-direction: column;
}

.recipe-title {
	font-size: var(--font-size-lg);
	font-weight: 600;
	color: var(--gray-900);
	margin-bottom: var(--space-2);
}

.recipe-meta {
	font-size: var(--font-size-sm);
	color: var(--gray-600);
	margin-bottom: var(--space-3);
}

.recipe-actions {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.recipe-actions button {
	font-size: var(--font-size-sm);
}
.cookbook-viewer {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 300px;
}

.cookbook-card {
	min-width: 250px;
	max-width: 300px;
	background: white;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	padding: var(--space-4);
	text-align: center;
	transition: transform 0.3s ease-in-out;
}

.cookbook-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: var(--radius);
	margin-bottom: var(--space-3);
}

.cookbook-controls {
	display: flex;
	justify-content: space-between;
	margin-top: var(--space-4);
}

.cookbook-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border-radius: 12px;
	padding: 1rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	max-width: 400px;
	margin: 0 auto;
}

.cookbook-image-wrapper {
	width: 100%;
	height: 220px;
	overflow: hidden;
	border-radius: 10px;
	margin-bottom: 1rem;
}

.cookbook-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cookbook-title {
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.cookbook-meta {
	display: flex;
	justify-content: center;
	gap: 1rem;
	font-size: 0.95rem;
	color: #666;
	margin-bottom: 1rem;
}
