: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: 260px;
  height: 120px;
  margin: 0 auto 14px;
  background-color: transparent !important;
  background-image: url("/app/ext/hackrocks/images/login-logo.png") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.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;
}
.scrm-wait{position:fixed;inset:0;z-index:100000;background:#f4f6f9;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;color:#142033;font-family:Arial,sans-serif;overflow:auto}
.scrm-card{width:100%;max-width:560px;background:#fff;border:1px solid #dce2eb;border-radius:12px;padding:36px;box-sizing:border-box;box-shadow:0 8px 32px #10223812}
.scrm-brand{font-size:13px;color:#526173;letter-spacing:.08em;margin-bottom:22px}.scrm-card h1{font-size:28px;margin:0 0 20px;color:#142033}.scrm-card p{line-height:1.55}.scrm-card .scrm-detail{font-size:14px;color:#536176;margin-top:20px}.scrm-position{background:#edf2ff;padding:20px;border-radius:8px;margin:24px 0}.scrm-position strong{display:block;font-size:42px;color:#2346a3;margin-top:8px}.scrm-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.scrm-actions button{border:1px solid #2346a3;border-radius:6px;background:#2346a3;color:white;padding:12px 16px;font:inherit;cursor:pointer;min-height:44px}.scrm-actions button.scrm-secondary{color:#2346a3;background:white}.scrm-actions button:disabled{opacity:.5;cursor:wait}.scrm-actions button:focus-visible{outline:3px solid #f5a623;outline-offset:3px}.scrm-warning{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:100000;background:#fff2bc;color:#3d3000;padding:16px 24px;border:2px solid #9a7500;border-radius:8px;max-width:720px;width:80%;box-shadow:0 4px 20px #0004;pointer-events:none;font:16px/1.5 Arial,sans-serif}
@media(max-width:600px){.scrm-card{padding:24px}.scrm-wait{padding:12px}.scrm-actions{flex-direction:column}.scrm-warning{top:4px;padding:10px;width:88%;font-size:14px}}
/*
 * 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;

}
