/* ==========================================================================
   Custom UI Overrides: Hide All Timer & File Upload Elements from Interface
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Timer Elements (Staff/Admin)
   -------------------------------------------------------------------------- */
/* Top header timer button, badges, and dropdowns */
.header-timers,
#top-timers,
.top-timers,
.timer-button,
.started-timers-top,
#started-timers-top,
.icon-started-timers,

/* Tasks DataTables start/stop timer row options */
.tasks-table-start-timer,
.tasks-table-stop-timer,

/* Single task view / modal timer buttons and popovers */
.top-stop-timer,
.started-timers-button,
.popover-top-timer-note,

/* Any modal or popup for timer task selection */
#timer-select-task,

/* Any links or buttons triggering timer_action */
a[onclick*="timer_action"],
button[onclick*="timer_action"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --------------------------------------------------------------------------
   2. File Upload Elements (Projects & Tasks)
   -------------------------------------------------------------------------- */
/* Project files upload dropzone, customer visibility toggle, and cloud pickers */
#project-files-upload,
#pf_visible_to_customer,
label[for="pf_visible_to_customer"],
.onoffswitch:has(#pf_visible_to_customer),
.gpicker[data-on-pick="projectFileGoogleDriveSave"],
#dropbox-chooser,
#dropbox-chooser-project-files,

/* Task attachments dropzone, comment attachment area, and cloud pickers */
#task-attachment,
#dropbox-chooser-task,
#dropzoneTaskComment,
.task-comment-dropzone,
.dropzone-task-comment-previews,

/* New task creation attachment slide toggle and container */
#new-task-attachments,
a[onclick*="#new-task-attachments"],

/* Client portal task file upload dropzone */
#task-file-upload {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
