/*
Primary Font: 'Playfair Display', serif; (For headings)
Secondary Font: 'Montserrat', sans-serif; (For body text)
Background Color: #FDFBF7 (A warm, soft off-white)
Text Color: #333333 (Dark charcoal)
Accent Color: #556B2F (Dark Olive Green)
Accent Hover: #4A5D28
*/

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FDFBF7;
    color: #333333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    max-width: 500px;
    width: 100%;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    box-sizing: border-box;
}


input[type="file"] {
    display: none;
}

.custom-file-upload {
    display: inline-block;
    background: #556B2F;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.custom-file-upload:hover {
    background: #4A5D28;
}

button {
    background: #556B2F;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background: #4A5D28;
}

button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

#fileListContainer {
    text-align: left;
    margin-top: 20px;
}

#fileList {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}

#fileList li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    font-size: 0.95em;
    color: #333;
    border-bottom: 1px solid #eee;
}

#fileList li:last-child {
    border-bottom: none;
}

.file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 85%;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #333333;
    font-weight: 700;
}

.status-icon .spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #556B2F;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

.status-icon .checkmark {
    color: #556B2F;
    font-size: 1.2em;
    font-weight: bold;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



#confirmation h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    margin: 0;
    padding: 20px 0 10px;
    color: #333333;
    font-weight: 700;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8em;
    }

    .container {
        padding: 20px;
        margin: 20px;
    }
}