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

}
.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}/*
 * guacamole-text-send-20261015 (revision r4.1)
 *
 * One fixed row inside .client-bottom: a native textarea plus a single blue,
 * right-pointing, solid SVG triangle. No panel, title, target label, direction
 * keys or permanent status bar. The ARIA live region is visually hidden.
 * Nothing here is fixed-positioned over the remote display.
 */

.guac-text-send {
    display: flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    padding: 2px 8px;
    background: #1f1f1f;
    border-top: 1px solid #444;
    color: #eee;
    font-size: 13px;
}

/* Native input, exactly one text row tall. Multi-line content (Shift+Enter
   or a multi-line paste) scrolls inside this fixed height. */
.guac-text-send-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 28px;
    box-sizing: border-box;
    resize: none;
    overflow: auto;
    white-space: pre;
    font-family: inherit;
    font-size: inherit;
    line-height: 20px;
    color: #111;
    background: #fff;
    border: 1px solid #666;
    border-radius: 4px;
    padding: 3px 6px;
}

.guac-text-send-input:focus {
    outline: 2px solid #7fb2ff;
    outline-offset: 0;
}

/* Error is communicated without occupying extra layout: red border on the
   input plus the status tooltip (and the hidden live region). */
.guac-text-send-error .guac-text-send-input {
    border-color: #d93025;
    box-shadow: 0 0 0 1px #d93025 inset;
}

/* The one control: a single blue solid right-pointing triangle (inline vector)
   on a transparent button. The button itself has no fill; only the triangle is
   #1a73e8. Hover adds a light background. */
.guac-text-send-send {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    max-width: 28px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.guac-text-send-send:hover {
    background: rgba(26, 115, 232, 0.12);
}

.guac-text-send-send:focus {
    outline: 2px solid #7fb2ff;
    outline-offset: 1px;
}

.guac-text-send-triangle {
    display: block;
    width: 14px;
    height: 14px;
    fill: #1a73e8;
}

/* Screen-reader only: the live status never takes visual space. */
.guac-text-send-live {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
