.input-style {
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    height: 40px;
    font-size: 16px;
}

.label-style {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
    color: #333;
}

.radio-style {
    margin-right: 20px;
    display: inline-block;
}

.section-header {
    margin-top: 20px;
    margin-bottom: 10px;
}

.submit-button {
    background-color: #dc3545;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    height: 40px;
    font-size: 16px;
}

.upload-button {
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 10px 15px;
    background-color: #f8f9fa;
    width: 100%;
    height: 40px;
    font-size: 16px;
    text-align: center;
}

/* Updated form-container for wider form and black border */
.form-container {
    max-width: 1050px;
    /* Increased width */
    margin: 40px auto;
    background-color: rgba(255, 255, 255, 0.85);
    /* Changed to semi-transparent white */
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
    border: 3px solid #000;
    /* Solid black border */
    border-radius: 8px;
    /* Rounded edges */
    backdrop-filter: blur(5px);
    /* Optional: adds a slight blur to the background */
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.flex-item {
    flex: 1 1 48%;
    min-width: 200px;
}

.flex-item-third {
    flex: 1 1 30%;
    min-width: 150px;
}

.flex-full {
    flex: 1 1 100%;
    min-width: 200px;
}

.submit-container {
    flex: 1 1 100%;
    max-width: 300px;
    margin: 20px auto;
}

.upload-filename {
    display: block;
    color: #6c757d;
    font-size: 14px;
}

.detach-button {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
}

.detach-button:hover {
    background-color: #c82333;
}

.upload-filename {
    font-size: 16px;
    color: #333;
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #ffffff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

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

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

.user-row:hover {
    background-color: #f1f3f5;
    cursor: pointer;
}

.selected-row {
    background-color: #e7f5ff !important;
    font-weight: bold;
    border-left: 4px solid #339af0;
}