/* ===== PANDZIA LOGIN BACKGROUND ===== */
body:has(input[type="password"]) {
    background-image:
        linear-gradient(rgba(5, 12, 18, 0.18), rgba(5, 12, 18, 0.18)),
        url("https://pandzia.com.pl/login-panda-bg.png") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

body:has(input[type="password"]) #__next {
    background: transparent !important;
}
/* ===== /PANDZIA LOGIN BACKGROUND ===== */


/* ===== PANDZIA LOGIN TEXT ===== */

/* Usuń LOGIN REQUIRED */
body:has(input[type="password"]) :is(div, span):has(+ h1) {
    display: none !important;
}

/* Homepage -> Pandzia */
body:has(input[type="password"]) h1 {
    font-size: 0 !important;
}

body:has(input[type="password"]) h1::after {
    content: "Pandzia";
    font-size: 2rem;
}

/* Opis */
body:has(input[type="password"]) h1 + p {
    font-size: 0 !important;
}

body:has(input[type="password"]) h1 + p::after {
    content: "Wpisz hasło, aby otworzyć panel.";
    font-size: 1rem;
}

/* Sign in -> Logowanie */
body:has(input[type="password"]) h2 {
    font-size: 0 !important;
}

body:has(input[type="password"]) h2::after {
    content: "Logowanie";
    font-size: 1.25rem;
}

/* Password -> Hasło */
body:has(input[type="password"]) label {
    font-size: 0 !important;
}

body:has(input[type="password"]) label::after {
    content: "Hasło";
    font-size: 0.95rem;
}

/* Sign in -> Zaloguj */
body:has(input[type="password"]) button {
    font-size: 0 !important;
}

body:has(input[type="password"]) button::after {
    content: "Zaloguj →";
    font-size: 0.95rem;
}

/* ===== /PANDZIA LOGIN TEXT ===== */
