/* Style du formulaire */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');

.row .gui-login-form p
{
  display: block !important;
}
.gui-login-form h2
{
  font-size: 15px !important;
  line-height: inherit !important;
}
.panel_name{
  margin: 0 !important;
  color: #606060 !important
  
}
.panel_text{
	color: #000;
}

#gui-crm-login p{
  display:normal !important;
}

.gui-connect-djuced{
	background: white;
	padding: 2rem;
	font-family: Verdana, Arial, sans-serif
}
.gui-connect-djuced p{
	color:#000;
}

.gui-connect-djuced input{
	background: #fff !important;
	border: 1px solid #e1e1e1 !important;
}

/* Conteneur principal */
#gui-connect {
  all: unset;
  display: block;
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
}

/* Formulaire */
.gui-login-form p {
  margin-bottom:0;
}

.gui-login-form h2, #gui-buttons-column h2, #gui-crm-display-account-form h2 {
  font-size: var(--heading--font-size-h4) !important;
  font-weight: var(--heading--font-weight-strong);
  letter-spacing: var(--heading--letter-spacing-h4);
  line-height: var(--heading--line-height-h4);
  background-color: none;
  color: #fff;
  text-transform: uppercase !important;
  letter-spacing: normal !important;
  font-size: 15px;
  padding: 8px 10px 9px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;  
  font-weight: 350;
}
/* Labels */
.gui-login-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.forgotpassword-button{
  font-size: 15px;
  text-transform: capitalize;
  font-weight: 600;
  line-height: 36px;
  background: none;
  color: black !important;
  text-decoration: underline;
  padding: 0;
  border:0;
}

#gui-crm-create-account, #gui-crm-forgot-password {
  display: none;
}

#gui-crm-create-account input[type="checkbox"]{
  margin-bottom: 0;
}

.panel-title{
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 1px solid #5c5c5c !important;  
}

/* Champs de saisie */
.gui-login-form input[type="text"],
.gui-login-form input[type="password"],
.gui-login-form input[type="email"] {
  width: -moz-available;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.gui-login-form input[type="text"]:focus,
.gui-login-form input[type="password"]:focus,
.gui-login-form input[type="email"]:focus {
  border-color: #0078d4;
  outline: none;
}

.wp-element-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.wp-element-button:hover {
  background-color: #005177;
}

/* Bouton de connexion */
#form-login-button, #form-create-button, #gui-crm-display-account-form button, #gui-crm-display-account-signin button, #gui-forgot-area button, #form-forgot-button button, #form-update-password-button {
  width: -moz-available;
  padding: 1rem 0.75rem;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-left: 0;
  background-color: #3d95cc !important;
  border-radius: 0;
  text-transform: uppercase;
  margin-top: 0;
  margin-right: 0;  
}

#form-login-button:hover, #form-create-button:hover, #form-forgot-button:hover, #form-update-password-button:hover {
  background-color: #3d95cc !important;
}

#form-logoff-button{
  cursor: pointer;
  display: inline-block;       /* Nécessaire pour que width fonctionne sur un <a> */
  white-space: nowrap;         /* Empêche le retour à la ligne */
  overflow: hidden;            /* Cache le texte qui dépasse */
  text-overflow: ellipsis;     /* Affiche les "..." */
}
#logoff-menu{
  background: #b3b3b3;
  padding: 10px;
  text-align:center;
  white-space: nowrap;
}
#logoff-menu:hover, #logoff-menu:focus {
  cursor: pointer;
  background-color: #C20E1A;
  color: #fff;
}
#feedback-forgot{
  padding-top:20px;
}
#gui-forgot-area{
  margin-bottom: 0;
}

.gui-logo-admin{
  float: right;
}

/* Bouton œil pour mot de passe */
#toggle-password svg {
    color: #666;
    transition: color 0.3s;
}

#toggle-password:hover svg {
    color: #0078d4;
}

/* Liens supplémentaires */
.gui-login-links {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.gui-login-links a {
    color: #0078d4;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s;
}

.gui-login-links a:hover {
    color: #005fa3;
}

/* Feedback */
#feedback-login, #feedback-creation {
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    #gui-connect {
        padding: 1rem;
    }

    .gui-login-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}
#eye-icon path {
  fill: black;
}
#eye-icon{
    width: 30px;
    height: 30px;
    margin: 0;
}

/* Styles permettant de mettre en page les éléments */
.bloc-ticket-liste{
  margin-bottom: 0.5rem;;
}
.detail-ticket-button{
  float: left;
  margin-right: 1rem;
}
.detail-ticket{
  margin: 1rem;
  background: #e6e6e6;
  padding: 1rem;
}

.confirmation-alert, .alert-success{
  padding: 15px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 1.5rem;
}

.loading-alert, .alert-warning, .warning-creation {
  padding: 15px;
  background-color: #faab19;
  color: #885a03;
  border: 1px solid ;
  border-radius: 4px;
  font-weight: bold;
}

.data_protect:hover {
  color:#C20E1A !important;
  text-decoration: underline;
}

.download-link{
	padding: 1rem;
	background: black;
	border-radius: 2px;
	color: #3d95cc;
	border: 2px solid;
	text-decoration: none !important;
	font-weight: bold;	
	border-color: #3d95cc !important;
	display:block;
}

#guillemot-crm-dashboard{
  margin:1rem;
}
#guillemot-crm-dashboard h1{
  font-weight: bold;
}
#guillemot-crm-dashboard h2{
  font-size: 1rem;
  font-weight: bold;
  margin-top: 1rem;
}
#guillemot-crm-dashboard h3 {
    font-size: 1rem;
    font-weight: bold;
}
#guillemot-crm-dashboard td{
  font-size: small;
}