html {
    background-color: #00122e;
    min-height: 100vh;
}

body {
    background: linear-gradient(to bottom, #00122e, #000814);
    background-color: #000814;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: .8rem;
    color: white;
    line-height: 1.4rem;
    margin: 10px 0 0;
    padding-bottom: 20px;
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

body::-webkit-scrollbar-thumb {
    background: transparent;
}

img {
    max-width: 400px;
    display: block;
    margin: 2rem auto 1rem;
}

#app-description {
    text-align: center;
    font-size: 1rem;
    color: #cea7ee;
    margin: 0 auto 2.5rem;
}

#main-content {
    display: block;
}

/* Instructions Icon and Text */

.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.instructions-icon-1 {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #00a3fb;
    color: #003762;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.5rem;
    margin-right: 10px;
    cursor: pointer;
}

.instructions-label {
    font-size: 1rem;
    font-family: 'Montserrat';
    font-weight: 700;
}

.overlay-1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    z-index: 9999;
}

.instructions-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    width: calc(100% - 120px);
    max-width: 500px;
    border: 4px solid #003762;
    border-radius: 1rem;
    text-align: left;
}

.instructions-1 h3 {
    color: #00a3fb;
    margin-top: 0;
    text-align: center;
}

.instructions-1 ol {
    padding-left: 20px;
    counter-reset: my-counter;
}

.instructions-1 ol li {
    list-style-type: none;
    counter-increment: my-counter;
    margin-bottom: 0.9rem;
    text-indent: -1rem;
    padding-left: 1rem; /* Creates a hanging effect */
}

.instructions-1 ol li:before {
    content: counter(my-counter) ". ";
    color: #00a3fb;
    font-weight: 700;
}


/* Rest of Styling */


.file-upload {
    width: 300px;
    height: 100px;
    border: 6px dashed #003762;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload label {
    cursor: pointer;
    padding: 25px;
    text-align: center;
    font-size: 1rem;
}

.file-upload.dragover {
    border-color: #00a3fb;
    background-color: rgba(0, 163, 251, 0.25);
}

.file-upload.has-file {
    background-color: rgba(38, 181, 76, 0.75);
    border: 6px solid rgba(38, 181, 76, 1);
}

.element {
    margin-left: 30px;
}

.bin-font {
    font-weight: 700;
    font-size: 1rem;
    color: #9d4edd;
    padding-left: 10px;
}

.sequence-font {
    font-weight: 700;
    font-size: 1rem;
    color: #00a3fb;
    padding-left: 10px;
}

.atm-sequence {
    color: #ffb114;
}

.media-file-name {
    display: none;
}

.custom-line-break {
    line-height: 0.5rem;
}

.bin-export-checkbox,
.export-checkbox {
    display: none;
}

.media-checkbox {
    display: none; /* Hide the default checkbox */
}

.bin-export-custom-checkbox,
.export-custom-checkbox {
    display: inline-block;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    background-color: transparent;
    border: 3px solid #003762;
    border-radius: 0.4rem;
    cursor: pointer;
    vertical-align: middle;
    margin-top: -5px;
    margin-left: -17px;
    margin-right: 2px;
}

.media-custom-checkbox {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: transparent;
    border: 3px solid #003762;
    border-radius: 0.4rem;
    cursor: pointer;
    vertical-align: middle;
    margin-top: -7px;
    margin-left: -10px;
}

.bin-export-checkbox:checked + .bin-export-custom-checkbox {
    background-color: #9d4edd;
}

.export-checkbox:checked + .export-custom-checkbox {
    background-color: #ffb114;
}

.media-checkbox:checked + .media-custom-checkbox {
    background-color: #00a3fb;
}

.xml-container {
    padding: 10px;
    max-width: 750px;
    width: calc(100% - 100px);
    min-height: 400px;
    overflow-y: auto; /* enable vertical scrolling */
    border: 4px solid #003762;
    border-radius: 1rem;
    margin: auto;
    resize: vertical;
}

.xml-container::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.xml-container::-webkit-scrollbar-thumb {
    background: transparent;
}

.xml-container:hover::-webkit-scrollbar-thumb {
    background: #00a3fb;
    border-radius: 1rem;
}

.checkbox-input {
    display: flex;
    justify-content: center;
    padding: 10px, 0px, 10px, 0px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.heading-2 {
    position: relative;
    margin-left: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: -8px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 750px;
}

input[type="text"] {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
    font-family: Montserrat;
    color: #00122e;
    font-size: 1rem;
}

select {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    margin-bottom: .5rem;
    margin-left: 0.5rem;
    font-family: Montserrat;
    color: #00122e;
    font-size: 1rem;
    appearance: none;
}

select::-ms-expand {
    display: none; /* hide the down arrow in Internet Explorer */
}

select option {
    padding-right: 1rem; /* create space between option text and down arrow */
}

label {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Upload XML Button */
label[for="xml-file"] {
    display: center;
    margin-top: 0.6rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #26b54c;
    background-color: white;
    color: #26b54c;
    font-size: 1.2rem;
    font-family: 'Montserrat';
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

label[for="xml-file"]:hover {
    background-color: #26b54c;
    color: white;
}

input[type="date"] {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
    font-family: Montserrat;
    color: #00122e;
    font-size: 1rem;
}

#copy-cells-btn,
#download-csv-btn {
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    border: 2px white;
    color: white;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 0.75rem;
}

#copy-cells-btn {
    background: linear-gradient(135deg, #1c9800, #9bc45a);
    margin-left: auto;
    margin-right: 4px;
}

#download-csv-btn {
    background: linear-gradient(135deg, #18508c, #00a3fb);
    margin-left: 4px;
    margin-right: auto;
}

.bottom-buttons {
    margin: auto;
}

#message-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    margin: 1.5rem 0;
    color: #00a3fb;
}

#skip-files-section {
    max-width: 750px;
    width: calc(100% - 100px);
    margin: 0 auto;
}

#skip-files-section summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: #00a3fb;
    padding: 0.4rem 0;
    user-select: none;
    list-style: none;
}

#skip-files-section summary::before {
    content: '+ ';
}

#skip-files-section[open] summary::before {
    content: '− ';
}

.skip-files-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.5rem 0;
}

.skip-files-content label {
    font-size: 0.9rem;
    font-weight: 400;
}

#skip-files-input {
    background-color: rgba(0, 18, 46, 0.6);
    border: 2px solid #003762;
    border-radius: 0.5rem;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    padding: 0.5rem;
    min-height: 80px;
    resize: vertical;
}

#skip-files-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#filter-extensions-section {
    max-width: 750px;
    width: calc(100% - 100px);
    margin: 0.6rem auto 0;
}

#filter-extensions-section summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: #00a3fb;
    padding: 0.4rem 0;
    user-select: none;
    list-style: none;
}

#filter-extensions-section summary::before {
    content: '+ ';
}

#filter-extensions-section[open] summary::before {
    content: '− ';
}

.filter-ext-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.ext-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ext-group-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ext-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1.2rem;
}

.ext-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
}

.ext-filter-checkbox {
    cursor: pointer;
    accent-color: #00a3fb;
    width: 14px;
    height: 14px;
}

footer {
    display: none;
    padding: 1rem;
    text-align: center;
    width: 100%;
    font-family: Montserrat;
    color: #003762;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 50px;
}
