/*
 * 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}.guacnotify-settings-host {
    margin-top: 16px;
}

.guacnotify-settings-page {
    max-width: 960px;
}

.guacnotify-settings-card {
    border: 1px solid #dadfe6;
    border-radius: 10px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.guacnotify-settings-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.guacnotify-settings-help {
    margin: 0 0 16px;
    color: #52616f;
}

.guacnotify-settings-card label {
    display: block;
    margin-top: 8px;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #2b3e50;
}

.guacnotify-settings-card textarea,
.guacnotify-settings-card select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #c7d2dd;
    border-radius: 8px;
    padding: 8px;
    font-size: 13px;
}

.guacnotify-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.guacnotify-row label {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

.guacnotify-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.guacnotify-actions button {
    border: 1px solid #9fb5ca;
    border-radius: 8px;
    background: #f4f8fb;
    color: #13293d;
    padding: 8px 10px;
    cursor: pointer;
}

.guacnotify-status {
    min-height: 1.2em;
    margin: 8px 0 0;
    color: #1a4f22;
    font-size: 12px;
}

.guacnotify-status.error {
    color: #8c1d18;
}

.guacnotify-toast-container {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    max-width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.guacnotify-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    /*background: #13293d;*/
    background: #f00;
    color: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    pointer-events: auto;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.guacnotify-toast-text {
    flex: 1;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.guacnotify-toast-timestamp {
    font-size: 12px;
    color: #c7d2dd;
    margin-bottom: 2px;
}

.guacnotify-toast-label {
    display: block;
    margin-bottom: 2px;
}

.guacnotify-toast-body {
    display: block;
}

.guacnotify-toast-close {
    flex-shrink: 0;
    background: #000;
    border: none;
    color: #c7d2dd;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    min-width: unset !important;
    margin: unset !important;
}

.guacnotify-toast-close:hover {
    color: #ffffff;
}

.guacnotify-toast-hiding {
    opacity: 0;
}
/*
 * 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;
}
