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

.login-ui .sso-providers {

    padding: 0.25em 0.5em;
    position: absolute;
    bottom: 0;
    left: 0;

}

.sso-providers ul {
    list-style: none;
}

.sso-providers ul, .sso-providers li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.sso-providers li::before {
    content: ' / ';
}

.sso-providers li:first-child::before {
    display: none;
}
.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}
/*
 * b-labs floating shortcuts (blabs-bubbles.js). Right edge, vertically centred: the spot least
 * likely to cover the XFCE panel, window buttons or the tray. Half-transparent until hovered,
 * so they do not compete with the desktop. Everything is namespaced under #blabs-bubbles so
 * Guacamole's own styles are never touched.
 */
#blabs-bubbles {
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#blabs-bubbles .blabs-bubble {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(22, 40, 62, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    color: #fff;
    opacity: 0.55;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

/* The tutorial bubble is a <button>; undo Guacamole's global button styling (min-width,
   margins, padding, bold text-shadowed font). Colours come from the rule above. */
#blabs-bubbles button.blabs-bubble {
    -webkit-appearance: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    font: inherit;
    text-shadow: none;
    cursor: pointer;
}

#blabs-bubbles .blabs-bubble:hover,
#blabs-bubbles .blabs-bubble:focus-visible {
    opacity: 1;
    transform: scale(1.08);
    outline: none;
}

#blabs-bubbles .blabs-bubble:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 153, 219, 0.9);
}

#blabs-bubbles .blabs-bubble svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* The label slides out to the LEFT on hover — on the right edge there is no room to the right. */
#blabs-bubbles .blabs-bubble::before {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(22, 40, 62, 0.92);
    color: #fff;
    font: 13px/1.3 sans-serif;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

#blabs-bubbles .blabs-bubble:hover::before,
#blabs-bubbles .blabs-bubble:focus-visible::before {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    #blabs-bubbles .blabs-bubble,
    #blabs-bubbles .blabs-bubble::before {
        transition: none;
    }
    #blabs-bubbles .blabs-bubble:hover,
    #blabs-bubbles .blabs-bubble:focus-visible {
        transform: none;
    }
}
/*
 * b-labs first-job tutorial (blabs-tutorial.js), over Driver.js's base driver-1.9.0.css.
 * Everything is scoped to .blabs-tutorial / #blabs-tutorial-target. Guacamole styles every
 * <button> globally (grey fill, bold Carlito, min-width 5em, margins, text-shadow), so the
 * card's buttons are reset explicitly rather than inheriting that.
 */

/* The invisible box over the terminal that the spotlight frames (positioned by the script). */
#blabs-tutorial-target {
    position: fixed;
    pointer-events: none; /* clicks inside the spotlight fall through to the remote desktop */
}

/* Driver.js turns pointer events off everywhere (.driver-active *). Give them back to the
   remote display, and catch clicks on the dimmed area with transparent shields instead
   (see blabs-tutorial.js, "CLICKS"). Selectors outrank `.driver-active *`. */
.driver-active .blabs-tutorial-live,
.driver-active .blabs-tutorial-live * {
    pointer-events: auto;
}

.driver-active .blabs-tutorial-shield {
    position: fixed;
    z-index: 10001; /* above the display, below Driver.js's popover */
    background: transparent;
    pointer-events: auto;
}

.driver-active #blabs-tutorial-target.driver-active-element {
    outline: 2px solid #0099DB;
    outline-offset: 4px;
    border-radius: 8px;
}

.driver-popover.blabs-tutorial {
    background: #16283E;
    color: #EAEAEA;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    max-width: 360px;
    padding: 18px 18px 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Carlito, sans-serif;
}

.driver-popover.blabs-tutorial .driver-popover-title {
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
}

.driver-popover.blabs-tutorial .driver-popover-description {
    font-size: 14px;
    line-height: 1.5;
    color: #EAEAEA;
    margin-top: 6px;
}

.driver-popover.blabs-tutorial code,
.driver-popover.blabs-tutorial .blabs-cmd {
    font-family: "DejaVu Sans Mono", Menlo, Consolas, monospace;
    font-size: 13px;
    color: #82C8F1;
    background: color-mix(in srgb, #16283E 75%, #000000);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    padding: 1px 6px;
    user-select: all; /* one click selects the whole command for copying */
}

.driver-popover.blabs-tutorial .driver-popover-progress-text {
    font-size: 12px;
    color: #9FA394;
}

.driver-popover.blabs-tutorial .driver-popover-footer {
    margin-top: 14px;
    gap: 8px;
}

.driver-popover.blabs-tutorial .driver-popover-navigation-btns {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Reset Guacamole's global button look, then style ours. */
.driver-popover.blabs-tutorial button {
    -webkit-appearance: none;
    min-width: 0;
    margin: 0;
    padding: 7px 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-shadow: none;
    box-shadow: none;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #EAEAEA;
    cursor: pointer;
}

.driver-popover.blabs-tutorial button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.driver-popover.blabs-tutorial button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 153, 219, 0.45);
}

.driver-popover.blabs-tutorial .driver-popover-next-btn {
    background: #0099DB;
    border-color: #0099DB;
    color: #16283E;
}

.driver-popover.blabs-tutorial .driver-popover-next-btn:hover {
    background: #0099DB;
}

.driver-popover.blabs-tutorial .blabs-tutorial-do {
    border-color: #0099DB;
    color: #82C8F1;
}

.driver-popover.blabs-tutorial button:disabled {
    opacity: 0.5;
    cursor: default;
    background: transparent;
}

.driver-popover.blabs-tutorial .driver-popover-close-btn {
    border: 0;
    padding: 0;
    width: 28px;
    height: 28px;
    color: #9FA394;
    font-size: 18px;
}

.driver-popover.blabs-tutorial .driver-popover-arrow-side-left { border-left-color: #16283E; }
.driver-popover.blabs-tutorial .driver-popover-arrow-side-right { border-right-color: #16283E; }
.driver-popover.blabs-tutorial .driver-popover-arrow-side-top { border-top-color: #16283E; }
.driver-popover.blabs-tutorial .driver-popover-arrow-side-bottom { border-bottom-color: #16283E; }
/*
 * 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;

}
