/* Hide left sidebar */
.component_sidebar,
aside,
.sidebar {
    display: none !important;
}

/* Expand main area */
.page_files .component_page_container {
    margin-left: 0 !important;
    width: 100% !important;
}

/* Hide Tags section */
.component_tags {
    display: none !important;
}

/* Hide logout button
.icon-power,
.fa-power-off,
[href*="logout"] {
    display: none !important;
} */

/* Hide search, view mode and sorting controls */
.icon-search,
.icon-list,
.icon-grid,
.icon-sort,
.action_search,
.action_sort {
    display: none !important;
}

/* Hide NEW FOLDER button */
button[data-action="mkdir"],
.action_mkdir,
.component_action.mkdir {
    display: none !important;
}

/* Keep upload button visible */
button[data-action="upload"] {
    display: inline-flex !important;
}

/* Optional: make title larger */
h1 {
    font-size: 2rem !important;
}

div.component_submenu.container[role="toolbar"] {
    display: none !important;
}

/* Disable floating positioning */
.component_mobilefileupload {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
}

/* Center the upload component */
div[is="component_upload_fab"] {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    position: static !important;
}

/* Style upload button */
.component_mobilefileupload label {
    width: 220px !important;
    height: 60px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #4d4d4d !important;
    cursor: pointer !important;
}

/* Make icon larger */
.component_mobilefileupload img {
    width: 28px !important;
    height: 28px !important;
}

.empty .label {
    font-size: 0 !important;
}

.empty .label::after {
    content: "Dra filene her, eller klikk på Last opp knappen over. Filene forsvinner kort tid etter at du hadde lastet opp.";
    font-size: 24px;
    color: #666;
}

.component_path-element .label div[aria-current="location"] {
    color: transparent !important;
    position: relative;
}

.component_path-element .label div[aria-current="location"]::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 80px;
    background: url("https://lomedia.no/wp-content/uploads/2024/11/LO_Media-logo-200px.png") center center / contain no-repeat;
}

.common_response_page form::before {
    content: "";
    display: block;
    width: 300px;
    height: 120px;
    margin: 0 auto 30px auto;
    background: url("https://lomedia.no/wp-content/uploads/2024/11/LO_Media-logo-200px.png") center center / contain no-repeat;
}