* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    max-height: 80vh;
    padding: 40px;
    box-sizing: border-box;
    max-width: 100%;
    margin: 150px 30px 30px;
}

.container-upload {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-grow: 1;
}

.form-container {
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    box-sizing: border-box;
    height: 70vh;
    padding: 20px;
    max-width: 650px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 10px 10px 10px 20vh;
}

.display-container {
    margin: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 80vh;
    padding: 20px;
    max-width: 650px;
}

.container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px);
    box-sizing: border-box;
    flex-grow: 1;
}

.summary-container {
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    min-height: 30vh;
    max-height: 80vh;
    padding: 20px;
    max-width: 750px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    margin: 120px auto 20px;
    width: 70vh;
}

.artifact-summary-list {
    flex: 1;
    overflow-y: auto;
    margin-top: 15px;
}

.artifact-summary-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.artifact-summary-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

h3 {
    text-align: center;
    color: #333;
    width: fit-content;
    margin: 0 auto;
    padding: 10px;
}

form {
    margin-top: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.doc-section {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-left: 4px solid #007bff;
    font-size: 14px;
    margin-bottom: 15px;
}

.doc-section a {
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

.doc-section a:hover {
    text-decoration: underline;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="file"] {
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.file-upload-icon,
.file-upload-text {
    display: inline-block;
    padding: 10px;
    cursor: pointer;
    font-size: 1em;
    color: #007bff;
}

.file-upload-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 2px dashed #007bff;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
}

.file-list {
    margin-top: 10px;
}

.delete-icon {
    cursor: pointer;
}

.delete-icon:hover {
    color: red;
}

.file-upload-logo {
    width: 50px;
    height: 50px;
}

.btn-container {
    display: block;
    text-align: center;
    margin-top: 10px;
    border-color: black;
}

.btn, .btn-next {
    background: white;
    color: black;
    padding: 10px 20px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 5px;
    border: 2px solid black;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 165px;
    font-weight: bold;
}

.btn-next:hover, .btn:hover, .btn-submit:hover {
    background-color: #efebeb;
}

.parent-container {
    text-align: center;
}

.main-container {
    /*max-width: 60%;*/
    /*margin: 150px 30px 30px 20%;*/
    margin: 150px auto 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    min-height: 40vh;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.scrollable-content {
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px 20px 20px;
}

.btn-submit {
    background: white;
    border-color: black;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow: hidden;
    font-weight: bold;
}

.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

@keyframes scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

.label-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.label-container input[type="checkbox"] {
    margin-right: 10px;
}

.label-container label {
    margin-right: 5px;
    margin-top: 12px;
}

#stepTextContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#circleContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

#stepTextContainer span {
    margin: 0 10px;
}

.required {
    color: red;
    font-size: 20px;
}

.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    width: auto;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    color: white;
    border: 2px solid red;
    border-radius: 5px;
}

.icon-wrapper {
    flex: 0 0 auto;
    margin-right: 10px;
}

.message-wrapper {
    flex: 1;
}

.alert-icon {
    width: 60px;
    height: auto;
}

.error-message {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-left: 6px solid;
    border-radius: 4px;
    padding: 16px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 640px;
    position: relative;
    margin: 10px 0;
    color: red;
}

.error-icon {
    margin-right: 12px;
}

.error-icon .icon {
    color: #e74c3c;
    font-size: 24px;
}

.error-text strong {
    display: block;
    font-size: 35px;
    margin-bottom: 5px;
    margin-top: 10px;
    color: #e74c3c;
}

.error-text p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.success-message {
    display: flex;
    align-items: center;
    background-color: #dff6dd;
    border-left: 6px solid #008000;
    border-radius: 4px;
    padding: 16px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 640px;
    position: relative;
    margin: 10px 0;
}

.success-icon {
    margin-right: 12px;
}

.success-icon .icon {
    color: #008000;
    font-size: 24px;
}

.success-text strong {
    display: block;
    font-size: 35px;
    margin-bottom: 5px;
    color: black;
}

.success-text p {
    margin: 0;
    font-size: 14px;
    color: black;
}

.alert-text strong {
    display: block;
    font-size: 25px;
    margin-bottom: 4px;
    color: #3e350f;
}

.alert-text p {
    margin: 0;
    font-size: 14px;
    color: #3e350f;
}

.close-btn {
    background: none;
    border: none;
    color: red;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.file-preview-container,
.folder-name-container {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #007bff;
    border-radius: 5px;
    background-color: #e9ecef;
}

.file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.file-name {
    margin-left: 10px;
}

.close-button {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.close-button-folder {
    background: transparent;
    border: none;
    font-size: 1.2em;
    color: #dc3545;
    cursor: pointer;
    margin-left: 10px;
}

.remove-file-btn {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    font-size: 1.2em;
    margin-left: auto;
}

a {
    text-decoration: none;
    color: blue;
    font-weight: bold;
}

.custom-visited:visited {
    color: blue;
}

.custom-visited:link {
    color: blue;
}

.table-container {
    overflow-x: auto;
    width: 600px;
    position: relative;
    border-collapse: collapse;
}

table {
    border-collapse: collapse;
    margin-top: 5px;
    width: 100%;
}

td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ccc;
}

th {
    padding: 10px;
    background-color: #f8f8f8;
    color: #333;
    font-weight: bold;
}

tr:hover {
    background-color: #f1f1f1;
}

.table-container th, .table-container td {
    border: 1px solid #ddd;
    padding: 8px;
}

.table-container th {
    background-color: #f2f2f2;
    text-align: left;
}

.table-container thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #f1efef;
    padding: 8px;
}

/* Set specific widths for the columns in the uploaded files tables */
.uploaded-files .table-container th:nth-child(1),
.uploaded-files .table-container td:nth-child(1) {
    width: 5%;
}

.uploaded-files .table-container th:nth-child(2),
.uploaded-files .table-container td:nth-child(2) {
    width: 5%;
}

.uploaded-files .table-container th:nth-child(3),
.uploaded-files .table-container td:nth-child(3) {
    width: 15%;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

.uploaded-files .table-container th:nth-child(4),
.uploaded-files .table-container td:nth-child(4) {
    width: 35%;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

.uploaded-files .table-container th:nth-child(5),
.uploaded-files .table-container td:nth-child(5) {
    width: 25%;
}

.uploaded-files .table-container th:nth-child(6),
.uploaded-files .table-container td:nth-child(6) {
    width: 25%;
}

.uploaded-files .table-container th:nth-child(6),
.uploaded-files .table-container td:nth-child(6) {
    width: 5%;
}

.uploaded-files .table-container th:nth-child(6),
.uploaded-files .table-container td:nth-child(6) {
    width: 5%;
}

.uploaded-files {
    overflow-x: auto;
}

.uploaded-files .table-container th {
    text-align: left;
    padding: 10px;
}

.uploaded-files .table-container td {
    padding: 10px;
}

.btn-select-popup,
.btn-see-tags-releases {
    margin-bottom: 10px;
    color: #000;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 14px;
    padding: 5px;
}

#citationDetailsContainer {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 5%;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

#citationDetailsContent {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 1000px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    color: black;
}

.error {
    color: #dc3545;
    margin-top: 5px;
    font-size: 0.9em;
}

.icon-tooltip {
    width: 15px;
    height: 15px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 5px;
    color: black;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    margin-left: 4px;
}

.info-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 14px;
    height: 14px;
    border: 1.5px solid #007bff;
    color: #007bff;
    border-radius: 50%;
    font-size: 9px;
    font-weight: bold;
    background: none;
    line-height: 1;
    margin-left: 2px;
    position: relative;
    top: -8px;
    cursor: help;
}

.details-box {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #333;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-left: 3px solid #007bff;
    border-radius: 6px;
    white-space: normal;
    width: 350px;
    transition: opacity 0.2s ease-in-out;
    z-index: 10;
    font-size: 14px;
    pointer-events: none;
}

.details-box::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 0;
    width: 30px;
    height: 100%;
}

