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

}
/* ===== SSR Fernwartung — white-label theme for the browser remote gateway =====
   Accent #CFDD28 (single accent, dark+light). Replaces all visible vendor marks:
   login logo, in-app header logo, page background. App name text comes from the
   translation override (APP.NAME) so no vendor name is rendered anywhere. */

:root { --ssr-accent:#CFDD28; --ssr-ink:#111310; --ssr-panel:#1b1e17; }

/* --- login screen --- */
div.login-ui {
  background: #0e0f0c;
  background-color: #0e0f0c;
}
.login-ui .login-dialog {
  background-color: var(--ssr-panel);
  border-radius: 1.25rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
  color: #e9ecdf;
}
.login-ui .login-dialog .logo {
  background-image: url('app/ext/ssrfernwartung/images/logo.png');
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: contain;
  background-size: contain;
  width: 14em;
  height: 4.5em;
}
.login-ui .login-dialog .version,
.login-ui .login-dialog .version * {
  display: none !important;   /* hide any residual version/vendor footer */
}
.login-ui .login-dialog input[type=submit],
.login-ui .login-dialog button {
  background: var(--ssr-accent);
  color: var(--ssr-ink);
  border: none;
  border-radius: 2rem;
  font-weight: 600;
}
.login-ui .login-dialog .buttons a,
.login-ui .login-dialog a { color: var(--ssr-accent); }
.login-ui .login-dialog .field input {
  border-radius: .6rem;
}

/* --- in-app header (connection list / client) --- */
.header .logo,
.menu-title .logo,
a.home .logo {
  background-image: url('app/ext/ssrfernwartung/images/logo.png') !important;
  background-repeat: no-repeat;
  background-position: left center;
  -webkit-background-size: contain;
  background-size: contain;
}
.header, .menu, .header .menu-title { background-color: var(--ssr-ink); }
a.button.primary, .button.primary,
.header .menu-dropdown .menu-contents li:hover { color: var(--ssr-ink); }
a.button.primary, .button.primary { background: var(--ssr-accent); }
