/* === Fond global === */
div.login-ui {
  background: #667e8e !important; /* Bleu clair AMSOM Habitat */
  font-family: "Segoe UI", Arial, sans-serif;
}

/* === Fenêtre de connexion === */
.login-ui .login-dialog {
  background-color: #fff !important;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.25);
  padding: 2.5em 3em;
  min-width: 380px;
  position: relative;
}

/* === Logo === */
.login-ui .login-dialog .logo {
  background-image: url('app/ext/tempnamespace/images/logo-placeholder.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  width: 12em;
  height: 6em;
  margin: 0 auto 15px;
}

/* === Titre === */
.login-ui .login-dialog .title,
.login-ui h1.title,
.login-ui .login-dialog h1 {
  font-size: 1.4em;
  font-weight: 700;
  color: #41425c; /* Bleu foncé AMSOM */
  margin-bottom: 1em;
}

/* === Champs identifiant + mot de passe arrondis === */
.login-ui .login-dialog input[type="text"],
.login-ui .login-dialog input[type="password"] {
  border: 1px solid #e5e7eb;
  border-radius: 8px;   /* arrondi */
  padding: 0.6em 0.8em;
  font-size: 1em;
  margin-bottom: 1em;
}

/* === Bouton Se connecter === */
.login-ui .login-dialog input[type="submit"],
.login-ui .login-dialog button {
  background-color: #a3a028 !important;  /* Vert AMSOM */
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.7em 1.2em;
  margin-top: 1em;
  width: 100%;
  cursor: pointer;
}
.login-ui .login-dialog input[type="submit"]:hover,
.login-ui .login-dialog button:hover {
  background-color: #8a8820 !important;
}

/* === Texte © en bas === */
.login-ui .login-dialog::after {
  content: "© AMSOM Habitat - Portail d’accès distant";
  display: block;
  text-align: center;
  font-size: 0.85em;
  color: #374151;
  margin-top: 1.2em;
  opacity: 0.9;
}

/* === Version Guacamole corrigée === */
.login-ui .login-dialog + .version,
html body.login-ui .login-dialog + .version {
  background: none !important;       /* supprime le fond vert */
  color: #41425c !important;         /* bleu foncé AMSOM */
  font-size: 0.85em !important;
  font-weight: 600 !important;
  border: none !important;
  box-shadow: none !important;

  position: static !important;       /* enlève l'ancrage en bas/droite */
  display: block !important;
  text-align: center !important;     /* centré */
  margin: 0.5em auto 0 !important;
}
/*
 * 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}