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

}
.quickconnect-container{margin:.25em 0;width:100%;margin-left:.50em}.quickconnect-container .quickconnect-field{background-image:url('images/protocol-icons/guac-text.png');background-repeat:no-repeat;background-size:1.50em;background-position:.25em center;background-color:transparent;padding:.25em;padding-left:2.50em;width:100%;max-width:none;border:0;box-sizing:border-box}.quickconnect-button{clear:both;float:right;margin-right:.75em;font-size:.75em;padding:.25em}.quickconnect-list-item{vertical-align:middle;align-content:center;display:flex}html body .login-ui {
  background-color: #11192a !important;
  background-image: radial-gradient(circle at 82% 12%, #26394b 0%, #182337 34%, #11192a 78%) !important;
  color: #ffffff;
}

.login-ui .login-dialog {
  width: 23em;
  max-width: calc(100vw - 2.5em);
  box-sizing: border-box;
  padding: 2.25em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: #1c293b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.login-ui .login-dialog .logo {
  width: 190px;
  height: 52px;
  margin: 0 auto 1.25em;
  background-image: url('/app/ext/kline-rdb/resources/images/kline-logo.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.login-ui .login-dialog .version {
  margin-bottom: 1.5em;
}

.login-ui .login-dialog .version .app-name {
  color: #ffffff;
  font-size: 1.3em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.login-ui .login-dialog .version .version-number {
  display: none;
}

.login-ui .login-dialog input[type='text'],
.login-ui .login-dialog input[type='password'] {
  box-sizing: border-box;
  border: 1px solid #8c9aaa;
  border-radius: 8px;
  background-color: transparent !important;
  color: #172234;
}

.login-ui .login-dialog .form-field {
  border-radius: 8px;
  background-color: #ffffff;
}

.login-ui .login-dialog .field-header label {
  color: #5c6878;
}

.login-ui .login-dialog .field-header {
  z-index: 1 !important;
  pointer-events: none;
}

.login-ui .login-dialog .labeled-field:not(.empty) .field-header {
  display: none !important;
}

.login-ui .login-dialog input[type='text']:focus,
.login-ui .login-dialog input[type='password']:focus {
  border-color: #6bd5c8;
  outline: 2px solid rgba(107, 213, 200, 0.3);
}

.login-ui .login-dialog .buttons input[type='submit'] {
  border: 0;
  border-radius: 8px;
  background: #61b7b2;
  color: #10222c;
  font-weight: 700;
  box-shadow: none;
}

.login-ui .login-dialog .buttons input[type='submit']:hover {
  background: #79d3ca;
}

/* ---------- Sign in with Google ---------- */

.login-ui .sso-providers {
  display: none !important;
}

.login-ui.continuation .kl-sso {
  display: none;
}

.login-ui .kl-sso {
  margin-top: 1.1em;
}

.login-ui .kl-or {
  display: flex;
  align-items: center;
  gap: 0.9em;
  margin: 0 0 1.1em;
  color: #8c9aaa;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.login-ui .kl-or::before,
.login-ui .kl-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.16));
}

.login-ui .kl-or::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.login-ui .kl-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  width: 100%;
  box-sizing: border-box;
  min-height: 2.45em;
  padding: 0.5em 1em;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #ffffff;
  color: #1f1f1f;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.login-ui .kl-google:hover {
  background: #f3f7f9;
  box-shadow: 0 0 0 3px rgba(107, 213, 200, 0.28);
  transform: translateY(-1px);
}

.login-ui .kl-google:focus-visible {
  outline: 2px solid #6bd5c8;
  outline-offset: 2px;
}

.login-ui .kl-google-g {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- IT support footer ---------- */

.login-ui .kl-support {
  margin-top: 1.75em;
  padding-top: 1.35em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.login-ui .kl-support-title {
  margin-bottom: 0.85em;
  color: #6bd5c8;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.login-ui .kl-support-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55em;
}

.login-ui .kl-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45em;
  padding: 0.75em 0.3em 0.65em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #c9d3de;
  font-size: 0.74em;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.login-ui .kl-chip:hover {
  border-color: rgba(107, 213, 200, 0.55);
  background: rgba(97, 183, 178, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
}

.login-ui .kl-chip:focus-visible {
  outline: 2px solid #6bd5c8;
  outline-offset: 2px;
}

.login-ui .kl-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  background: rgba(97, 183, 178, 0.14);
  color: #6bd5c8;
  transition: background-color 0.15s ease;
}

.login-ui .kl-chip:hover .kl-chip-icon {
  background: rgba(97, 183, 178, 0.26);
}

.login-ui .kl-chip-icon svg,
.login-ui .kl-credit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-ui .kl-chip-label {
  white-space: nowrap;
}

.login-ui .kl-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  margin-top: 1.1em;
  color: #7f8da0;
  font-size: 0.7em;
  line-height: 1.4;
}

.login-ui .kl-credit svg {
  width: 13px;
  height: 13px;
  color: #6bd5c8;
  flex: none;
}

.login-ui .kl-credit strong {
  color: #c9d3de;
  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.
 */

.login-ui .sso-providers {

    padding: 0.25em 0.5em;
    position: absolute;
    bottom: 0;
    left: 0;

}

.sso-providers ul {
    list-style: none;
}

.sso-providers ul, .sso-providers li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.sso-providers li::before {
    content: ' / ';
}

.sso-providers li:first-child::before {
    display: none;
}
