body {
    background-color: #ACBDBA;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    line-height: 1rem;
    color: #2E2F2F;
    padding: 20px;
}
			
.howto {
    text-align: center;
    margin-bottom: 30px;
}

.howto h1 {
    margin-bottom: 10px;
}

.wrapper {
    text-align: center;
    white-space: nowrap;
    margin-bottom: 30px;
}

.wrapper > div {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    margin: 0 10px;
}

.dropzone {
    width: 250px;
    height: 150px;
    border: 2px dashed #A599B5;
    border-radius: 5px;
    background: #CDDDDD;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
}

.dropzone:hover {
    background-color: #BDD0DD;
}

.dropzone.dragover {
    background-color: #A599B5;
    border-color: #2E2F2F;
}

.dropzone-text {
    text-align: center;
    padding: 20px;
}

.file-info {
    font-size: 0.85rem;
    color: #2E2F2F;
    margin-top: 10px;
    word-wrap: break-word;
    max-width: 250px;
}

select {
    border: 2px double #A599B5;
    border-radius: 5px;
    background: #CDDDDD;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    padding: 0.375rem 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    color: #2E2F2F;
    width: 250px;
    height: 160px;
    display: block;
    margin: 0 auto 20px;
}

button {
    border: 2px solid #A599B5;
    border-radius: 5px;
    background: #CDDDDD;
    padding: 0.375rem 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #2E2F2F;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #BDD0DD;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

.status {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.error {
    color: #d32f2f;
}

.success {
    color: #388e3c;
}
		
/* Mobile fix */
@media (max-width: 768px) {
    .wrapper {
        white-space: normal;
    }
    
    .wrapper > div {
        display: block;
        margin: 20px auto;
        width: 100%; /* Add this */
    }
    
    .dropzone {
        width: 90%; /* Makes dropzone responsive */
        max-width: 400px; /* Optional: limits max size */
        margin: 0 auto; /* Centers the dropzone */
    }
    
    select {
        width: 90%; /* Makes select responsive too */
        max-width: 400px;
    }
    
    button {
        padding: 0.75rem 2rem;
        font-size: 1.2rem;
    }
}