/* CSS cho trang chi tiết thông báo - show */
.notification-detail {
  padding: 40px 0;
}

.notification-main {
  max-width: 1000px;
  margin: 0 auto 60px;
}

.notification-title {
  font-size: 36px;
  font-weight: 700;
  color: #343A40;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  font-family: 'Open Sans', sans-serif;
}

.notification-short-desc {
  font-size: 18px;
  font-weight: 600;
  color: #5e6282;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.notification-thumbnail-container {
  margin-bottom: 40px;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.notification-thumbnail {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  display: block;
  margin: 0 auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-all;
}

.notification-meta {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.meta-item {
  display: flex;
  align-items: center;
  margin: 0 25px;
  color: #5e6282;
}

.meta-icon {
  font-size: 22px;
  margin-right: 10px;
  color: #343A40;
}

.meta-text {
  font-size: 16px;
  font-weight: 600;
}

.notification-content {
  margin-bottom: 50px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.notification-content p {
  margin-bottom: 20px;
}

.notification-content img {
  max-width: 100%;
  height: auto;
  margin: 25px 0;
  border-radius: 8px;
}

.notification-content h2,
.notification-content h3,
.notification-content h4 {
  color: #343A40;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
}

/* CSS cho phần hiển thị file notification */
.notification-file {
  margin: 30px 0 50px;
}

.pdf-container {
  width: 100%;
  margin: 0 auto;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.pdf-pages {
  width: 100%;
}

.pdf-page {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.pdf-page:last-child {
  margin-bottom: 0;
}

.pdf-page canvas {
  max-width: 100%;
  height: auto !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.file-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.download-btn, .view-btn {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.download-btn {
  background-color: #f6c945;
  color: #fff;
}

.view-btn {
  background-color: #f0f0f0;
  color: #333;
}

.download-btn:hover, .view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
  background-color: #e0b937;
  color: #fff;
}

.view-btn:hover {
  background-color: #e0e0e0;
  color: #333;
}

.download-btn i, .view-btn i {
  margin-right: 10px;
}

.notification-footer {
  text-align: center;
  padding: 40px 20px;
  border-radius: 15px;
  margin-top: 60px;
}

.footer-title {
  font-size: 28px;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 20px;
  font-family: 'Open Sans', sans-serif;
}

.footer-desc {
  font-size: 18px;
  color: #5e6282;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.footer-action {
  margin-top: 30px;
}

.contact-btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: #f6c945;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(246, 201, 69, 0.3);
}

.contact-btn:hover {
  background-color: #e5b93a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(246, 201, 69, 0.4);
  color: #fff;
}

.related-notifications {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 20px;
}

.related-title {
  font-size: 28px;
  font-weight: 700;
  color: #343A40;
  margin-bottom: 25px;
  font-family: 'Open Sans', sans-serif;
}

.related-list {
  margin-top: 30px;
}

.related-item {
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
}

.related-date {
  min-width: 80px;
  margin-right: 15px;
  font-size: 13px;
  color: #5e6282;
}

.related-author {
  min-width: 120px;
  margin-right: 20px;
  font-size: 13px;
  color: #5e6282;
  display: flex;
  align-items: center;
}

.related-author i {
  margin-right: 5px;
  color: #343A40;
}

.related-content {
  flex: 1;
}

.related-content a {
  color: #333;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

.related-content a:hover {
  color: #f6c945;
}

/* Responsive styles */
@media (max-width: 992px) {
  .notification-title {
    font-size: 32px;
  }
  
  .notification-short-desc {
    font-size: 16px;
  }
  
  .footer-title {
    font-size: 24px;
  }
  
  .footer-desc {
    font-size: 16px;
  }
  
  .pdf-page canvas {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .notification-title {
    font-size: 28px;
  }
  
  .notification-meta {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .meta-item {
    margin: 0 15px 15px 0;
  }
  
  .notification-footer {
    padding: 30px 15px;
  }
  
  .footer-title {
    font-size: 22px;
  }
  
  .contact-btn {
    padding: 12px 30px;
    font-size: 16px;
  }
  
  .related-item {
    flex-wrap: wrap;
  }
  
  .related-date, 
  .related-author {
    margin-bottom: 8px;
  }
  
  .related-content {
    width: 100%;
  }
  
  .file-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .download-btn, .view-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .notification-detail {
    padding: 20px 12px 0 12px;
  }
  
  .notification-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .notification-short-desc {
    font-size: 15px;
    margin-bottom: 25px;
  }
  
  .notification-content {
    font-size: 15px;
  }
  
  .meta-item {
    margin: 0 12px 12px 0;
  }
  
  .meta-icon {
    font-size: 18px;
  }
  
  .meta-text {
    font-size: 14px;
  }
  
  .footer-title {
    font-size: 20px;
  }
  
  .footer-desc {
    font-size: 14px;
  }
  
  .related-title {
    font-size: 22px;
  }
}

h1, h2, h3, h4, h5, h6,
.post-title,
.widget-title,
.related-post-title {
  font-family: 'Open Sans', sans-serif;
} 

.notification-image{
  width: 100%;
  height: auto;
}
.notification-image img{
  width: 100%;
  height: auto;
}
