/* Global Styles */

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f6f9;
}

/* Header Styles */
header {
  background-color: #2d3436; /* Dark background for header */
  color: white;
  padding: 15px 0;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  padding: 10px 15px;
  margin: 0 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

header a:hover {
  background-color: #dfe6e9;
}

header a.active {
  background-color: #0984e3;
  font-weight: bold;
}

/* Key Information Section */

.key-info {
  max-width: 800px;
  margin: 100px auto 30px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #0984e3; /* Blue accent border */
}

.key-info h2 {
  text-align: center;
  font-size: 2em;
  color: #2d3436;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  font-size: 1.1em;
  padding: 12px;
  border-bottom: 1px solid #e1e1e1;
  color: #2d3436;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item strong {
  color: #0984e3;
}

.info-item span {
  color: #636e72;
  font-weight: bold;
}


/* Style for progress bar */
#progressBar {
  width: 100%;
  height: 5px;
  border-radius: 5px;
  appearance: none;
  background-color: #e1e1e1;
  margin-top: 10px;
}

#progressBar::-webkit-progress-bar {
  background-color: #e1e1e1;
  border-radius: 5px;
}

#progressBar::-webkit-progress-value {
  background-color: #fe2c55;
  border-radius: 5px;
}

/* Comparison Table and Audit Table Styles */
.comparison-table, .changelog-table  {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  border-collapse: collapse;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  table-layout: auto;
}

.comparison-table th, .comparison-table td,  .changelog-table th, .changelog-table td {
  padding: 15px;
  text-align: left;
  border: 1px solid #ddd;
  max-width: 300px;
  word-wrap: break-word;
  white-space: normal;
}

.comparison-table th, .changelog-table th {
  background-color: #ff5d57;
  color: white;
  font-weight: bold;
}

.comparison-table tr:nth-child(even), .audit-table tr:nth-child(even), .changelog-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Collapsible Section Styles */
.collapsible {
  background-color: #777;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

.active, .collapsible:hover {
  background-color: #555;
}

.content {
  padding: 0 18px;
  overflow: hidden;
  background-color: #f1f1f1;
  width: 100%;
  overflow-x: auto; /* 允许水平滚动 */
  position: relative;
}

/* Input Focus & Hover Styles */
input:focus, button:focus {
  outline: none;
  border-color: #0984e3;
}

input:hover, button:hover {
  background-color: #dfe6e9;
}

/* Utility Classes */
.center {
  text-align: center;
}

.margin-top {
  margin-top: 20px;
}

 .audit-table{
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  border-collapse: collapse;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  table-layout: auto;
}

.audit-table th, .audit-table td {
  padding: 15px;
  text-align: left;
  border: 1px solid #ddd;
  max-width: 300px;
  word-wrap: break-word;
  white-space: normal;
}

.audit-table th  {
  background-color: #ff5d57;
  color: white;
  font-weight: bold;
}

.editable-cell {
    cursor: pointer;
}
.popup {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.popup input[type="text"] {
  width: 100%;
  height: 100px; /* Adjust the height as needed */
  margin-top: 5px;
}

.popup label {
    margin-right: 10px;
}

.highlight {
  background-color: yellow; /* Highlight color */
  font-weight: bold;        /* Optional: Make the text bold */
  padding: 2px 4px;         /* Optional: Add some padding */
  border-radius: 3px;       /* Optional: Add rounded corners */
}
.audit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: #f4f6f9;
  border-radius: 5px;
}

.button-container {
  display: flex;
  gap: 10px;
}

.audit-header button {
  padding: 5px 10px;
  font-size: 0.9em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.preview-btn {
  background-color: #007bff;
  color: white;
}

.preview-btn:hover {
  background-color: #0056b3;
}

.download-btn {
  background-color: #28a745;
  color: white;
}

.download-btn:hover {
  background-color: #1e7e34;
}
