/* Farbpalette angepasst an Thermoplan � Hellere Version */
/* Akzentrot: #d71920 */
/* Warnrot: #ff2233 */
/* Hintergrund: #f0f0f0 */
/* Eingabefelder: #ffffff */
/* Text: #222222 */
/* Kontrasttext auf rot: #ffffff */

/* General Style */
body {
    color: #222222;
    background-color: #f0f0f0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

pre {
    color: #222222;
    background-color: #e6e6e6;
    border: 1px solid #ccc;
}

a[href], a[href]:visited {
    color: #d71920;
}

div.location,
input[type=text],
input[type=email],
input[type=number],
input[type=password],
textarea {
    background-color: #ffffff;
    color: #222222;
    border: 1px solid #bbb;
}

/* Login */
div.login-ui {
    color: #222222;
    background-color: #f0f0f0;
}

.login-ui .login-fields .labeled-field input:focus {
    background-color: #ffffff;
    color: #222222;
    border: 1px solid #d71920;
}

.login-ui .login-fields .labeled-field {
    background-color: #f0f0f0;
    color: #222222;
}

.login-ui .login-dialog .logo {
    background-image: url('app/ext/custom-namespace/images/logo.png');
    width: 7em;
    height: 7em;
    background-size: 7em auto;
    -webkit-background-size: 7em auto;
    background-position: center;
    background-repeat: no-repeat;
}

.login-ui .login-dialog {
    background-color: #ffffff;
    color: #222222;
    border: 1px solid #ccc;
}

.login-ui .login-dialog .version .app-name {
    font-weight: 300;
    text-transform: none;
    text-align: center;
    font-size: 2.25em;
    color: #222222;
}

/* Modals */
div.logged-out-modal .ng-scope,
.logged-out-modal guac-modal,
div.modal-contents {
    color: #222222;
    background-color: #ffffff;
}

div.logged-out-modal .ng-scope button {
    color: #222222;
    background-color: #e6e6e6;
    border: 1px solid #999;
}

/* Notifications */
div.notification.ng.scope {
    border: 1px solid #bbb;
}

.notification {
    color: #222222;
    background-color: #fafafa;
}

.notification.error,
.client-status-modal .notification.error,
.login-ui.error p.login-error,
button.danger {
    background-color: #ff2233;
    color: #ffffff;
}

/* Home */
.recent-connections .connection:hover,
.menu-dropdown .menu-contents li a:hover,
.list-item.selected,
.list-item:not(.selected) .caption:hover,
.page-tabs .page-list li a[href]:hover,
.section-tabs li a:hover,
.settings table.session-list tr.session:hover,
#filesystem-menu .header.breadcrumbs .breadcrumb:hover,
#guac-menu #zoom-out:hover,
#guac-menu #zoom-in:hover {
    background-color: #d71920;
    color: #ffffff;
}

.menu-dropdown .menu-contents {
    background-color: #ffffff;
}
.menu-dropdown .menu-contents li a {
    color: #222222;
}

.list-item .name {
    color: #222222;
}

/* Menus */
.menu {
    color: #222222;
    background-color: #f0f0f0;
}

.menu-dropdown .menu-contents li a.danger {
    color: #ffffff;
    font-weight: 700;
    background-color: #ff2233;
}

.clipboard,
.clipboard-service-target {
    background-color: #ffffff;
    color: #d71920;
}

/* Connections */
#connection-warning {
    background-color: #f0f0f0;
}

.transfer-manager {
    background-color: #fafafa;
}

.transfer.error {
    background-color: #ff2233;
}

/* Settings */
.page-tabs .page-list li a[href],
.section-tabs li a,
.page-tabs .page-list li a[href]:visited {
    color: #222222;
}

.location-chooser .dropdown {
    background-color: #ffffff;
}

.settings.connectionHistory a.history-session-recording {
    color: #d71920;
}
.settings.connectionHistory a.history-session-recording:after {
    opacity: 0.0;
}

.user a,
.user-group a,
.connection a,
.connection-group a {
    color: #222222;
}
.user a:hover,
.user-group a:hover,
.connection a:hover,
.connection-group a:hover {
    color: #000000;
}
.user a:visited,
.user-group a:visited,
.connection a:visited,
.connection-group a:visited {
    color: #222222;
}

.manage-user .notice.read-only {
    color: #222222;
    background-color: #f9f9f9;
}

/*
 * 1) Header-Container: rechtsbündig, mit gleichmässigen Abständen
 */
 .header-right.policies {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;    /* ganz nach rechts schieben */
    gap: 1rem !important;            /* Abstand zwischen den Links */
    background: none !important;     /* kein eigener Hintergrund */
    padding: 0 !important;
  }
  
  /*
   * 2) Links als dezente Buttons
   *    - schwarze Schrift
   *    - roter Hover-Hintergrund
   */
  .header-right.policies .policy-link {
    display: inline-block !important;
    color: #050505 !important;       /* schwarz für beste Lesbarkeit */
    background: none !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 0.25rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: background 0.2s ease !important;
  }
  
  /* Hover/Focus: roter Hintergrund (Akzentrot #d71920) */
  .header-right.policies .policy-link:hover,
  .header-right.policies .policy-link:focus {
    background: #d71920 !important;
  }
  
  /* Aktiver Link: Unterstreichung und volle Opazität */
  .header-right.policies .policy-link.active,
  .header-right.policies .policy-link[aria-current="page"] {
    text-decoration: underline !important;
    cursor: default !important;
  }
  /*
 * 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}.totp-enroll p,.totp-details{font-size:.8em}.totp-qr-code{text-align:center}.totp-qr-code img{margin:1em;border:1px solid rgba(0,0,0,0.25);box-shadow:1px 1px 2px rgba(0,0,0,0.25);cursor:pointer}h3.totp-details-header{font-size:.8em}h3.totp-details-header::before{content:'▸ '}.totp-details-visible h3.totp-details-header::before{content:'▾ '}.totp-details,.totp-hide-details{display:none}.totp-details-visible .totp-details{display:table}.totp-details-visible .totp-hide-details{display:inline}.totp-details-visible .totp-show-details{display:none}.totp-hide-details,.totp-show-details{color:blue;text-decoration:underline;cursor:pointer;margin:0 .25em;font-weight:normal}.totp-details{margin:0 auto}.totp-details th{padding-right:.25em;text-align:left}.totp-details td{font-family:monospace}.totp-detail{display:inline-block;margin:0 .25em}