/**
 * Frontend styles for Science180 Press Release Manager.
 */

/* Logo list grid /prlist/ style */
.s180-outlet-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 24px;
	margin: 30px 0;
}

.s180-outlet-card {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.s180-outlet-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
	border-color: rgba(0, 0, 0, 0.15);
	background: #ffffff;
}

.s180-outlet-logo {
	max-width: 100%;
	max-height: 70px;
	object-fit: contain;
	transition: filter 0.3s ease;
}

.s180-outlet-name {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
	margin-top: 10px;
	text-align: center;
}

/* Dynamic Outlet page styles */
.s180-outlet-page {
	max-width: 900px;
	margin: 40px auto;
	padding: 0 20px;
}

.s180-outlet-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	border-bottom: 2px solid #eaeeeff;
	padding-bottom: 30px;
	margin-bottom: 40px;
}

.s180-header-logo-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	border: 1px solid #e1e8ed;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	margin-bottom: 20px;
	max-width: 300px;
}

.s180-header-logo {
	max-height: 100px;
	max-width: 100%;
	object-fit: contain;
}

.s180-outlet-page-title {
	font-size: 32px;
	font-family: 'Outfit', 'Inter', sans-serif;
	font-weight: 700;
	color: #1a202c;
	line-height: 1.3;
	margin-bottom: 10px;
}

/* Reports dynamic list styling */
.s180-reports-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.s180-report-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 18px 24px;
	margin-bottom: 12px;
	transition: all 0.2s ease;
}

.s180-report-item:hover {
	border-color: #cbd5e0;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.s180-report-title-link {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #3182ce;
	text-decoration: none;
	transition: color 0.2s ease;
	flex-grow: 1;
	padding-right: 20px;
}

.s180-report-title-link:hover {
	color: #2b6cb0;
	text-decoration: underline;
}

.s180-report-date {
	font-family: monospace;
	font-size: 14px;
	color: #718096;
	white-space: nowrap;
}

.s180-no-reports {
	background: #f7fafc;
	border: 1px dashed #cbd5e0;
	border-radius: 8px;
	padding: 40px;
	text-align: center;
	color: #718096;
	font-size: 16px;
}

@media(max-width: 600px) {
	.s180-report-item {
		flex-direction: column;
		align-items: flex-start;
	}
	.s180-report-title-link {
		padding-right: 0;
		margin-bottom: 8px;
	}
}
