/* Upload card */
.upload-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.upload-card h1 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Drop zone */
.drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    color: var(--text-muted);
    font-size: .9rem;
}

.drop-zone:hover,
.drop-zone.has-file {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--text);
}

.drop-zone.has-error {
    border-color: var(--red);
    background: color-mix(in srgb, var(--red) 10%, transparent);
    color: var(--red);
}

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

.drop-zone svg {
    opacity: .5;
}

.drop-zone.has-file svg {
    opacity: 1;
    color: var(--accent);
}

/* Preview */
.preview-thumb {
    border-radius: 8px;
    height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
}


@media (max-width: 600px) {
    .upload-card {
        padding: 1.25rem;
    }
}
