/*
  This ensures the main content area grows to push the footer down,
  making the footer "sticky" at the bottom of the viewport.
*/
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

/* Custom styles for the file input area to create a "drop zone" effect */
.file-drop-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem;
    border: 2px dashed #cbd5e1;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.file-drop-area:hover {
    background-color: #f0f4ff;
    border-color: #4f46e5;
}

.file-drop-area .file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
}

/* Style for the file list preview */
#file-list {
    list-style-type: none;
    padding: 0;
    margin-top: 1rem;
}

#file-list li {
    display: flex;
    align-items: center;
    background-color: #f8fafc;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
}