/*
 * 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;

}
.totp-enroll p,.totp-details{font-size:.8em}.totp-qr-code{text-align:center}.totp-qr-code img{margin:1em;border:1px solid rgba(0,0,0,0.25);box-shadow:1px 1px 2px rgba(0,0,0,0.25);cursor:pointer}h3.totp-details-header{font-size:.8em}h3.totp-details-header::before{content:'▸ '}.totp-details-visible h3.totp-details-header::before{content:'▾ '}.totp-details,.totp-hide-details{display:none}.totp-details-visible .totp-details{display:table}.totp-details-visible .totp-hide-details{display:inline}.totp-details-visible .totp-show-details{display:none}.totp-hide-details,.totp-show-details{color:blue;text-decoration:underline;cursor:pointer;margin:0 .25em;font-weight:normal}.totp-details{margin:0 auto}.totp-details th{padding-right:.25em;text-align:left}.totp-details td{font-family:monospace}.totp-detail{display:inline-block;margin:0 .25em}/* Saica login appearance; authentication and continuation forms remain native. */
div.login-ui {
    background: linear-gradient(155deg, #fbfcfa 0%, #f0f5f1 100%);
    color: #23352b;
}
.login-ui .login-dialog {
    box-sizing: border-box;
    width: 350px;
    max-width: calc(100vw - 32px);
    padding: 30px 28px 28px;
    background: #fff;
    border: 1px solid #dce5df;
    border-radius: 10px;
    box-shadow: 0 10px 36px rgba(24, 59, 38, 0.07);
}
.login-ui .login-dialog .logo {
    width: 190px;
    height: 100px;
    margin: 0 auto 22px;
    background: url('app/ext/saica-rdp-branding/images/saica-logo.png') center / contain no-repeat;
}
.login-ui .login-dialog .version {
    margin: 0 0 24px;
    padding: 0;
}
.login-ui .login-dialog .version .app-name {
    color: #23352b;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.2px;
    text-transform: none;
}
.login-ui .login-dialog .login-fields input {
    box-sizing: border-box;
    border: 1px solid #cbd5ce;
    border-radius: 5px;
    padding: 10px 12px;
    min-height: 40px;
}
.login-ui .login-dialog .login-fields input:focus {
    border-color: #00843d;
    outline: 2px solid rgba(0, 132, 61, 0.12);
    outline-offset: 1px;
}
.login-ui .login-dialog .buttons input[type="submit"] {
    background: #00843d;
    border: 1px solid #00843d;
    border-radius: 5px;
    color: #fff;
    min-height: 42px;
    font-weight: 600;
    box-shadow: none;
}
.login-ui .login-dialog .buttons input[type="submit"]:hover {
    background: #006e33;
    border-color: #006e33;
}
.login-ui .saica-signature {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: max(18px, env(safe-area-inset-bottom));
    margin: 0;
    color: #727d76;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.1px;
    text-align: center;
    pointer-events: none;
}
@media (max-height: 520px) {
    .login-ui .login-dialog-middle { padding-top: 20px; padding-bottom: 60px; }
    .login-ui .saica-signature { bottom: 10px; }
}