.details-box::before {
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 250px;
    color: #ccc;
}

.tooltip-container:hover .details-box {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.warning {
    color: red;
    font-weight: bold;
    background-color: #d1ecf1;
    padding: 10px;
    border: 1px solid #0c5460;
    border-radius: 5px;
}

.success-message {
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    animation: fadeIn 1s ease-in-out;
}

.file-upload-group {
    margin: 20px 0;
}

.folder-upload-group {
    margin: 10px 0;
}

.folder-upload-label {
    display: flex;
    align-items: center;
    font-size: 1em;
}

.file-upload-options {
    display: flex;
    align-items: center;
    gap: 100px;
    margin-top: 10px;
}

.file-upload-button {
    display: flex;
    cursor: pointer;
    padding: 6px 12px;
    border: 1px solid black;
    border-radius: 6px;
    background-color: #f5f5f5;
    transition: background-color 0.2s;
    margin-right: -40%;
}

.file-upload-button:hover {
    background-color: #e0e0e0;
}

.upload-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.folder-upload-label input[type="checkbox"] {
    margin-right: 10px;
}

.instructions {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
}

.instructions ol {
    margin-left: 20px;
}

.instructions a {
    color: #007BFF;
    text-decoration: none;
}

.instructions a:hover {
    text-decoration: underline;
}

.form-label {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}

.form-input {
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
    font-size: 1em;
    background-color: #f9f9f9;
    color: #333;
    margin-top: 5px;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
}

.manifest-form {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.manifest-form h2 {
    text-align: center;
    color: #333;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #555;
}

.form-control {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s ease;
    width: 50%;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
}

.custom-visited:hover {
    text-decoration: underline;
}

.container-name {
    color: #ffe600;
    font-size: 1em;
}

.highlight {
    color: #ffe600;
    font-size: 1.3em;
}

.welcome-heading {
    background-color: #0e2050;
    color: #ffe600;
    padding: 10px;
    width: 90%;
    margin: 20px auto;
    text-align: center;
    border-radius: 8px;
}

.modal-body pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: monospace;
}

.edit-input {
    display: none;
}

.static-text {
    display: inline;
}

.contribution-entry {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    position: relative;
}

.contribution-field {
    flex-grow: 1;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.main-content {
    flex-grow: 1;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
    user-select: none;
}

.icon:hover {
    background-color: #ddd;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    width: 20%;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    text-align: center;
    border: 3px solid #0e2050;
}

.form-group textarea {
    width: 600px;
    height: 100px;
    resize: none;
}

textarea {
    padding: 5px;
    vertical-align: top;
    line-height: 1.2;
    resize: vertical;
}

.artifact-list {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.artifact-header {
    text-align: center;
    margin-bottom: 20px;
}

.artifact-header p {
    font-size: 14px;
    color: #666;
}

.artifact-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.artifact-item {
    margin-bottom: 10px;
}

.artifact-name {
    font-weight: bold;
}

.artifact-action {
    font-size: 14px;
    color: #007bff;
}

.modal-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.contributors-container {
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}

.contributor-headers {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
}

.header-group {
    flex: 1;
    text-align: left;
}

.header-label {
    font-weight: 600;
    font-size: 0.9em;
}

.contributor-entry {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.contributor-entry .row {
    flex: 1;
    display: flex;
    gap: 10px;
}

.contributor-entry input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.remove-contributor {
    background: #e9f5ff;
    color: #5dade2;
    border: 1px solid #5dade2;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: background 0.2s ease;
    padding: 8px 12px;
}

.remove-contributor:hover {
    background: #d0eafc;
}

.delete-icon {
    font-size: 1em;
    line-height: 1;
    position: relative;
    top: -1px;
}

.add-contributor {
    background: #e9f5ff;
    color: #5dade2;
    border: 1px solid #5dade2;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 15px;
}

.plus-icon {
    font-size: 1.2em;
}

.popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px 20px 20px 20px;
    border: 1px solid black;
    border-radius: 12px;
    z-index: 9999;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.popup-message .close-btn {
    position: absolute;
    top: -4px;
    right: 15px;
    font-size: 25px;
    font-weight: bold;
    color: black;
    cursor: pointer;
}

.popup-message {
    color: #4F8A10;
}

.popup-message .error {
    color: #D8000C;
}

.validation-popup {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 24px;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
    width: 30%;
    border-radius: 12px;
}

.validation-content {
    position: relative;
    padding-top: 30px;
}

.validation-content .close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 1001;
}

.validation-content .close-btn:hover {
    color: #333;
}

.success-text {
    color: #28a745;
}

.error-text {
    display: flex;
    align-items: center;
}

.error-text h4 {
    margin-right: 10px;
}

.icon-tooltip {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: 8px;
}

.present-files, .not-present-files {
    margin-top: 15px;
}

.present-files h4, .not-present-files h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.present-files ul, .not-present-files ul {
    list-style-type: none;
    padding-left: 0;
}

.present-files li, .not-present-files li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* --- Responsive Design --- */

@media (max-width: 900px) {
    .container-upload {
        flex-direction: column;
        margin: 150px 10px 30px 10px;
        align-items: center;
    }

    .container-wrapper {
        margin: 150px 10px 30px 10px;
    }

    .form-container, .display-container {
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
        height: auto;
        min-height: 50vh;
    }

    .main-container {
        margin: 150px 10px 30px 10px;
        max-width: 100%;
    }

    .summary-container {
        margin: 150px 10px 20px 10px;
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 599px) {
    .container {
        width: 95%;
        margin: 150px auto 30px;
        padding: 20px;
    }
}

/* --- Responsive Design --- */

.success-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.success-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 15px;
    background-color: #e6f4e6;
    border-radius: 5px;
    text-align: center;
}

.success-box h2 {
    margin: 0 0 10px 0;
    display: block;
}

.success-box p {
    font-size: 1em;
    margin: 0 0 15px 0;
    display: block;
}

.success-box .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1em;
    color: #008000;
    cursor: pointer;
}

.success-box .close-btn:hover {
    color: #006600;
}

.success-box button {
    padding: 8px 15px;
    background-color: #d4edda;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
    display: block;
    margin: 0 auto;
}

.success-box button:hover {
    background-color: #c3e6cb;
}

.btn-container form button {
    width: auto;
    min-width: 150px;
    border-color: black;
}

.missing-files-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    z-index: 1000;
    padding: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.popup-content {
    position: relative;
}

.resource-dropdown {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.add-resource-btn {
    width: 100%;
    color: black;
    border: 2px solid black;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    margin-left: 5px;
}


.dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.upload-form--scrollable {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    gap: 0;
}

.upload-form--scrollable .form-scroll-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
}

.upload-form--scrollable .form-scroll-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0 12px 12px 0;
    scrollbar-gutter: stable both-edges;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.upload-form--scrollable .form-scroll-content::-webkit-scrollbar {
    width: 10px;
}

.upload-form--scrollable .form-scroll-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.upload-form--scrollable .fixed-footer {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 16px;
    border: #0c63e4;
    border-radius: 4px;
}

.upload-form--scrollable .fixed-footer::before {
    content: none;
}

.upload-form--scrollable .fixed-footer .btn-submit {
    width: 100%;
    max-width: 220px;
}

.instructions-accordion {
    margin: 10px 0;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.instructions-toggle {
    /*width: 60%;*/
    background: white;
    color: black;
    padding: 14px 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 2px solid black;
    border-radius: 5px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
}

.toggle-content {
    display: flex;
    gap: 5px;
}

.toggle-icon-wrapper {
    font-size: 14px;
}

.toggle-arrow {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.toggle-arrow.open {
    transform: rotate(180deg);
}

.instructions-content {
    width: 100%;
    max-height: 0;
    margin-left: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.instructions-content.open {
    max-height: 800px;
    padding: 25px;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.step-item {
    counter-increment: step-counter;
    padding: 15px 20px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    position: relative;
}

.instructions-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.instructions-modal-overlay.active {
    display: flex;
}

.instructions-modal {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.instructions-modal-header {
    background-color: #0e2050;
    color: #ffe600;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

.instructions-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #ffe600;
}

.instructions-close-btn {
    background: none;
    border: none;
    color: #ffe600;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.instructions-close-btn:hover {
    color: #fff;
}

.instructions-modal-body {
    padding: 30px;
}

.step-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    background: #0e2050;
    color: #ffe600;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.step-text {
    margin-left: 25px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.help-footer {
    margin-top: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 6px;
    border-left: 4px solid #0066cc;
}

.help-footer p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.help-footer a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.help-footer a:hover {
    text-decoration: underline;
}

.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1050;
}

.modal-content {
    position: relative;
    width: 31%;
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
    margin: 2.5rem 0 1rem 0;
    padding: 0;
    border: none;
    text-align: left;
}

.required-indicator {
    color: #dc3545;
    font-weight: bold;
    margin-left: 4px;
    font-size: 1.1em;
}

.required-field {
    border-left: 3px solid #e0e0e0;
}

.required-field:focus {
    border-left-color: #007bff;
}

.required-field.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.required-field.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.field-error {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.field-error.show {
    display: block;
}

.validation-summary {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.validation-summary ul {
    margin: 0;
    padding-left: 1.5rem;
}

.validation-summary li {
    margin-bottom: 0.5rem;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.warning-message {
    padding: 10px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    border-radius: 4px;
    margin-bottom: 20px;
}

.success-popup {
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    font-weight: bold;
}

.seal-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.helptext {
    margin-bottom: 10px;
    margin-top: -10px;
    font-style: italic;
}

.button-continue {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.button-continue .button-link {
    background-color: #0e2050;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.button-continue .button-link:hover {
    background-color: #1c3a8e;
    transform: translateY(-2px);
}

.seal-modal-content {
    background: #fff;
    border-radius: 10px;
    width: 520px;
    max-width: 80vw;
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.14);
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.message-modal {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    overflow: hidden;
    animation: fadeIn 0.2s ease;
}

.message-modal.success {
    border-top: 4px solid #28a745;
}

.message-modal.error {
    border-top: 4px solid #dc3545;
}

.modal-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    position: relative;
}

.modal-icon img {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.modal-title {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #666;
    transition: 0.2s;
}

.modal-close-btn:hover {
    color: #000;
}

.modal-body {
    padding: 20px;
    color: #444;
    font-size: 15px;
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    color: #333;
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.required {
    color: red;
}

input[type="text"], select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

input[type="file"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

input[type="radio"] {
    cursor: pointer;
}

.section {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.section.active {
    display: block;
}

button {
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 8px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-option input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #007bff;
}

.checkbox-option label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
    color: #333;
}

.checkbox-option:hover {
    background-color: #e9ecef;
    border-radius: 4px;
    padding: 4px;
    margin: -4px;
}

#tags-releases-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 80%;
    max-width: 600px;
    padding: 20px;
    flex-direction: column;
}

.header-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-label {
    font-weight: bold;
    font-size: 14px;
}

.header-label-right {
    font-size: 16px;
    text-align: right;
}

.header-left {
    flex: 1;
}

.header-right {
    flex: 1;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.version-select {
    width: 70%;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: inherit;
}

#resourceSuccessOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#resourceSuccessPopup {
    background: #fff;
    border-radius: 12px;
    padding: 36px 40px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    text-align: center;
    animation: rsFadeIn 0.25s ease;
}

@keyframes rsFadeIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.rs-icon {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 14px;
}

.rs-title {
    font-size: 20px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 8px;
}

.rs-body {
    font-size: 15px;
    color: #444;
    margin-bottom: 24px;
}

.rs-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.rs-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.rs-btn-secondary:hover {
    background: #e0e0e0;
}

.rs-btn-primary {
    background: #0e2050;
    color: #fff;
}

.rs-btn-primary:hover {
    background: #1a3370;
}

#artifactSuccessPopup .popup-icon {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 14px;
}
#artifactSuccessPopup .popup-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #28a745;
}
#artifactSuccessPopup .popup-body,
#artifactErrorPopup .popup-body {
    font-size: 15px;
    color: #444;
    margin-bottom: 22px;
}
#artifactSuccessPopup .countdown-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
}
#artifactSuccessPopup .countdown-ring-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
#artifactSuccessPopup .countdown-ring {
    width: 36px;
    height: 36px;
    transform: rotate(-90deg);
}
#artifactSuccessPopup .countdown-ring circle {
    fill: none;
    stroke-width: 3;
}
:root {
    --popup-countdown-duration: 3s;
}
#artifactSuccessPopup .countdown-ring .track { stroke: #e0e0e0; }
#artifactSuccessPopup .countdown-ring .fill {
    stroke: #28a745;
    stroke-linecap: round;
    stroke-dasharray: 87.96;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset var(--popup-countdown-duration) linear;
}
#artifactSuccessPopup .countdown-number {
    position: absolute;
    font-size: 11px;
    font-weight: 700;
    color: #555;
}
#artifactErrorPopup .popup-icon { font-size: 52px; line-height: 1; margin-bottom: 14px; }
#artifactErrorPopup .popup-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }