/* custom-inline.css: 汇总所有页面内联样式 */

@media (min-width: 1200px) {
  .container {
    max-width: 1300px !important;
  }
}

@media only screen and (min-width: 1400px) {
  .header-content-area {
    height: 800px;
  }
}

.dropdown-item {
  color: #000000 !important;
  margin: 0 !important;
  font-weight: 400 !important;
  font-size: 16px !important;
}

@media (max-width: 767px) {
  .navbar .navbar-nav .nav-item a {
    padding: 10px;
    display: block;
    border: 0;
    margin: 0;
  }
}

#audio-modal-mask.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
#video-modal-mask.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.video-aspect-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 比例 */
}
.video-aspect-ratio video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.video-title {
  font-weight: bold;
  font-size: 18px;
}

/* 以下为部分页面的自定义样式（如侧边导航、文档预览等） */
.sidebar-nav .nav-link {
  color: #333;
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}
.sidebar-nav .nav-link:hover {
  background-color: #f8f9fa;
  color: #007bff;
  text-decoration: none;
}
.sidebar-nav .nav-link.active {
  background-color: #007bff;
  color: white;
}
.sidebar-nav .nav-link i {
  margin-right: 8px;
}
.sidebar-nav .card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  border: 1px solid #e5e5e5;
  padding: 0;
}
.sidebar-nav .card-header {
  border-bottom: 1px solid #f0f0f0;
  border-radius: 16px 16px 0 0;
  background: #f8f9fa;
  padding: 18px 24px;
}
.sidebar-nav .card-body {
  border-radius: 0 0 16px 16px;
  padding: 0;
}
.tab-content {
  min-height: 500px;
}

body {
  background-color: #fff !important;
}

/* 文档预览相关样式 */
.document-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: #f8f9fa;
}
.document-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  background-color: white;
  font-family: "Times New Roman", serif;
  line-height: 1.6;
}
.document-content img {
  max-width: 100%;
  height: auto;
}
.document-content h1,
.document-content h2,
.document-content h3,
.document-content h4,
.document-content h5,
.document-content h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: bold;
}
.document-content p {
  margin-bottom: 1em;
  text-align: justify;
}
.document-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
}
.document-content table,
.document-content th,
.document-content td {
  border: 1px solid #ddd;
  padding: 8px;
}
.document-content th {
  background-color: #f2f2f2;
  font-weight: bold;
}
.document-content ul,
.document-content ol {
  margin-left: 2em;
  margin-bottom: 1em;
}
.document-content blockquote {
  border-left: 4px solid #007bff;
  padding-left: 1em;
  margin: 1em 0;
  background-color: #f8f9fa;
}
.document-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
}
.document-header h5 {
  margin: 0;
  color: #333;
}
.download-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.3s;
}
.download-btn:hover {
  background-color: #218838;
  color: white;
  text-decoration: none;
}
.document-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: #f8f9fa;
  color: #dc3545;
}

.pdf-container {
  width: 100%;
  max-width: 100%;
  height: 80vh;
  margin: 0 auto;
  background: #fff;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pdf-container embed {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
} 