/*
 * 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}/* Консалт Недвижимость: фирменный тёмно-синий #1c2d58 */
.login-ui {
  background: radial-gradient(circle at 20% 10%, #2a4280 0%, #1c2d58 45%, #121d3b 100%) !important;
}
.login-ui::before {
  content: ""; position: fixed; top: 6vh; left: 50%; transform: translateX(-50%);
  width: 240px; height: 52px;
  background: url('app/ext/kn-brand/images/logo.png') center / contain no-repeat;
}
.login-ui .login-dialog {
  background: #fff; border-radius: 16px; border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,.35); padding: 28px 28px 20px;
  max-width: 360px;
}
.login-ui .login-dialog .logo {
  background-image: url('app/ext/kn-brand/images/mark.png') !important;
  width: 72px; height: 72px; background-size: contain; margin: 0 auto 8px;
  border-radius: 14px;
}
.login-ui .login-dialog .version .app-name { color: #1c2d58; font-weight: 600; font-size: 1.3em; text-transform: none; }
.login-ui .login-dialog .version .version-number { display: none; }
.login-ui .login-fields input { border-radius: 8px; border: 1px solid #c9d1df; padding: .6em .75em; }
.login-ui .login-fields input:focus { border-color: #1c2d58; outline: none; box-shadow: 0 0 0 3px rgba(28,45,88,.15); }
.login-ui .buttons input[type="submit"], button, input[type="submit"] {
  background: #1c2d58 !important; border-color: #1c2d58 !important; border-radius: 8px; color: #fff;
}
.login-ui .buttons input[type="submit"]:hover, button:hover { background: #2a4280 !important; }
/* шапка и список подключений */
.header { background: #1c2d58 !important; color: #fff; }
.header h2, .header .user-menu { color: #fff !important; }
.recent-connections .connection { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(28,45,88,.15); }
.list-item:hover { background: #eaf0ff; }
.login-ui .kn-register { text-align: center; margin: 14px 0 0; font-size: .95em; color: #6b7280; }
.login-ui .kn-register a { color: #1c2d58; font-weight: 600; text-decoration: none; }
.login-ui .kn-register a:hover { text-decoration: underline; }

.login-ui .kn-register .kn-help { font-weight: 400; font-size: .92em; display: inline-block; margin-top: 6px; }
/* экран подключения приложения-ключа */
.totp-enroll p { text-align: left; line-height: 1.5; font-size: .95em; color: #374151; }
.totp-qr-code img { border: 8px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); border-radius: 8px; }
.login-ui .login-dialog .login-fields .totp-code input { text-align: center; font-size: 1.3em; letter-spacing: .25em; }
.login-ui .login-dialog { max-width: 420px; }
