/* ULTRA AGGRESSIVE: Hide ALL Vikunja Branding + Custom Logo */

/* Nuclear option: Hide ALL images everywhere */
* img {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    max-height: 0 !important;
    max-width: 0 !important;
}

/* Hide ALL SVGs */
* svg:not([class*="icon"]):not([aria-hidden]) {
    display: none !important;
    visibility: hidden !important;
}

/* Hide ALL background images */
* {
    background-image: none !important;
}

/* Hide picture, figure elements */
picture, figure {
    display: none !important;
}

/* Re-enable small icons only */
.icon img,
[class*="icon"] img,
[aria-label*="icon"] img,
button img,
.btn img {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 24px !important;
    max-width: 24px !important;
}

/* CUSTOM LOGO: Quadratisches Logo oben links */
.navbar-brand::before,
.logo::before,
.navbar .logo-link::before,
.top-navigation .logo::before,
nav .logo::before {
    content: "" !important;
    display: block !important;
    width: 80px !important;
    height: 80px !important;
    background-image: url('/assets/logo.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center left !important;
    margin: 5px 10px !important;
}

/* Login-Seite: Größeres Logo zentriert */
.login-logo::before,
.login .logo::before {
    content: "" !important;
    display: block !important;
    width: 120px !important;
    height: 120px !important;
    background-image: url('/assets/logo.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin: 20px auto !important;
}

/* Text ersetzen */
.login h1:not(:empty),
.login-page h1:not(:empty),
.auth h1:not(:empty) {
    font-size: 0 !important;
}

.login h1:not(:empty)::before,
.login-page h1:not(:empty)::before,
.auth h1:not(:empty)::before {
    content: "Produktion Tasks" !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    display: block !important;
}
