.notice.notice-success{
        margin-top: 10px;
    text-align: center;
}
/* Common styles for both modes */
.description-section {
    margin-top: 40px;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.description-section h3 {
    font-size: 20px;
    margin-bottom: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.description-section h3::before {
    content: "📝";
    font-size: 20px;
}

.scrollable-desc {
    border: 1px solid;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    line-height: 1.6;
    border-radius: 6px;
    font-size: 15px;
}

/* Button */
.copy-changelog-btn {
    margin-top: 15px;
    padding: 10px 18px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.copy-changelog-btn:hover {
    background-color: #666;
}

#copy-status {
    margin-left: 12px;
    font-size: 14px;
}

/* Scrollbar */
.scrollable-desc::-webkit-scrollbar {
    width: 8px;
}
.scrollable-desc::-webkit-scrollbar-thumb {
    border-radius: 4px;
}

/* 🎨 Dark Mode */
@media (prefers-color-scheme: dark) {
    .description-section {
        background: #1a1a1a;
        border-color: #333;
    }
    .description-section h3 {
        color: #eee;
        border-color: #333;
    }
    .scrollable-desc {
        background: #111;
        border-color: #444;
        color: #ccc;
    }
    .copy-changelog-btn {
        background-color: #444;
        color: #fff;
    }
    .copy-changelog-btn:hover {
        background-color: #666;
    }
    #copy-status {
        color: #0f0;
    }
    .scrollable-desc::-webkit-scrollbar-thumb {
        background: #555;
    }
}

}



.related-files {
  background-color: #1d1d1d;
  padding: 20px;
  border: 1px solid #333;
  border-radius: 10px;
  margin-top: 50px;
  color: #f1f1f1;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.related-files h3 {
  font-size: 1.3rem;
  color: #ffcc00;
  margin-bottom: 15px;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

.related-files ul {
  padding-left: 20px;
  margin: 0;
}

.related-files li {
  margin-bottom: 10px;
  list-style-type: disc;
  color: #ccc;
}

.related-files li a {
  color: #4da6ff;
  text-decoration: none;
  font-weight: 500;
}

.related-files li a:hover {
  text-decoration: underline;
  color: #80d4ff;
}

@media (max-width: 600px) {
  .related-files ul {
    padding-left: 0;
  }

  .related-files li {
    list-style: none;
    font-size: 14px;
  }

  .related-files {
        word-break: break-word;
        word-wrap: break-word;
        font-size: 14px;
        line-height: 20px;
  }
}

.file-report-form {
  background: #06072d;
  border: 1px solid #333;
  border-left: 4px solid #e74c3c;
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
  color: #f1f1f1;
}

.file-report-form h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ff4d4d;
  font-weight: 600;
}

.file-report-form textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  font-size: 14px;
  background-color: #04051e;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  margin-bottom: 15px;
  resize: vertical;
  box-sizing: border-box;
}

.file-report-form button[type="submit"] {
  background-color: #e74c3c;
  color: #fff;
  padding: 10px 20px;
  font-size: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.file-report-form button[type="submit"]:hover {
  background-color: #c0392b;
}

.download-section {
  background-color: #00102f;
  padding: 20px;
  border: solid 1px #333;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  color: #fff;
  margin-top: 40px;
  max-width: 100%;
  text-align:center;
}

.share-buttons {
    margin-top: 15px;
    text-align: center;
}

.share-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.share-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.share-btn {
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    background: #1e1e2f;
    color: white;
    font-size: 14px;
    transition: background 0.2s ease-in-out;
}

.share-btn:hover {
    background: #3e3e50;
}

.copy-link-btn {
    background: #6f42c1;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.copy-link-main {
    background: #393535;
    color: #bbb9b9;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    margin-top: 6px;
    cursor: pointer;
}

.copy-link-main:active,
.copy-link-btn:active {
    transform: scale(0.96);
}

#copy-status-share {
    display: block;
    margin-top: 5px;
    color: #00ff99;
    font-size: 14px;
}

/* Mobile fix */
@media (max-width: 500px) {
    .share-icons-wrapper {
        flex-direction: column;
        align-items: center;
    }
}


.button-download:hover {
  background-color: #218838;
  color: #fff;
}

.copy-link-btn {
  background-color: #333;
  color: #fff;
  background-color: #27119b;
    color: #fff;
    padding: 5px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.copy-link-btn:hover {
  background-color: #444;
  color: #ffcc00;
}
.share-buttons{
    margin-top: 50px;
}

.share-buttons p {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 22px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.share-buttons a {
  text-decoration: none;
  transition: 0.2s;
  font-size: 15px;
}

.share-buttons a:hover {
  transform: scale(1.2);
}

#copy-status-share {
  font-size: 13px;
  margin-left: 10px;
  color: #7fff7f;
}





.scrollable-desc {
    background: #111;
    border: 1px solid #333;
    padding: 15px;
    max-height: 250px;
    overflow-y: auto;
    color: #eee;
    font-family: monospace;
    white-space: pre-wrap;
    line-height: 1.5;
}



.file-detail-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  color: #f1f1f1;
  font-size: 16px;
  margin-bottom: 30px;
}

.file-detail-table th,
.file-detail-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #333;
}

.file-detail-table th {
  background-color: #142e61;
  color: #86e1ff;
  font-weight: 600;
  width: 25%;
}

.file-detail-table tr:last-child td,
.file-detail-table tr:last-child th {
  border-bottom: none;
}


@media (max-width: 600px) {
  .file-detail-table,
  .file-detail-table thead,
  .file-detail-table tbody,
  .file-detail-table th,
  .file-detail-table td,
  .file-detail-table tr {
    display: block;
    border: none;
  }

  .file-detail-table tr {
    margin-bottom: 15px;
    background: #00102f;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px;
  }

  .file-detail-table th {
    font-size: 14px;
    padding: 6px 10px;
    background: transparent;
    color: #00d1ff;
  }

  .file-detail-table td {
        font-size: 15px;
        padding: 6px 10px;
        color: #dddddd;
        background: transparent;
        border-top: solid 1px #333333;
        text-align: center;
        word-break: break-word;
        word-wrap: break-word;
    }
}


.button-download {
    background-color: #0058a4;
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
}
.button-download:hover {
    background-color: #218838;
}
.txt-download-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
.txt-download-link:hover {
    background: #005f8d;
}
.button-download.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.button-download .progress-text {
    position: relative;
    z-index: 2;
}

.button-download::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #00c853;
    z-index: 1;
    transition: width 0.05s linear;
}