/******************************************************************
* NEWS VIEW - VISUALIZAÇÃO INDIVIDUAL DE NOTÍCIA
* Sistema modernizado 2025
******************************************************************/

/* Container Principal */
.newsview-container {
	max-width: 1000px;
	margin: 30px auto;
	padding: 0 20px;
	animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.95) translateY(10px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

/* Breadcrumb */
.newsview-breadcrumb {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	font-size: 14px;
	color: #8899aa;
}

.newsview-breadcrumb a {
	color: #00ffaa;
	text-decoration: none;
	transition: color 0.3s ease;
}

.newsview-breadcrumb a:hover {
	color: #00cc88;
}

.newsview-breadcrumb-separator {
	color: #4a5566;
}

/* Article Container */
.newsview-article {
	background: linear-gradient(135deg, #0f141a 0%, #1a2332 100%);
	border: 2px solid #2a3342;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 30px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Header */
.newsview-header {
	padding: 40px;
	border-bottom: 2px solid #2a3342;
}

.newsview-category {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 15px;
	letter-spacing: 1px;
}

.newsview-category.update {
	background: linear-gradient(135deg, #00ffaa 0%, #00cc88 100%);
	color: #0f141a;
}

.newsview-category.event {
	background: linear-gradient(135deg, #ffaa00 0%, #cc8800 100%);
	color: #0f141a;
}

.newsview-category.maintenance {
	background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
	color: white;
}

.newsview-category.community {
	background: linear-gradient(135deg, #4488ff 0%, #3366cc 100%);
	color: white;
}

.newsview-title {
	font-size: 36px;
	font-weight: 700;
	color: #d0d8e0;
	margin: 0 0 20px 0;
	line-height: 1.3;
}

.newsview-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	color: #8899aa;
	font-size: 14px;
}

.newsview-meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.newsview-meta-icon {
	font-size: 16px;
	color: #00ffaa;
}

.newsview-meta strong {
	color: #d0d8e0;
}

/* Status Badge */
.newsview-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	margin-left: auto;
}

.newsview-status.active {
	background: rgba(0, 255, 170, 0.2);
	color: #00ffaa;
	border: 1px solid #00ffaa;
}

.newsview-status.inactive {
	background: rgba(255, 68, 68, 0.2);
	color: #ff4444;
	border: 1px solid #ff4444;
}

/* Content */
.newsview-content {
	padding: 40px;
	color: #d0d8e0;
	font-size: 16px;
	line-height: 1.8;
}

.newsview-content h1,
.newsview-content h2,
.newsview-content h3,
.newsview-content h4 {
	color: #00ffaa;
	margin: 25px 0 15px 0;
	font-weight: 600;
}

.newsview-content h1 { font-size: 28px; }
.newsview-content h2 { font-size: 24px; }
.newsview-content h3 { font-size: 20px; }
.newsview-content h4 { font-size: 18px; }

.newsview-content p {
	margin: 0 0 15px 0;
}

.newsview-content ul,
.newsview-content ol {
	margin: 15px 0;
	padding-left: 30px;
}

.newsview-content li {
	margin: 8px 0;
}

.newsview-content strong {
	color: #00ffaa;
	font-weight: 600;
}

.newsview-content a {
	color: #00ffaa;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease;
}

.newsview-content a:hover {
	border-bottom-color: #00ffaa;
}

.newsview-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 20px 0;
}

.newsview-content blockquote {
	border-left: 4px solid #00ffaa;
	padding-left: 20px;
	margin: 20px 0;
	font-style: italic;
	color: #a0b0c0;
}

.newsview-content code {
	background: rgba(0, 255, 170, 0.1);
	color: #00ffaa;
	padding: 2px 6px;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	font-size: 14px;
}

.newsview-content pre {
	background: #0a0f14;
	border: 1px solid #2a3342;
	border-radius: 8px;
	padding: 20px;
	overflow-x: auto;
	margin: 20px 0;
}

.newsview-content pre code {
	background: none;
	padding: 0;
}

/* Footer */
.newsview-footer {
	padding: 30px 40px;
	border-top: 2px solid #2a3342;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.newsview-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.newsview-tag {
	padding: 6px 14px;
	background: rgba(0, 255, 170, 0.1);
	color: #00ffaa;
	border: 1px solid rgba(0, 255, 170, 0.3);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
}

.newsview-tag:hover {
	background: rgba(0, 255, 170, 0.2);
	border-color: #00ffaa;
	transform: translateY(-2px);
}

.newsview-share {
	display: flex;
	gap: 10px;
	align-items: center;
}

.newsview-share-label {
	font-size: 14px;
	color: #8899aa;
	font-weight: 600;
}

.newsview-share-btn {
	padding: 8px 12px;
	background: rgba(0, 255, 170, 0.1);
	color: #00ffaa;
	border: 1px solid rgba(0, 255, 170, 0.3);
	border-radius: 6px;
	font-size: 16px;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.newsview-share-btn:hover {
	background: #00ffaa;
	color: #0f141a;
	transform: translateY(-2px);
}

/* Navigation Buttons */
.newsview-navigation {
	display: flex;
	gap: 15px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.newsview-nav-btn {
	padding: 12px 24px;
	background: linear-gradient(135deg, #1a2332 0%, #2a3342 100%);
	color: #d0d8e0;
	border: 2px solid #2a3342;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.newsview-nav-btn:hover {
	background: rgba(0, 255, 170, 0.1);
	border-color: #00ffaa;
	color: #00ffaa;
	transform: translateY(-2px);
}

.newsview-nav-btn-icon {
	font-size: 16px;
}

.newsview-nav-btn-primary {
	background: linear-gradient(135deg, #00ffaa 0%, #00cc88 100%);
	color: #0f141a;
	border-color: #00ffaa;
}

.newsview-nav-btn-primary:hover {
	box-shadow: 0 8px 24px rgba(0, 255, 170, 0.4);
	color: #0f141a;
}

/* Not Found / Error */
.newsview-error {
	text-align: center;
	padding: 60px 20px;
	background: linear-gradient(135deg, #0f141a 0%, #1a2332 100%);
	border: 2px solid #ff4444;
	border-radius: 12px;
}

.newsview-error-icon {
	font-size: 64px;
	margin-bottom: 20px;
}

.newsview-error-title {
	font-size: 28px;
	font-weight: 600;
	color: #ff4444;
	margin: 0 0 10px 0;
}

.newsview-error-text {
	font-size: 16px;
	color: #8899aa;
	margin: 0 0 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
	.newsview-container {
		padding: 0 15px;
	}
	
	.newsview-header {
		padding: 25px;
	}
	
	.newsview-title {
		font-size: 26px;
	}
	
	.newsview-content {
		padding: 25px;
		font-size: 15px;
	}
	
	.newsview-footer {
		padding: 20px 25px;
		flex-direction: column;
		align-items: flex-start;
	}
	
	.newsview-navigation {
		flex-direction: column;
	}
	
	.newsview-nav-btn {
		width: 100%;
		justify-content: center;
	}
	
	.newsview-meta {
		flex-direction: column;
		gap: 12px;
	}
}
