/* ==========================================
   1. PAGE DE CONNEXION (LOGIN)
   ========================================== */

/* Arrière-plan général de la page de connexion */
.login-ui {
    background-color: #004289 !important; /* Fond bleu Actemium */
}

/* Boîte de dialogue de connexion */
.login-ui .login-dialog {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
    border-top: 5px solid #CAF880 !important; /* Ligne d'accentuation verte */
}

/* Remplacement du logo (Pensez à déposer le logo Actemium en PNG dans le dossier resources) */
.login-ui .login-dialog .logo {
    background-image: url('logo.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 60px !important; /* Ajustement selon les proportions du logo */
}


/* ==========================================
   2. BOUTONS ET CHAMPS DE SAISIE
   ========================================== */

/* Bouton principal (Connexion / Soumettre) */
button, .button {
    background-color: #004289 !important; /* Bleu Actemium */
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    transition: background 0.2s ease-in-out !important;
}

/* Effet au survol du bouton */
button:hover, .button:hover {
    background-color: #003166 !important; /* Bleu plus sombre */
    border-bottom: 2px solid #CAF880 !important; /* Rappel du vert d'accentuation */
    cursor: pointer !important;
}

/* Bordure des champs de texte lors de la saisie */
input[type="text"]:focus, input[type="password"]:focus {
    border-color: #004289 !important;
    box-shadow: 0 0 5px rgba(0, 66, 137, 0.5) !important;
}


/* ==========================================
   3. BARRE DE NAVIGATION (HEADER POST-CONNEXION)
   ========================================== */

/* Couleur du bandeau supérieur */
.header {
    background-color: #004289 !important;
    border-bottom: 3px solid #CAF880 !important; /* Finition verte */
}

/* Liens et menus déroulants de la barre supérieure */
.header .menu-title, 
.header .navigation .menu-dropdown {
    color: #ffffff !important;
}

/* Effet de survol dans le menu utilisateur */
.header .navigation .menu-dropdown:hover {
    background-color: rgba(202, 248, 128, 0.2) !important; /* Reflet vert transparent */
}


/* ==========================================
   4. INTERFACE GÉNÉRALE ET RECHERCHE
   ========================================== */

/* Mise en valeur des éléments sélectionnés ou survolés dans la liste des connexions */
.connection-list .connection:hover {
    background-color: rgba(0, 66, 137, 0.08) !important; /* Léger fond bleu au survol */
}

/* Profil des textes importants */
.home-view h2, .manage-view h2 {
    color: #555555 !important; /* Gris neutre officiel */
}
/*
 * 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;

}
