/*
 * DAScorp — оформление страницы входа Guacamole (lab.dascorp.com). Цвета — brand/BRAND.md. Шрифт — Gotham Pro, если
 * он стоит на компьютере, иначе запасная цепочка из BRAND.md: файлы Gotham Pro не публикуем, из сети ничего не грузим.
 * Картинки — из расширения: app/ext/dascorp/… (namespace в guac-manifest.json).
 */

/* фон — фирменный тёмно-синий с бирюзовым свечением и кольцами; div.login-ui — как в самом Guacamole, иначе он перебьёт */
div.login-ui {
    background-color: #020E35;
    background-image:
        radial-gradient(ellipse 70% 55% at 50% 40%, rgba(0, 103, 104, 0.55) 0%, rgba(2, 14, 53, 0) 72%),
        repeating-radial-gradient(circle at 50% 40%, rgba(9, 145, 145, 0.10) 0 1px, transparent 1px 84px);
    font-family: "Gotham Pro", "Montserrat", "Segoe UI", system-ui, -apple-system, "Noto Sans", "DejaVu Sans", sans-serif;
}

/* на телефоне окно не прилипает к краям */
.login-ui .login-dialog-middle {
    padding: 1em;
}

.login-ui .login-dialog {
    max-width: 22em;
    padding: 2em 2em 1.75em;
    border: none;
    border-radius: 14px;
    background: #FFFFFF;
    color: #26304F;
    font-size: 1.1em;
    box-shadow: 0 1.25em 3.5em rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* логотип вместо трёхцветной эмблемы Guacamole */
.login-ui .login-dialog .logo {
    width: 12em;
    height: 7.2em;
    margin: 0 auto 0.25em;
    background: url("app/ext/dascorp/images/logo.svg") center / contain no-repeat;
}

/* подпись под логотипом — «Учебная лаборатория» (html/login-subtitle.html); номер версии Guacamole не показываем */
.login-ui .login-dialog .version {
    padding: 0 0 1.25em;
    text-align: center;
}

.login-ui .login-dialog .version .dascorp-subtitle {
    color: #006768;
    font-weight: 600;
    font-size: 1.05em;
    letter-spacing: 0.01em;
}

.login-ui .login-dialog .version .version-number {
    display: none;
}

/* поля: подпись поля лежит поверх пустого поля — отступы у них одни */
.login-ui .login-dialog .login-fields input {
    font-family: inherit;
    color: #020E35;
    border: 1px solid #CBD1E0;
    border-radius: 8px;
    padding: 0.65em 0.85em;
    margin-bottom: 0.75em;
}

.login-ui .login-fields .labeled-field .field-header {
    margin: 0.65em 0.9em;
    color: #548998;
    opacity: 1;
}

.login-ui .login-dialog .login-fields input:focus {
    outline: none;
    border-color: #099191;
    box-shadow: 0 0 0 3px rgba(9, 145, 145, 0.18);
}

/* кнопка «Войти» */
.login-ui .login-dialog .buttons input[type="submit"] {
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    background: #006768;
    border: none;
    border-radius: 8px;
    padding: 0.7em 1em;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
}

.login-ui .login-dialog .buttons input[type="submit"]:hover {
    background: #099191;
}

.login-ui .login-dialog .buttons input[type="submit"]:active {
    background: #04595A;
    box-shadow: none;
}

.login-ui .login-dialog .buttons input[type="submit"]:disabled {
    background: #548998;
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

/* «Неверные данные для входа» — сигнальным красным из BRAND.md */
.login-ui.error p.login-error {
    max-width: 22em;
    margin: 1.25em auto;
    padding: 0.75em 1em;
    color: #B3121C;
    background: #FFF4F4;
    border: 1px solid #FB1E2C;
    border-radius: 8px;
    font-family: inherit;
}

/* строка под окном входа (html/login-footer.html) */
.login-ui .dascorp-footer {
    margin: 1.5em 0 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95em;
    letter-spacing: 0.02em;
}

.login-ui .dascorp-footer a {
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.login-ui .dascorp-footer a:hover {
    border-bottom-color: #099191;
}
/*
 * 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;

}
