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




/* ======================================================
   AJUSTE DE LARGURA - i-Vertix / GLPI 11
   ====================================================== */

/* Container principal */
body.welcome-anonymous .container-tight {
    max-width: 440px !important;
    width: 440px !important;
}

/* Card do login */
body.welcome-anonymous .card.card-md.main-content-card {
    width: 440px !important;
    max-width: 440px !important;
    min-width: 440px !important;
    flex: 0 0 440px !important;
    margin: 0 auto !important;
    padding: 30px !important;
}

/* Corpo do card */
body.welcome-anonymous .card-body {
    width: 100% !important;
    padding: 30px !important;
}

/* Linha do formulário */
body.welcome-anonymous .row.justify-content-center {
    width: 100% !important;
    margin: 0 !important;
}

/* Coluna do formulário */
body.welcome-anonymous .row.justify-content-center > .col-md-5 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Campos */
body.welcome-anonymous .form-control,
body.welcome-anonymous .form-select,
body.welcome-anonymous .btn {
    width: 100% !important;
}