/*
 * 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}/* Secure People presentation layer. Authentication controls remain native. */
.login-ui {
  background: radial-gradient(ellipse at top left, #e3f6fd 0, #f3f7fa 48%, #e8eef3 100%) !important;
  font-family: "Segoe UI", Arial, sans-serif;
}
.login-ui .login-dialog {
  background: #fff;
  border: 1px solid #dce5eb;
  border-top: 5px solid #00aeef;
  border-radius: 12px;
  box-shadow: 0 16px 60px rgba(20, 45, 65, .12);
  padding: 2em;
  max-width: calc(100vw - 6em);
}
.login-ui .login-dialog .logo {
  background-image: url('app/ext/secure-people/logo.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  width: 310px !important;
  max-width: 100%;
  height: 74px !important;
  margin: 0 auto 1.4em;
}
.login-ui .login-dialog .version { margin: 0 0 1.7em; }
.login-ui .login-dialog .version::after {
  content: "";
  display: block;
  width: 240px;
  max-width: 100%;
  height: 76px;
  margin: 14px auto 0;
  background-image: url('app/ext/secure-people/gallagher-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 240px 240px;
}
.login-ui .login-dialog .version-number { display: none !important; }
.login-ui .login-dialog .app-name { font-size: 0 !important; }
.login-ui .login-dialog .app-name::after {
  content: "Gallagher Remote Access";
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #222;
  letter-spacing: 0;
  text-transform: none;
}
.login-ui .login-dialog input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {
  box-sizing: border-box;
  border: 1px solid #aebdc8;
  border-radius: 5px;
  color: #20252a;
  min-height: 42px;
  font-family: inherit;
}
.login-ui .login-dialog input:focus-visible {
  outline: 3px solid #9cddf5;
  outline-offset: 2px;
}
.login-ui .login-dialog input[type="submit"],
.login-ui .login-dialog button {
  background: #007eac;
  color: white;
  border: 1px solid #007eac;
  border-radius: 5px;
  min-height: 42px;
  font-family: inherit;
  font-weight: 600;
  text-shadow: none;
}
.login-ui .login-dialog input[type="submit"]:hover,
.login-ui .login-dialog button:hover { background: #006688; }
.login-ui .login-dialog a { color: #006f97; }
.login-ui .login-dialog::after {
  content: "Secure People \00b7 Authorised access only";
  display: block;
  text-align: center;
  color: #596974;
  font-size: 12px;
  margin-top: 25px;
}
@media (max-width: 480px) {
  .login-ui .login-dialog { padding: 1.25em; max-width: calc(100vw - 4em); }
  .login-ui .login-dialog .logo { width: 260px !important; height: 62px !important; }
}
