/* ==================== */
/* Основные стили экрана входа */
/* ==================== */

div.login-ui {
    background: #2C3E50; /* Темно-серый фон, гармонирует с синими тонами лого */
    background-color: #2C3E50;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-ui .login-dialog {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #2d3e50;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* ==================== */
/* Стили логотипа */
/* ==================== */

.login-ui .login-dialog .logo {
    background-image: url('app/ext/tempnamespace/images/logo-placeholder.png');
    width: 200px; /* Фиксированная ширина */
    height: auto; /* Автоматическая высота для сохранения пропорций */
    background-size: contain; /* Изображение полностью помещается в контейнер */
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 20px auto; /* Центрирование с отступом снизу */
    min-height: 80px; /* Минимальная высота для корректного отображения */
}

/* ==================== */
/* Стили заголовка */
/* ==================== */

.login-ui .login-dialog h2 {
    color: #3498DB;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: normal;
    text-align: center;
}

/* ==================== */
/* Стили формы входа */
/* ==================== */

.login-ui .login-dialog .input-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-ui .login-dialog input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.login-ui .login-dialog input:focus {
    outline: none;
    border-color: #3498DB; /* Синий цвет, соответствующий лого */
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.login-ui .login-dialog .btn {
    width: 100%;
    padding: 12px;
    background-color: #333; /* Темно-серый фон кнопки */
    color: white !important; /* Белый текст */
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    font-weight: normal;
}

.login-ui .login-dialog .btn:hover {
    background-color: #555; /* Более темный оттенок при наведении */
    color: white !important; /* Сохраняем белый текст */
}

.login-ui .login-dialog .btn:active {
    transform: translateY(1px);
}

/* ==================== */
/* Адаптивность */
/* ==================== */

@media (max-width: 480px) {
    .login-ui .login-dialog {
        margin: 20px;
        padding: 20px;
    }
    
    .login-ui .login-dialog .logo {
        width: 150px; /* Уменьшаем логотип на мобильных устройствах */
        min-height: 60px;
    }
}
/*
 * 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;

}
