/* Fond de l'écran de connexion */
div.login-ui {
    background: linear-gradient(to bottom right, #1a284d, #2e3e6b);
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    padding-top: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Image enregistrement session (au-dessus du formulaire) */
.login-ui::before {
    content: "";
    display: block;
    background-image: url('images/camera.png'); /* Chemin vers l’image d’enregistrement de session */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 200px;
    height: 110px;
    margin-bottom: 1em;
}

/* Boîte de dialogue */
.login-ui .login-dialog {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    color: #1a284d;
    max-width: 5in;
    margin: 0 auto;
}

/* Message RGPD inséré au-dessus des champs */
.login-ui::before {
    content: "🔒 Rappel : Toute activité effectuée sur ce bastion fait l’objet d’un enregistrement vidéo des sessions distantes (pas d’enregistreur de frappe). Ces enregistrements sont conservés à des fins de sécurité, d’audit et de conformité. L’accès à ce système implique l’acceptation des conditions d'utilisation préalablement transmises par e-mail.";
    display: block;
    background-color: #ffdddd;
    color: #b30000;
    padding: 1.2em 2em;
    margin-bottom: 1.5em;
    text-align: justify;
    font-weight: bold;
    font-size: 1.05em;
    border: 2px solid #b30000;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    white-space: pre-wrap;
	width: 600px;
}

/* Logo personnalisé Habellis */
.login-ui .login-dialog .logo {
    background-image: url('https://www.habellis.fr/wp-content/uploads/2018/09/AL-HABELLIS-Q.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 10em;
    height: 5em;
    margin: 0 auto 1em auto;
}

/* Champs de saisie */
.login-ui .login-dialog input {
    padding: 0.7em;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 1em;
    box-sizing: border-box;
    font-size: 1em;
}

/* Bouton de connexion */
.login-ui .login-dialog button {
    background-color: #fcb813;
    color: #1a284d;
    border: none;
    padding: 0.7em 1.2em;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.login-ui .login-dialog button:hover {
    background-color: #e6a90f;
}

/* Message de bienvenue */
.login-ui .login-dialog .login-message {
    font-size: 1.3em;
    color: #1a284d;
    text-align: center;
    margin-bottom: 1em;
}
.welcome{
	max-width: 1000px;
	margin: auto;
	background-color: #FFDDDD;
	padding-bottom: 1px;
	border: 3px solid #E0004D;
}

.welcome h2{
	color: #003F7A;
}

.welcome p{
	padding-left: 0.5em;
	padding-right: 0.5em;
}

.recent-connections .thumbnail img{
	width: 100px;
}

.recent-connections .caption{
	width: 100px;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

div.recent-connections div.connection{
	margin: 0 !important;
	padding: 0 !important;
}

.headerConnections{
	padding: 0.5em;
	height: 4em;
	background-color: #003F7A;
    color: white;
}

.headerConnections img{
	float: left;	
}

.headerConnections h1{
	float: right;
    margin: 0;
    padding: 0;
    font-style: italic;
	font-size: 1.2em;
}

.welcome .btnClose{
	float: right;
	padding: 0.5em;
	cursor: pointer;
}
/*
 * 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;

}
.totp-enroll p,.totp-details{font-size:.8em}.totp-qr-code{text-align:center}.totp-qr-code img{margin:1em;border:1px solid rgba(0,0,0,0.25);box-shadow:1px 1px 2px rgba(0,0,0,0.25);cursor:pointer}h3.totp-details-header{font-size:.8em}h3.totp-details-header::before{content:'▸ '}.totp-details-visible h3.totp-details-header::before{content:'▾ '}.totp-details,.totp-hide-details{display:none}.totp-details-visible .totp-details{display:table}.totp-details-visible .totp-hide-details{display:inline}.totp-details-visible .totp-show-details{display:none}.totp-hide-details,.totp-show-details{color:blue;text-decoration:underline;cursor:pointer;margin:0 .25em;font-weight:normal}.totp-details{margin:0 auto}.totp-details th{padding-right:.25em;text-align:left}.totp-details td{font-family:monospace}.totp-detail{display:inline-block;margin:0 .25em}