/* Finstack Access Portal theme for Apache Guacamole 1.6.0 */

html,
body,
body.login-ui,
.login-ui {
    background-color: #e9e5fb !important;
    background-image: url("../images/finstack-background.png") !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

body.login-ui #content,
body.login-ui .login-ui,
.login-ui .login-dialog-container,
.login-ui .login-dialog-middle {
    background-color: transparent !important;
    background-image: none !important;
}

.login-ui .login-dialog-middle {
    width: min(92vw, 29rem) !important;
    max-width: 29rem !important;
}

.login-ui .login-dialog {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 29rem !important;
    margin: 0 auto !important;
    padding: 1.5rem 2rem 1.25rem !important;
    border: 1px solid rgba(91, 65, 179, 0.12) !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 20px 50px rgba(48, 38, 96, 0.18) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Hide the stock Apache Guacamole wordmark only on the login screen. */
.login-ui .login-dialog > .logo,
.login-ui .login-dialog .logo {
    display: none !important;
}

.finstack-branding {
    display: block !important;
    margin: 0 0 1.05rem !important;
    text-align: center !important;
}

.finstack-logo {
    display: block !important;
    width: 13.5rem !important;
    max-width: 72% !important;
    height: auto !important;
    margin: 0 auto 0.7rem !important;
}

.finstack-branding h1 {
    margin: 0 0 0.3rem !important;
    color: #10254b !important;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.finstack-branding p {
    margin: 0 !important;
    color: #68758f !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

.login-ui .login-fields,
.login-ui .form-group {
    width: 100% !important;
}

.login-ui input[type="text"],
.login-ui input[type="password"],
.login-ui input[type="email"] {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 2.75rem !important;
    border: 1px solid #cbd3e2 !important;
    border-radius: 7px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.login-ui input:focus {
    border-color: #6b48c8 !important;
    box-shadow: 0 0 0 3px rgba(107, 72, 200, 0.14) !important;
    outline: none !important;
}

.login-ui input[type="submit"],
.login-ui button.login,
.login-ui .login-dialog button {
    width: 100% !important;
    min-height: 2.75rem !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: linear-gradient(90deg, #5430b5, #7148cc) !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 18px rgba(91, 57, 184, 0.20) !important;
}

.finstack-login-footer {
    margin: 0.8rem auto 0 !important;
    color: #596783 !important;
    font-size: 0.82rem !important;
    line-height: 1.65 !important;
    text-align: center !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}

.finstack-login-footer small {
    color: #26395c !important;
    font-size: 0.76rem !important;
}

@media (max-width: 600px) {
    html,
    body,
    body.login-ui,
    .login-ui {
        background-attachment: scroll !important;
    }

    .login-ui .login-dialog-middle {
        width: 93vw !important;
    }

    .login-ui .login-dialog {
        padding: 1.25rem 1.2rem 1.1rem !important;
        border-radius: 13px !important;
    }

    .finstack-logo {
        width: 11.5rem !important;
    }
}
/*
 * 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}