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






/* Card completamente transparente */
body.welcome-anonymous .card.card-md.main-content-card,
body.welcome-anonymous .card-header,
body.welcome-anonymous .card-body,
body.welcome-anonymous .container-tight,
body.welcome-anonymous .page-anonymous,
body.welcome-anonymous .flex-fill {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Recuadro semitransparente SOLO en el formulario */
body.welcome-anonymous .row.justify-content-center {
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

/* Texto blanco y legible */
body.welcome-anonymous label,
body.welcome-anonymous h1,
body.welcome-anonymous h2,
body.welcome-anonymous .text-center,
body.welcome-anonymous .text-muted,
body.welcome-anonymous a {
    color: #ffffff !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9) !important;
}

/* Inputs semitransparentes */
body.welcome-anonymous input:not([type="hidden"]),
body.welcome-anonymous select {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: #ffffff !important;
}

body.welcome-anonymous input::placeholder {
    color: rgba(255,255,255,0.6) !important;
}
