/*!***************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./public/static/style.css ***!
  \***************************************************************************/
/* Reset some default browser styles */
body,
h1,
p,
input {
    margin: 0;
    padding: 0;
    border: none;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

input[type="file"] {
    padding: 10px;
    border: 2px solid #3498db;
    border-radius: 6px;
    background-color: #1e1e1e;
    color: #ffffff;
    font-size: 1rem;
    width: 80%;
    max-width: 300px;
    margin: 0 auto 15px;
    transition: border-color 0.3s ease-in-out;
    display: flex
}

input[type="file"]:hover {
    border-color: #27ae60;
}

#message {
    font-size: 1.2rem;
    font-weight: bold;
    color: #27ae60;
    margin-top: 10px;
}

#footer {
    position: fixed;
    bottom: 10px;
    /* Position it 10 pixels from the bottom of the screen */
    left: 50%;
    transform: translateX(-50%);
    /* This will center the footer */
}

#footer a {
    font-size: 0.9rem;
    /* Smaller font size for the link */
    color: #bbb;
    /* Lighter color for better contrast against black */
    transition: color 0.3s ease;
    /* Smooth transition for hover effect */
}

#footer a:hover {
    color: #fff;
    /* Change color on hover for a slight effect */
    text-decoration: underline;
    /* Add underline on hover */
}

progress {
    width: 40%;
    height: 20px;
    display: none;
    margin: 20px auto;
    background-color: #333;
    border: none;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) inset;
}

progress::-webkit-progress-bar {
    background-color: #333;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) inset;
}

progress::-webkit-progress-value {
    background-color: #3498db;
    border-radius: 5px;
}

progress::-moz-progress-bar {
    background-color: #3498db;
    border-radius: 5px;
}

#settings-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: #1e1e1e;
    padding: 20px;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
    /* overflow-y: auto; */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

#settings-sidebar h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#settings-sidebar label,
#settings-sidebar select {
    display: block;
    margin-bottom: 10px;
}

#settings-sidebar select {
    width: 100%;
    padding: 10px;
    border: 2px solid #3498db;
    background-color: #1e1e1e;
    color: #ffffff;
    font-size: 1rem;
    border-radius: 6px;
}

#settings-sidebar select:hover {
    border-color: #27ae60;
}

#settings-sidebar.show {
    transform: translateX(0);
}

#toggle-settings {
    position: relative;
    top: 50%;
    left: -45px;
    transform: translateY(-50%);
    width: 25px;
    height: 40px;
    background-color: #1e1e1e;
    border: none;
    cursor: pointer;
    z-index: 2;
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
}

#toggle-settings::before,
#toggle-settings::after {
    content: '';
    border: solid white;
    border-width: 2px 2px 0 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(225deg);
    /* rotate to make arrow */
    transform-origin: center center;
    position: relative;
}

#toggle-settings.open::before,
#toggle-settings.open::after {
    transform: translateX(-100%);
    transform: rotate(45deg);
}

/* #settings-sidebar input[type="number"] {
    width: 80%;
    padding: 10px;
    border: 2px solid #3498db;
    background-color: #1e1e1e;
    color: #ffffff;
    font-size: 1rem;
    border-radius: 6px;
}

#settings-sidebar input[type="number"]:hover {
    border-color: #27ae60;
} */



#settings-sidebar input {
    border: 2px solid #3498db;
    background-color: #1e1e1e;
    color: #ffffff;
}

#settings-sidebar label,
#settings-sidebar input {
    color: #ffffff;
    font-size: 1rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 15px;
    margin-right: 10px;
    vertical-align: middle;
}

/* File list styling */
#file-list-container {
    margin: 20px auto;
    max-width: 400px;
    text-align: center;
}

#file-list-container h3 {
    margin-bottom: 10px;
}

#file-list-container .hint {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

#file-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

#file-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    margin: 5px 0;
    background-color: #1e1e1e;
    border-radius: 6px;
    border: 1px solid #333;
    cursor: grab;
}

#file-list li:hover {
    border-color: #3498db;
}

#file-list li.dragging {
    opacity: 0.5;
    border-color: #27ae60;
}

#file-list li .file-name {
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#file-list li .file-order {
    color: #888;
    margin-right: 10px;
    min-width: 25px;
}

#file-list li .file-controls {
    display: flex;
    gap: 5px;
}

#file-list li .file-controls button {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

#file-list li .file-controls button:hover {
    background-color: #3498db;
}

#file-list li .file-controls button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#start-processing {
    padding: 12px 30px;
    font-size: 1.1rem;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#start-processing:hover {
    background-color: #2ecc71;
}

#start-processing:disabled {
    background-color: #555;
    cursor: not-allowed;
}

/* Status container styling */
#status-container {
    margin: 20px auto;
    text-align: center;
}

#status-message {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    min-height: 1.5em;
}

#status-message.status-info {
    color: #3498db;
}

#status-message.status-success {
    color: #27ae60;
}

#status-message.status-error {
    color: #e74c3c;
}

#status-message.status-processing {
    color: #f39c12;
}

#download-button {
    padding: 12px 30px;
    font-size: 1.1rem;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

#download-button:hover {
    background-color: #2ecc71;
}

/* Version display */
#version {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 0.75rem;
    color: #666;
}
