div.login-ui {

    background: url('app/ext/branding/images/bg.png') center center / cover no-repeat fixed;
    background-color: #0f1115; /* kolor zapasowy gdy obraz się nie załaduje */
}

.login-ui .login-dialog .logo {
    width: 10em;
    background: url('app/ext/branding/images/logo.png') no-repeat center center;
    background-size: contain;
}

.login-ui .login-dialog {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh; /* pełna wysokość okna przeglądarki */
    /*background: #14171d;*/
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    
    max-width: 40%; /* Szerokość prawej strony */
    display: flex;
    justify-content: center; /* poziome wyśrodkowanie */
    align-items: center;     /* pionowe wyśrodkowanie */
}

.login-form { /* Centrowanie form na środku prawej strony */
    width: 100%;
    max-width: 50%;
}


.login-ui.error p.login-error {
    position: fixed;       /* lub absolute jeśli jest wewnątrz login-dialog */
    top: 0px;             /* odległość od góry ekranu */
    right: 0;              /* przy prawej krawędzi */
    left: auto;
    box-sizing: border-box;
    margin: 0;
    width: 40%;            /* pasuje do szerokości panelu logowania */
    background: rgba(255, 0, 0, 0.85); /* czerwone tło dla błędu */
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 0px; /* lekko zaokrąglone narożniki po lewej */
    z-index: 200;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.3);
    text-align: center;
    border: 0;
}


.login-ui .sso-providers  {
    width: 40% !important;;
    position:  absolute !important;;       /* lub absolute jeśli jest wewnątrz login-dialog */
    bottom: 0px !important;;             /* odległość od góry ekranu */
    right: 0 !important;            /* przy prawej krawędzi */
    left: auto !important;
    padding: 5px;
    box-sizing: border-box;
    
}


/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Label/tag denoting the user that shared a connection */
.jdbc-share-tag {

    background: #0095ff;
    padding: 0.25em;

    -moz-border-radius:    0.25em;
    -webkit-border-radius: 0.25em;
    -khtml-border-radius:  0.25em;
    border-radius:         0.25em;

    color: white;
    font-size: 0.75em;
    font-weight: bold;

}
.quickconnect-container{margin:.25em 0;width:100%;margin-left:.50em}.quickconnect-container .quickconnect-field{background-image:url('images/protocol-icons/guac-text.png');background-repeat:no-repeat;background-size:1.50em;background-position:.25em center;background-color:transparent;padding:.25em;padding-left:2.50em;width:100%;max-width:none;border:0;box-sizing:border-box}.quickconnect-button{clear:both;float:right;margin-right:.75em;font-size:.75em;padding:.25em}.quickconnect-list-item{vertical-align:middle;align-content:center;display:flex}/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

.login-ui .sso-providers {

    padding: 0.25em 0.5em;
    position: absolute;
    bottom: 0;
    left: 0;

    display: none;

}

.login-ui .sso-providers:last-child {
    display: block;
}

.sso-providers ul {
    list-style: none;
}

.sso-providers ul, .sso-providers li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.sso-providers li::before {
    content: ' / ';
}

.sso-providers li:first-child::before {
    display: none;
}
