/*
 * -------------------------------------------------------------------------
 * UI Branding plugin for GLPI
 * -------------------------------------------------------------------------
 *
 * LICENSE
 *
 * This file is part of UI Branding plugin for GLPI.
 *
 * "UI Branding plugin for GLPI" is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * "UI Branding plugin for GLPI" is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with "UI Branding plugin for GLPI". If not, see <http://www.gnu.org/licenses/>.
 * -------------------------------------------------------------------------
 * @copyright Copyright (C) 2025 by i-Vertix/PGUM.
 * @license   GPLv3 https://www.gnu.org/licenses/gpl-3.0.html
 * @link      https://github.com/i-Vertix/glpi-modifications
 * -------------------------------------------------------------------------
 */

.welcome-anonymous {
    background: url(../background.php) no-repeat fixed top;
    background-size: cover;
}

/* Делаем карточку авторизации полупрозрачной и уменьшаем ширину */
.welcome-anonymous .card, 
.login-card {
    /* Полупрозрачный белый фон (0.6 = 60% непрозрачности, можно уменьшить до 0.4) */
    background-color: rgba(255, 255, 255, 0.6) !important;
    
    /* Эффект матового стекла (размывает фон за карточкой для читаемости текста) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
        
    /* Опционально: делаем углы более скругленными для красоты */
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Легкая рамка */
}

/* Делаем прозрачной шапку карточки, если она есть */
.welcome-anonymous .card-header {
    background-color: transparent !important;
    border-bottom: none !important;
}

/* Делаем прозрачным подвал карточки (где обычно кнопка "Войти") */
.welcome-anonymous .card-footer {
    background-color: transparent !important;
    border-top: none !important;
}