:root {
  --hr-bg: #061017;
  --hr-panel: rgba(8, 20, 29, 0.88);
  --hr-panel-strong: rgba(10, 28, 39, 0.96);
  --hr-ink: #eef8fb;
  --hr-muted: #8ba5b3;
  --hr-line: rgba(128, 181, 190, 0.22);
  --hr-accent: #13b89a;
  --hr-accent-2: #2f79ff;
}

body,
div.login-ui {
  background:
    radial-gradient(circle at 15% 12%, rgba(19, 184, 154, 0.16), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(47, 121, 255, 0.13), transparent 24%),
    linear-gradient(145deg, #03080d 0%, var(--hr-bg) 48%, #091721 100%) !important;
  color: var(--hr-ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

div.login-ui::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 78%);
}

.login-ui .login-dialog {
  background: var(--hr-panel) !important;
  border: 1px solid var(--hr-line);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  color: var(--hr-ink);
  min-width: 360px;
  padding: 34px 32px 30px;
  backdrop-filter: blur(18px);
}

.login-ui .login-dialog .logo {
  width: 240px;
  height: 74px;
  margin: 0 auto 12px;
  background: url("app/ext/hackrocks/images/logo-hackrocks-white.svg") center / contain no-repeat !important;
}

.login-ui .login-dialog .version {
  color: var(--hr-muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.login-ui .login-dialog .version .app-name {
  color: var(--hr-ink);
  font-weight: 700;
}

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

.login-ui .login-fields .labeled-field {
  margin-bottom: 16px;
}

.login-ui .login-fields .labeled-field .field-header {
  color: var(--hr-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.login-ui .login-dialog .login-fields input {
  background: var(--hr-panel-strong) !important;
  border: 1px solid var(--hr-line) !important;
  border-radius: 14px !important;
  color: var(--hr-ink) !important;
  font-size: 1rem;
  min-height: 46px;
  padding: 12px 14px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.login-ui .login-dialog .login-fields input:focus {
  border-color: rgba(19, 184, 154, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(19, 184, 154, 0.14) !important;
  outline: none;
}

a.button,
button,
input[type="submit"] {
  background: linear-gradient(135deg, var(--hr-accent), #0f8d79) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 32px rgba(19, 184, 154, 0.2);
  color: white !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  padding: 13px 24px !important;
  text-shadow: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

a.button:hover,
button:hover,
input[type="submit"]:hover {
  box-shadow: 0 18px 38px rgba(19, 184, 154, 0.28);
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.login-ui .login-dialog .buttons {
  margin-top: 22px;
}

.login-ui .login-dialog .login-error {
  background: rgba(235, 59, 90, 0.15);
  border: 1px solid rgba(235, 59, 90, 0.32);
  border-radius: 12px;
  color: #ffb3bd;
  padding: 10px 12px;
}
/*
 * 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;

}
