/* Toast notification styles */
#cu-toast {
    visibility: hidden;
    min-width: 250px;
    /*margin-left: -125px;*/
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    position: absolute;
    z-index: 9999;
    /*left: 50%;*/
    /*bottom: 30px;*/
    top:0;
    right:0;
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
}

#cu-toast.show {
    visibility: visible;
    opacity: 1;
}

#cu-toast.success {
    background-color: #4CAF50;
}

#cu-toast.error {
    background-color: #f44336;
}

/* Style for the disabled upload button */
#cu-upload-form button[type="submit"]:disabled {
    background-color: #cccccc; /* Light grey background for disabled state */
    color: #666666; /* Darker grey text color for disabled state */
    cursor: not-allowed; /* Show not-allowed cursor */
    opacity: 0.6; /* Make the button slightly transparent */
    position: relative;
}


/* Optional: Additional styles for the upload button */
#cu-upload-form button[type="submit"] {
    background-color: #0073aa; /* Default WordPress blue */
    color: white; /* White text */
    padding: 10px 20px; /* Padding for better appearance */
    border: none; /* Remove default border */
    border-radius: 4px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor */
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

#cu-upload-form button[type="submit"]:hover:not(:disabled) {
    background-color: #005f8d; /* Darker blue on hover, if not disabled */
}

