:root {
    --primary: #00d2d3;
    --primary-hover: #48dbfb;
    --bg: #ffffff;
    --card-bg: #ffffff;
    --text: #2d3436;
    --border-color: #000000;
    --shadow: 4px 4px 0px 0px #000000;
}

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

body {
    font-family: 'Comic Neue', cursive;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

header {
    text-align: center;
    margin-bottom: 1rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
}

header p {
    font-weight: 700;
    font-size: 1.1rem;
    color: #636e72;
}

.card {
    background: var(--card-bg);
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.status-header {
    background: var(--bg);
    border-bottom: 3px solid var(--border-color);
    padding: 0.75rem 1rem;
    text-align: center;
}

.status-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.id-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f2f6;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    font-size: 1.4rem;
    font-weight: 700;
    width: 100%;
    justify-content: space-between;
}

.comic-btn {
    background: var(--primary);
    border: 2px solid var(--border-color);
    box-shadow: 2px 2px 0px 0px #000;
    color: black;
    font-family: inherit;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.1s;
    text-transform: uppercase;
}

.comic-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px 0px #000;
    background: var(--primary-hover);
}

.comic-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px 0px #000;
}

.comic-btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.drop-zone {
    border: 3px dashed var(--border-color);
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.drop-zone:hover {
    background: #f1f2f6;
    border-style: solid;
}

.drop-zone .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Files List - Improved Layout */
.files-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
}

.file-item {
    background: white;
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow);
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.file-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.file-info {
    flex: 1;
    min-width: 200px;
}

.file-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    word-break: break-word;
    line-height: 1.3;
}

.file-meta {
    font-size: 0.85rem;
    color: #636e72;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    display: none;
    margin-top: 0.75rem;
}

.progress-bar {
    height: 26px;
    border: 3px solid var(--border-color);
    background: #fff;
    overflow: hidden;
    position: relative;
    box-shadow: 2px 2px 0px 0px #000;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.2s linear;
}

.progress-text {
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    color: var(--text);
}

.empty-state {
    text-align: center;
    color: #b2bec3;
    font-style: italic;
    padding: 3rem 2rem;
    font-size: 1.1rem;
}

.files-panel {
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 650px) {
    .container {
        max-width: 100%;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-info {
        width: 100%;
    }

    .comic-btn.small {
        width: 100%;
    }
}