@font-face {
    font-family: '0xProto Nerd Font';
    src: url('../fonts/0xProtoNerdFont-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --background-color: black;
    --text-color: white;
    --primary-color: #D4A5A5;
}

html {
    font-family: '0xProto Nerd Font';
    background-color: var(--background-color);
    color: var(--text-color);
}

body {
    margin: 0;
    padding: 1rem;
}

.main-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}



#drop-zone {
    border: 2px dashed var(--primary-color);
    border-radius: 5px;
    padding: 50px;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}
#drop-zone.dragover {
    background-color: #333;
}
#drop-zone p {
    margin: 0;
    font-size: 1.2em;
}
input[type="file"] {
    display: none;
}
.file-label {
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: underline;
}
#file-list {
    width: 100%;
    margin-top: 10px;
}
.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2a2a2a;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 5px;
    cursor: move;
}
.file-item.dragging {
    filter: brightness(0.5);
}
.file-info {
    font-size: 0.9em;
}
.remove-btn {
    background-color: transparent;
    color: grey;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 0 5px 0 20px;

}
#upload-summary {
    width: 100%;
    margin-top: 15px;
    text-align: center;
}
.size-warning {
    color: #ff4d4d;
    font-weight: bold;
    margin-top: 5px;
}
input[type="submit"] {
    background-color: var(--primary-color);
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
    width: 100%;
    display: none;
    font-family: inherit; /* chromium fix */
}
input[type="submit"]:hover {
    color: white;
}
input[type="submit"]:disabled {
    background-color: #555;
    color: #888;
    cursor: not-allowed;
}
#upload-form {
    padding-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#progress-container {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    margin-top: 10px;
}

#progress-bar {
    width: 0%;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 5px;
    text-align: center;
    line-height: 10px;
    color: white;
}

#upload-btn.uploading {
    background-color: #ccc;
    cursor: not-allowed;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--primary-color);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.header-link:hover {
    text-decoration: underline;
}

.upload-limits {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
}

.header-hint {
    color: var(--text-color);
    font-size: 0.8rem;
}
