/* Botised branding for Apache Guacamole (login page + client chrome).
 * Selectors target Guacamole 1.5.x; check with browser dev tools on other versions. */

:root {
  --bz-navy: #0f172a;
  --bz-blue: #2563eb;
  --bz-blue-dark: #1d4ed8;
  --bz-slate: #475569;
  --bz-bg: #f1f5f9;
}

/* ---------- Login page ---------- */
html, body, .login-ui {
  background: var(--bz-bg) !important;
}

.login-ui .login-dialog-middle { vertical-align: middle; }

.login-ui .login-dialog {
  background: #ffffff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  padding: 2em 2em 1.5em;
  max-width: 380px;
}

.login-ui .login-dialog .logo {
  background-image: url('app/ext/botised-branding/images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 240px;
  height: 72px;
  margin: 0 auto 1em;
}

/* Hide stock app name/version under the logo */
.login-ui .login-dialog .version .app-name,
.login-ui .login-dialog .version .version-number {
  display: none;
}

.login-ui .login-dialog input[type="text"],
.login-ui .login-dialog input[type="password"] {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.6em 0.75em;
  font-size: 1em;
}

.login-ui .login-dialog input[type="text"]:focus,
.login-ui .login-dialog input[type="password"]:focus {
  border-color: var(--bz-blue);
  outline: 2px solid rgba(37, 99, 235, 0.25);
}

.login-ui .login-dialog input[type="submit"],
.login-ui .login-dialog button {
  background: var(--bz-blue);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  padding: 0.65em 1.5em;
  width: 100%;
}

.login-ui .login-dialog input[type="submit"]:hover,
.login-ui .login-dialog button:hover {
  background: var(--bz-blue-dark);
}

.login-ui .login-error {
  color: #b91c1c;
}

/* Selling-point panel injected by html/login-panel.html (dark text, readable on any light page) */
.botised-panel {
  color: var(--bz-slate) !important;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  max-width: 380px;
  margin: 1.25em auto 2em;
  padding: 1.25em 1.5em;
  font-size: 0.9em;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.botised-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}

.botised-points li {
  padding-left: 1.6em;
  margin-bottom: 0.7em;
  position: relative;
  color: var(--bz-slate) !important;
}

.botised-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--bz-blue);
  font-weight: 700;
}

.botised-points strong { color: var(--bz-navy) !important; }

.botised-help { text-align: center; color: var(--bz-slate) !important; margin: 0; }
.botised-help a { color: var(--bz-blue) !important; }

/* ---------- Home / connection list ---------- */
.header { background: var(--bz-navy); color: #ffffff; }
.header h2 { color: #ffffff; }
.header .user-menu .menu-title { color: #ffffff; }

.list-item .caption .name { color: var(--bz-navy); }

.recent-connections .connection {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

/* ---------- In-session Guacamole menu (Ctrl+Alt+Shift) ---------- */
#guac-menu .header { background: var(--bz-navy); }
#guac-menu button,
.button-like {
  border-radius: 6px;
}
/*
 * 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;

}
