* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	min-height: 100vh;
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px;
}

.header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	text-align: center;
	padding: 40px 20px;
	margin-bottom: 30px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.header h1 {
	font-size: 2.5em;
	margin-bottom: 10px;
	font-weight: 300;
}

.search-form {
	background: white;
	padding: 30px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	margin-bottom: 30px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #555;
}

.form-group input, .form-group select {
	width: 100%;
	padding: 15px;
	border: 2px solid #e1e5e9;
	border-radius: 10px;
	font-size: 16px;
	transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-row {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 20px;
	align-items: end;
}

.btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 15px 30px;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.results {
	background: white;
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.journal-card {
	background: #f8f9fc;
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 20px;
	border-left: 5px solid #667eea;
	transition: all 0.3s ease;
}

.journal-card.priority {
	background: linear-gradient(135deg, #fff9e6 0%, #fff3d4 100%);
	border-left: 5px solid #f39c12;
	box-shadow: 0 5px 20px rgba(243, 156, 18, 0.2);
}

.journal-card:hover {
	transform: translateX(5px);
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.journal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.journal-title {
	font-size: 1.3em;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.journal-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.journal-title a:hover {
	color: #667eea;
}

.score-badge {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-weight: bold;
	font-size: 0.9em;
}

.score-badge.priority {
	background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.priority-badge {
	background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
	color: white;
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 0.8em;
	font-weight: bold;
	margin-left: 10px;
}

.journal-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-top: 15px;
}

.detail-item {
	background: white;
	padding: 12px;
	border-radius: 8px;
	border: 1px solid #e1e5e9;
}

.detail-label {
	font-size: 0.85em;
	color: #666;
	margin-bottom: 4px;
}

.detail-value {
	font-weight: 600;
	color: #333;
}

.detail-value a {
	color: #667eea;
	text-decoration: none;
	font-weight: 500;
}

.detail-value a:hover {
	text-decoration: underline;
}

.error {
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
	color: white;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-weight: 500;
}

.no-results {
	text-align: center;
	color: #666;
	padding: 40px;
	font-size: 1.1em;
}

@media (max-width: 768px) {
	.form-row {
		grid-template-columns: 1fr;
	}
	.journal-header {
		flex-direction: column;
		align-items: flex-start;
	}
	.score-badge {
		margin-top: 10px;
	}
	.journal-details {
		grid-template-columns: 1fr;
	}
}