/* General form and modal styles from before */
body {
    font-family: sans-serif;
}

.hidden {
    display: none;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 800px;
}

fieldset {
    border: 1px solid #ccc;
    padding: 1em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

input, textarea, select, button {
    padding: 0.8em;
    font-size: 1em;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button {
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
}

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

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 25px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
}

/* New Dropbox Styles */
.dropbox {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.2s, border-color 0.2s;
}

.dropbox.dragover {
    border-color: #007bff;
    background-color: #e9f5ff;
}

.dropbox p {
    margin: 0;
    font-size: 1.1em;
    color: #555;
}

.dropbox .file-name {
    font-weight: bold;
    color: #007bff;
    margin-top: 10px;
    display: block;
}

.dropbox input[type="file"] {
    display: none; /* Hide the actual file input */
}
