/*
 * @author Loïc Vinet from Pantagram
 * @see https://github.com/BnF-Partenariats/Rn_fleet
 *
 * @version 1.0.0
 * @date 2024-09-01
 * @license GPL-2.0-or-later
 *
 * @year 2024
 * Tous droits réservés.
 */


.profile .header-title .fa-solid{
  background-color: #5151e0;
  color: white;
  border-radius: 50%;
  padding: 4px;
  height: 80px;
  width: 80px;
  text-align: center;
  font-size:300%;
  line-height: 80px;
}

.profile .header-title .pull-right{
  float:right;
}

.additional-info-profile-log-type{
  font-size: 70%;
  color: #6e6e6e;
  font-weight: lighter;
}

.megasearch_result.profile{
  background-color: #5151e0;
  color: white;
  border-radius: 50%;
  padding: 4px;
  height: 30px;
  width: 30px;
  text-align: center;
  font-size:100%;
  line-height: 30px;
}

.profile-sub-title{
  color: #6e6e6e;
}
.profile-dropdown {
  position: relative;
  display: inline-block;

}

.profile-dropdown .profile-dropdown-button{
  text-align: right;
  width: 30px;
}
.profile-dropdown .profile-dropdown-button:hover{
  /*Ombre sous le texte légèrement plus foncée que le fond*/
  text-shadow: 0 0 5px #000000;
  color: #fff;
}

.profile-dropdown .profile-dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 300px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.profile-dropdown .profile-dropdown-content a {
  color: black;
  padding: 12px 16px;
  font-size: 80%;
  text-decoration: none;
  display: block;
}

.profile-dropdown .profile-dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Ajout pour gérer l'ouverture/fermeture avec jQuery */
.profile-dropdown .profile-dropdown-content.show {
  display: block;
}

.profile-accreditation-container{
  background-color: rgba(242, 207, 97, 0.56);
  border-radius: 10px;
  padding:15px;
  margin-bottom: 15px;

}

.form-accreditation-item-origin{
  font-weight: lighter !important;
  font-size: 80% !important;
  font-style: italic;
}

.form-item-block{
  display: block !important;
}

.sav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
}

.sav-actions {
  display: flex;
  gap: 0.75em;
  align-items: center;
}

/* Uniformise les deux éléments */
.button--compact,
.bookmark-count-summary {
  font-size: 0.85em;
  padding: 5px 10px;
  border-radius: 4px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.button--compact:hover {
  background-color: #eaeaea;
}

.bookmark-count-summary .label {
  font-weight: normal;
  margin-right: 4px;
}

.password-toggle {
  font-size: 1.2em;
  color: #555;
}
