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

}
body, input, button, select, textarea {
    font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
}
html, body, .login-ui, .login-ui .login-dialog-middle {
    background: #f6f7f9 !important;
}
.login-ui .login-dialog {
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(21, 23, 28, 0.08);
    padding: 2em 2em 1.5em;
    background: #ffffff !important;
    width: 380px;
    max-width: 92vw;
    box-sizing: border-box;
}
.login-ui .login-dialog .logo {
    background-image: url('app/ext/pomelohost/images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 100%;
    max-width: 12em;
    height: 3em;
    margin: 0 auto 0.75em;
}
.login-ui .login-dialog .version {
    display: none !important;
}
.login-ui .login-dialog .login-fields .labeled-field {
    margin: 0.6em 0;
}
.login-ui .login-dialog .login-fields input {
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    padding: 0.6em 0.8em;
}
.login-ui .login-dialog .buttons input[type="submit"] {
    background: #15171c;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 600;
    padding: 0.7em 1em;
}
.login-ui .login-dialog .buttons input[type="submit"]:hover {
    background: #2a2d36;
}
.header {
    background: #15171c;
    color: #ffffff;
}
.login-ui .pomelo-hint {
    width: 380px;
    max-width: 92vw;
    margin: 14px auto 0;
    padding: 20px 24px 18px;
    font-size: 15px;
    box-sizing: border-box;
    text-align: left;
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    color: #15171c;
}
.login-ui .pomelo-hint-title {
    font-size: 1em;
    font-weight: 700;
}
.login-ui .pomelo-hint-lead {
    margin-top: 0.25em;
    font-size: 0.85em;
    line-height: 1.4;
    color: #6b7280;
}
.login-ui .pomelo-hint-row {
    margin-top: 0.9em;
    padding-top: 0.9em;
    border-top: 1px solid #eef0f3;
}
.login-ui .pomelo-hint-name {
    display: block;
    margin-bottom: 0.45em;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e8604f;
}
.login-ui .pomelo-hint-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35em;
}
.login-ui .pomelo-hint-steps b {
    display: inline-block;
    padding: 0.3em 0.65em;
    border-radius: 8px;
    background: #f6f7f9;
    border: 1px solid #e6e8ec;
    font-size: 0.87em;
    font-weight: 600;
    line-height: 1.3;
}
.login-ui .pomelo-hint-steps span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.login-ui .pomelo-hint-steps i {
    width: 0.45em;
    height: 0.45em;
    margin: 0 0.6em 0 0.1em;
    border-top: 2px solid #9aa1ad;
    border-right: 2px solid #9aa1ad;
    transform: rotate(45deg);
}
