/* Tło ekranu logowania Roundcube */

html,
body.task-login {
    min-height: 100vh !important;
}

body.task-login {
    background-image: url("images/login-bg.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* Roundcube Elastic potrafi przykrywać tło tymi warstwami */
body.task-login #layout,
body.task-login #layout-content,
body.task-login #layout-sidebar,
body.task-login .watermark {
    background: transparent !important;
}

/* Lekka ciemna nakładka */
body.task-login::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
    pointer-events: none;
}

/* Formularz nad nakładką */
body.task-login #layout,
body.task-login #layout-content,
body.task-login #login-form,
body.task-login #logo {
    position: relative;
    z-index: 1;
}

/* Karta logowania */
body.task-login #login-form {
    background: rgba(255, 255, 255, 0.92) !important;
    padding: 28px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35) !important;
}
