/*
 * ENCODE branding for Apache Guacamole
 */


/* =========================================================
   PAGE
   ========================================================= */

.login-ui {
    background: #f7f8fa;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.login-ui .login-dialog {
    width: 320px !important;

    box-sizing: border-box;

    padding: 30px 32px 32px 32px;

    background: #ffffff;

    border: 1px solid #e1e5e9;
    border-radius: 10px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   ENCODE LOGO
   ========================================================= */

.login-ui .login-dialog .logo {
    display: block;

    width: 220px !important;
    max-width: 100% !important;
    height: 70px !important;

    margin: 0 auto 24px auto !important;

    background-image:
        url('app/ext/encode-branding/resources/images/logo_horizontal.svg') !important;

    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;

    box-sizing: border-box;
}


/* =========================================================
   REMOVE "ENCODE REMOTE ACCESS" / "APACHE GUACAMOLE"
   ========================================================= */

.login-ui .login-dialog .title {
    display: none !important;
}


/* =========================================================
   FORM
   ========================================================= */

.login-ui .login-dialog .login-fields {
    margin-top: 0 !important;
}


.login-ui .login-dialog input[type="text"],
.login-ui .login-dialog input[type="password"] {
    width: 100%;

    box-sizing: border-box;

    padding: 10px 12px;

    font-size: 15px;

    border: 1px solid #cbd3da;
    border-radius: 5px;

    background: #ffffff;
}


.login-ui .login-dialog input[type="text"]:focus,
.login-ui .login-dialog input[type="password"]:focus {
    outline: none;

    border-color: #00436B;

    box-shadow:
        0 0 0 2px rgba(0, 67, 107, 0.12);
}


/* =========================================================
   LOGIN / CONTINUE BUTTON
   ENCODE dark blue
   ========================================================= */

.login-ui input[type="submit"],
.login-ui button,
.login-ui a.button {
    background: #00436B !important;
    color: #ffffff !important;

    border: 1px solid #00436B !important;
    border-radius: 5px !important;

    font-size: 15px;
    font-weight: 600;

    min-height: 42px;

    cursor: pointer;

    box-shadow: none !important;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}


/* Hover */

.login-ui input[type="submit"]:hover,
.login-ui button:hover,
.login-ui a.button:hover {
    background: #003653 !important;
    border-color: #003653 !important;
}


/* Pressed */

.login-ui input[type="submit"]:active,
.login-ui button:active,
.login-ui a.button:active {
    background: #002d46 !important;
    border-color: #002d46 !important;
}


/* Disabled */

.login-ui input[type="submit"]:disabled,
.login-ui button:disabled {
    opacity: 0.55;
    cursor: default;
}


/* =========================================================
   2FA NOTICE
   ========================================================= */

.encode-security-message {
    width: 320px;

    box-sizing: border-box;

    margin: 14px auto 0 auto;
    padding: 10px 14px;

    text-align: center;

    font-size: 13px;
    color: #45515b;

    background: #ffffff;

    border: 1px solid #e1e5e9;
    border-radius: 6px;
}


.encode-security-icon {
    display: inline-block;

    margin-right: 6px;

    color: #16823b;
    font-weight: 700;
}
/*
 * 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}