/* General Styling for the Custom Fields Wrapper */
.custom-fields-wrapper {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box;
    margin: 20px 0;
}

/* Labels for Input and Select */
.custom-fields-wrapper label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

/* General Input Fields and Select Boxes Styling */
.custom-fields-wrapper input[type="text"],
.custom-fields-wrapper select,
.custom-fields-wrapper textarea {
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
}

/* Specific Styling for File Upload Input */
#custom_file_upload {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer; /* Pointer cursor specifically for file input */
}

/* File Upload Section */
.custom-file-upload {
    margin-top: 10px;
}

.custom-file-upload .file-drop-area {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer; /* Pointer cursor for the drop area */
    background-color: #f4f4f4;
    transition: all 0.3s ease;
}

/* Hover Effects for File Upload Area */
.custom-file-upload .file-drop-area:hover {
    border-color: #0073aa;
    background-color: #eef7fd;
}

.custom-file-upload .file-drop-area span {
    color: #333;
    font-size: 14px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .custom-fields-wrapper {
        padding: 10px;
    }
    .custom-file-upload .file-drop-area {
        padding: 15px;
    }
}