img.thumb {
    height: 180px; /* Slightly smaller height to fit better */
    width: 180px; /* Slightly smaller width to maintain balance */
    border: 1px solid #444; /* Softer border to blend with dark theme */
    object-fit: cover; /* Fill the box, cropping as necessary */
    border-radius: 8px; /* More rounded corners for a modern look */
    padding: 4px;
    margin: 10px 10px 0 0; /* Adjusted margin for consistent spacing */
    background-color: #2b2b2b; /* Dark background for better contrast */
}

.file-delete {
    width: fit-content;
    font-size: medium; /* Adjusted font size to better match the UI */
    margin: 5px auto; /* Added top margin for better spacing */
    cursor: pointer;
    padding-right: 0px;
    color: #e74c3c; /* Red color for delete action for visibility */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.file-delete:hover {
    color: #c0392b; /* Darker red on hover */
}

.file-block {
    display: inline-flex;
    flex-grow: 1;
    flex-direction: column-reverse;
    align-items: center; /* Center align the delete button */
}

.img_done {
    max-height: 280px; /* Adjusted to fit within a clean layout */
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 20px 0 20px; /* Consistent margin spacing */
    border-radius: 8px; /* Match the preview's rounded corners */
    background-color: #2b2b2b; /* Background color to match thumbnails */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Soft shadow for depth */
}


.qqfile {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 118px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    height: 100%;
    width: 174px;
}

.qqfile_none {
    display: none;
}

.upload_button {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 160px;
    padding: 7px;
}



/*.file-block {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    padding: 0.5rem;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 0.5rem;*/
/*    background-color: #1f2937; !* Dark background *!*/
/*}*/

/*.file-delete {*/
/*    cursor: pointer;*/
/*    color: #f87171;*/
/*    font-weight: bold;*/
/*    margin-right: 0.5rem;*/
/*}*/
