/* Notification Detail Page Styles */
:root {
    --primary-red: #dc2626;
    --primary-green: #16a34a;
    --light-red: #fef2f2;
    --light-green: #f0fdf4;
    --dark-red: #991b1b;
    --dark-green: #15803d;
    --gradient-red: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --gradient-green: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* Notification Header */
.notification-header {
    background: var(--gradient-red);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.notification-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.notification-header .container {
    position: relative;
    z-index: 2;
}

/* Notification Meta Box */
.notification-meta {
    background: var(--light-green);
    border-left: 6px solid var(--primary-green);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item i {
    width: 20px;
    color: var(--primary-green);
    margin-right: 10px;
}

.meta-item strong {
    color: var(--primary-green);
    margin-right: 8px;
}

/* Priority and Category Badges */
.priority-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-badge.urgent {
    background: var(--light-red);
    color: var(--primary-red);
}

.priority-badge.high {
    background: #fff7ed;
    color: #ea580c;
}

.priority-badge.medium {
    background: #f0f9ff;
    color: #0891b2;
}

.priority-badge.low {
    background: var(--light-green);
    color: var(--primary-green);
}

.category-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    background: #f3f4f6;
    color: #374151;
    font-weight: 500;
}

/* Notification Content */
.notification-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.notification-content h3 {
    color: var(--primary-red);
    margin-top: 30px;
    margin-bottom: 15px;
}

.notification-content h4 {
    color: var(--primary-green);
    margin-top: 25px;
    margin-bottom: 12px;
}

.notification-content ul, .notification-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.notification-content li {
    margin-bottom: 8px;
}

/* Sidebar Styles */
.sidebar {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar h5 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-weight: bold;
}

.related-notification {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    background: white;
    border-left: 3px solid var(--primary-red);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

.related-notification:hover {
    background: var(--light-red);
    text-decoration: none;
    color: inherit;
    transform: translateX(5px);
}

.related-notification h6 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--primary-red);
}

.related-notification p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.related-notification .date {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 5px;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--dark-green);
    text-decoration: none;
    transform: translateX(-5px);
}

.back-link i {
    margin-right: 8px;
}

/* Share Section */
.share-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.share-section h6 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.email { background: #6b7280; }
