html {
	font-family: Arial, sans-serif;
	height: 100vh;
	min-height: 100vh;
	color: #333;
	margin: 0;
	padding: 0;
	background: linear-gradient(0deg, rgb(21, 48, 63) 0%, rgb(127, 197, 128) 59%, rgb(242, 255, 196) 100%);
	background-attachment: fixed;
}

body {
	height: 80vh;
	margin: 0;
	padding: 0;
	display: table;
	width: 100%;
}

.page-wrapper {
	display: table-cell;
	vertical-align: middle;
	padding: 20px;
}

.content-wrapper {
	max-width: 800px;
	margin: 0 auto;
}

.mascot-container {
	text-align: center;
	margin-bottom: 10px;
}

.mascot-image {
	max-height: 150px;
	height: auto;
	border: none;
}

.container {
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 12px;
	padding: 25px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(5px);
}

.controls-row {
	display: none; /* Hide the old controls row */
}

.controls-row input[type="number"] {
	width: 60px;
	text-align: center;
}

.controls-row .model-selector {
	margin-bottom: 0;
}

h1 {
	color: rgb(21, 48, 63);
	text-align: center;
	margin-bottom: 30px;
	font-size: 2.2rem;
	text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.controls {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

button {
	background-color: rgb(100, 170, 100);
	color: white;
	border: none;
	padding: 10px 15px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.3s;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

button:hover {
	background-color: rgb(80, 150, 80);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

button:active {
	transform: translateY(0);
}

/* Generate button specific styles */
#generate-btn {
	background: linear-gradient(to right, rgb(21, 48, 63), rgb(40, 80, 90), rgb(21, 48, 63));
	color: white;
	border: none;
	padding: 15px 20px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.3s;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	width: 100%;
	box-sizing: border-box;
	margin: 20px 0 0 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	height: 55px;
}

#generate-btn:hover {
	background: linear-gradient(to right, rgb(30, 60, 80), rgb(50, 90, 100), rgb(30, 60, 80));
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

#generate-btn:active {
	transform: translateY(0);
}

input[type="number"], input[type="text"] {
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 16px;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

input[type="number"] {
	width: 100%;
	text-align: center;
	padding: 10px;
}

input[type="text"] {
	flex-grow: 1;
	max-width: 250px;
}

.results {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
	margin: 25px 0;
}

.strain-card {
	background-color: rgba(241, 248, 233, 0.9);
	border-radius: 8px;
	padding: 18px;
	text-align: center;
	border-left: 4px solid rgb(21, 48, 63);
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	position: relative;
	cursor: pointer;
}

.strain-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.strain-card.grandiose {
	background-color: rgba(232, 245, 233, 0.9);
	border-left: 4px solid rgb(40, 80, 90);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
	transform: scale(1.02);
}

.strain-card.grandiose:hover {
	transform: scale(1.02) translateY(-5px);
}

.strain-card.keyword-match {
	background-color: rgba(255, 248, 225, 0.9);
	border-left: 4px solid #f9a825;
}

.strain-card:hover .copy-icon {
	opacity: 1;
}

.copy-icon {
	position: absolute;
	top: 8px;
	right: 8px;
	opacity: 0;
	transition: opacity 0.3s ease;
	color: rgba(21, 48, 63, 0.8);
}

.strain-card.copied {
	background-color: rgba(232, 245, 233, 1);
	animation: flash 1s;
}

@keyframes flash {
	0% { background-color: rgba(232, 245, 233, 1); }
	50% { background-color: rgba(21, 48, 63, 0.3); }
	100% { background-color: rgba(232, 245, 233, 1); }
}

.explanation {
	/* margin-top: 0;
	padding-top: 0; */
	padding: 20px;
	background-color: rgba(232, 245, 233, 0.8);
	border-radius: 8px;
	font-size: 13px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ai-disclaimer {
	margin-top: 15px;
	padding: 10px;
	background-color: rgba(21, 48, 63, 0.1);
	border-left: 3px solid rgb(21, 48, 63);
	border-radius: 4px;
	font-style: italic;
	font-size: 12px;
	color: rgb(40, 60, 70);
}

.dataset-info {
	margin-top: 15px;
	padding: 10px;
	background-color: rgba(242, 255, 196, 0.3);
	border-left: 3px solid rgb(0, 70, 84);
	border-radius: 4px;
	font-size: 12px;
	color: rgb(60, 70, 40);
}


/* Footer styles */
footer {
	text-align: center;
	margin-top: 30px;
	padding: 15px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.copyright {
	margin: 0;
	font-style: italic;
}

.controls-table {
	width: 100%;
	margin-bottom: 20px;
	border-collapse: separate;
	border-spacing: 8px;
	table-layout: fixed;
}

.controls-table td {
	padding: 0;
	vertical-align: middle;
}

.model-cell {
	width: 70%;
}

.count-cell {
	width: 30%;
	text-align: center;
}

/* Remove the generate-cell from the table layout */
.generate-cell {
	display: none;
}

.count-cell input {
	width: 100%;
	margin: 0 auto;
	display: block;
	box-sizing: border-box;
	max-width: 100px;
}

/* Add spacing between rows */
.controls-table tr + tr {
	margin-top: 10px;
}

.model-selector {
	display: flex;
	justify-content: stretch;
	width: 100%;
	margin-bottom: 0;
}

.model-btn {
	flex: 1;
	background-color: rgba(224, 224, 224, 0.8);
	color: #333;
	border: 1px solid rgba(200, 200, 200, 0.5);
	padding: 10px 20px;
	cursor: pointer;
	transition: background-color 0.3s;
	font-weight: bold;
	margin: 0;
	text-align: center;
	box-sizing: border-box;
}

.model-btn:first-child {
	border-radius: 6px 0 0 6px;
}

.model-btn:last-child {
	border-radius: 0 6px 6px 0;
}

.model-btn.active {
	background-color: rgb(21, 48, 63);
	color: white;
}

.model-btn:hover {
	background-color: rgba(210, 210, 210, 0.9);
	color: #333;
}

.model-btn.active:hover {
	background-color: rgb(30, 60, 80);
	color: white;
}

/* Override general button hover styles for model buttons */
.model-selector .model-btn:hover {
	transform: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.options-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 20px;
	background-color: rgba(232, 245, 233, 0.7);
	padding: 15px;
	border-radius: 8px;
}

.toggle-container {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}

.toggle-switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
	margin: 0 10px;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 24px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

input:checked + .slider {
	background-color: rgb(21, 48, 63);
}

input:checked + .slider:before {
	transform: translateX(26px);
}

.badge {
	display: inline-block;
	padding: 3px 6px;
	font-size: 10px;
	font-weight: bold;
	color: white;
	background-color: rgb(21, 48, 63);
	border-radius: 10px;
	margin-left: 5px;
	vertical-align: middle;
}

.keyword-input {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.keyword-input label {
	font-weight: bold;
}

h3 {
	color: rgb(21, 48, 63);
	margin-top: 0;
}

@media (max-width: 600px) {
	.controls {
		flex-direction: column;
		align-items: center;
	}
	
	input[type="text"] {
		max-width: 100%;
	}

	/* Hide number input on mobile */
	.count-cell {
		display: none !important;
	}
	
	/* Adjust generate button for mobile */
	#generate-btn {
		height: 60px;
		font-size: 18px;
		background: linear-gradient(to right, rgb(21, 48, 63), rgb(40, 80, 90), rgb(21, 48, 63));
	}
}

@media (max-width: 600px) {
	.controls-table {
		border-spacing: 5px;
	}
	
	.controls-table, 
	.controls-table tbody, 
	.controls-table tr, 
	.controls-table td {
		display: block;
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
	
	.model-cell, .count-cell {
		margin-bottom: 10px;
		width: 100%;
		text-align: center;
	}
	
	/* Hide number input on mobile */
	.count-cell {
		display: none !important;
	}
	
	.model-selector {
		justify-content: center;
		margin-bottom: 10px;
		width: 100%;
	}
	
	.count-cell input {
		margin: 0 auto;
		max-width: 100px;
	}
	
	.model-btn {
		max-width: none;
	}
}

/* Collapsible section styles */
.collapsible-container {
	max-width: 800px;
	margin: 20px auto 0;
}

.collapsible {
	background-color: rgba(255, 255, 255, 0.85);
	color: rgb(21, 48, 63);
	cursor: pointer;
	padding: 12px;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 16px;
	font-weight: bold;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: 0.3s;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 32px;
}

.collapsible:after {
	content: '\002B';
	font-weight: bold;
	float: right;
	margin-left: 5px;
	font-size: 20px;
}

.active-collapsible:after {
	content: "\2212";
}

.collapsible:hover {
	background-color: rgba(255, 255, 255, 0.95);
}

.content {
	box-sizing: border-box;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 0 0 8px 8px;
	padding: 0 32px;
	font-size: 14px;
	line-height: 1.6;
}

p:last-child {
	padding-bottom: 22px;
}

.active-collapsible {
	border-radius: 8px 8px 0 0;
}

/* Ninja stamp styles */
.ninja-stamp {
	text-align: center;
	margin-top: 20px;
}

.ninja-logo {
	height: 40px;
	width: auto;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.ninja-logo:hover {
	opacity: 1;
} 