body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 20px;
}

.container {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

h1, h2 {
    text-align: center;
    color: #005A9C;
}

.error-message {
    color: red;
    text-align: center;
    margin-top: 10px;
}

/* Combined actions section */
.actions-container {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.action-box {
    flex: 1;
    min-width: 300px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 2px dashed #ddd;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.action-box.drag-over {
    background: #e3f2fd;
    border-color: #005A9C;
    transform: scale(1.02);
}

.action-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #005A9C;
}

/* Adjust form styles for boxes */
.box-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.box-form input[type="url"],
.box-form input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.box-form button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    font-weight: bold;
}

.file-drop-area {
    position: relative;
    width: 100%;
    text-align: center;
}

.file-msg {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
    pointer-events: none;
}

.upload-icon {
    font-size: 2rem;
    color: #005A9C;
    margin-bottom: 10px;
}

.divider {
    width: 2px;
    background-color: #eee;
    align-self: stretch;
    display: none; /* Hidden on mobile/wrapping */
}

@media (min-width: 768px) {
    .divider {
        display: block;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

thead {
    background-color: #005A9C;
    color: #fff;
}

th, td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

button {
    background-color: #007BFF;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background-color: #0056b3;
}

.delete-button {
    background-color: #dc3545;
}

.delete-button:hover:not(:disabled) {
    background-color: #c82333;
}

.check-mark {
    color: green;
    font-size: 20px;
    font-weight: bold;
}

.progress-text {
    margin-left: 10px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}
