@font-face {
	font-family: Poppins-Regular;
	src: url('../fonts/poppins/Poppins-Regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
}

@font-face {
	font-family: Poppins-Medium;
	src: url('../fonts/poppins/Poppins-Medium.eot?#iefix') format('embedded-opentype'),
		url('../fonts/poppins/Poppins-Medium.ttf') format('truetype');
}

@font-face {
	font-family: Poppins-Bold;
	src: url('../fonts/poppins/Poppins-Bold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/poppins/Poppins-Bold.ttf') format('truetype');
}

@font-face {
	font-family: Poppins-SemiBold;
	src: url('../fonts/poppins/Poppins-SemiBold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
}

body, html {
	height: 100%;
	font-family: Poppins-Regular, sans-serif;
}

a {
	font-family: Poppins-Regular;
	font-size: 14px;
	line-height: 1.7;
	color: #c9c9c9;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	-moz-transition: all 0.4s;
}

a:focus {
	outline: none !important;
}

a:hover {
	text-decoration: none;
	color: #f0f0f0;
}

p {
	font-family: Poppins-Regular;
	font-size: 14px;
	line-height: 1.7;
	color: #f0f0f0;
}

ul, li {
	list-style-type: none;
}

input {
	outline: none;
	border: none;
}

textarea {
	outline: none;
	border: none;
}

textarea:focus, input:focus {
	border-color: transparent !important;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: red !important;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: red !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: red !important;
}

button {
	outline: none !important;
	border: none;
	background: transparent;
	transition: all 0.3s ease;
}

button:hover {
	cursor: pointer;
}

iframe {
	border: none !important;
}

.txt1 {
	font-family: Poppins-Regular;
	font-size: 13px;
	color: #666666;
	line-height: 1.5;
}

.txt2 {
	font-family: Poppins-Regular;
	font-size: 13px;
	color: #333333;
	line-height: 1.5;
}

.limiter {
	width: 100%;
	margin: 0 auto;
}

.container-login100 {
	width: 100%;
	min-height: 100vh;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 15px;
	background: #f2f2f2;
}

.wrap-login100 {
	width: 390px;
	background: rgba(46, 46, 46, 0.7);
	backdrop-filter: blur(6px);
	border-radius: 10px;
	overflow: hidden;
	padding: 77px 55px 33px 55px;
	box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
	-o-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
	-ms-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
}

.login100-form {
	width: 100%;
}

.login100-form-title {
	display: block;
	font-family: Poppins-Bold;
	font-size: 30px;
	color: #333333;
	line-height: 1.2;
	text-align: center;
}

.login100-form-title i {
	font-size: 60px;
}

.wrap-input100 {
	width: 100%;
	position: relative;
	border-bottom: 2px solid #adadad;
	margin-bottom: 37px;
}

.input100 {
	font-family: Poppins-Regular;
	font-size: 15px;
	color: #555555;
	line-height: 1.2;
	display: block;
	width: 100%;
	height: 45px;
	background: transparent;
	padding: 0 5px;
}

.focus-input100 {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
}

.focus-input100::before {
	content: "";
	display: block;
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;
	background: #ffffff;
	/*background: -webkit-linear-gradient(left, #21d4fd, #b721ff);
	background: -o-linear-gradient(left, #21d4fd, #b721ff);
	background: -moz-linear-gradient(left, #21d4fd, #b721ff);
	background: linear-gradient(left, #21d4fd, #b721ff);*/
}

.focus-input100::after {
	font-family: Poppins-Regular;
	font-size: 15px;
	color: #999999;
	line-height: 1.2;
	content: attr(data-placeholder);
	display: block;
	width: 100%;
	position: absolute;
	top: 16px;
	left: 0px;
	padding-left: 5px;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;
}

.input100:focus + .focus-input100::after {
	top: -15px;
}

.input100:focus + .focus-input100::before {
	width: 100%;
}

.has-val.input100 + .focus-input100::after {
	top: -15px;
}

.has-val.input100 + .focus-input100::before {
	width: 100%;
}

.btn-show-pass {
	font-size: 15px;
	color: #999999;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	position: absolute;
	height: 100%;
	top: 0;
	right: 0;
	padding-right: 5px;
	cursor: pointer;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;
}

.btn-show-pass:hover {
	color: #6a7dfe;
}

.btn-show-pass.active {
	color: #6a7dfe;
}

.container-login100-form-btn {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 13px;
}

.wrap-login100-form-btn {
	width: 100%;
	display: block;
	position: relative;
	z-index: 1;
	border-radius: 25px;
	overflow: hidden;
	margin: 0 auto;
}

.login100-form-bgbtn {
	position: absolute;
	z-index: -1;
	width: 300%;
	height: 100%;
	background: #a64bf4;
	background: -webkit-linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
	background: -o-linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
	background: -moz-linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
	background: linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
	top: 0;
	left: -100%;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;
}
.login100-form-bgbtn2 {
	position: absolute;
	z-index: -1;
	width: 300%;
	height: 100%;
	background: rgba(80, 80, 80);
	top: 0;
	left: -100%;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;
}

.login100-form-btn {
	font-family: Poppins-Medium;
	font-size: 15px;
	color: #fff;
	line-height: 1.2;
	text-transform: uppercase;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 20px;
	width: 100%;
	height: 50px;
}

.wrap-login100-form-btn:hover .login100-form-bgbtn {
	left: 0;
}

@media (max-width: 576px) {
	.wrap-login100 {
		padding: 77px 15px 33px 15px;
	}
}

.validate-input {
	position: relative;
}

.alert-validate::before {
	content: attr(data-validate);
	position: absolute;
	max-width: 70%;
	background-color: #fff;
	border: 1px solid #c80000;
	border-radius: 2px;
	padding: 4px 25px 4px 10px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	right: 0px;
	pointer-events: none;
	font-family: Poppins-Regular;
	color: #c80000;
	font-size: 13px;
	line-height: 1.4;
	text-align: left;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity 0.4s;
	-o-transition: opacity 0.4s;
	-moz-transition: opacity 0.4s;
	transition: opacity 0.4s;
}

.alert-validate::after {
	content: "\f06a";
	font-family: FontAwesome;
	font-size: 16px;
	color: #c80000;
	display: block;
	position: absolute;
	background-color: #fff;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	right: 5px;
}

.alert-validate:hover:before {
	visibility: visible;
	opacity: 1;
}

@media (max-width: 992px) {
	.alert-validate::before {
		visibility: visible;
		opacity: 1;
	}
}

.skeleton {
  animation: skeleton-loading 1s linear infinite alternate;
  outline: none !important;
}

@keyframes skeleton-loading {
  0% {
    background: rgba(80, 80, 80);
  }
  100% {
    background: rgba(55, 55, 55);
  }
}

.skeleton-text-noacc {
  display: inline-block;
  height: 1rem;
  width: 11rem;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
  margin-right: 0.35rem;
}

.skeleton-text {
  display: inline-block;
  height: 1rem;
  width: 4rem;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
}

.skeleton-text-small {
  display: inline-block;
  height: 0.90rem;
  width: 11rem;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
}

.skeleton-text-large {
  height: 1rem;
  width: 13rem;
  border-radius: 0.25rem;
}

.skeleton-text-big {
  height: 1em;
  width: 8rem;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
}

.skeleton-form {
  width: 100%;
  height: 45px;
  margin-bottom: 33px;
  display: block;
  border-radius: 0.25rem;
}

.skeleton-text__body {
  width: 75%;
}

.skeleton-footer {
  width: 30%;
}
.skeleton-btnm {
  margin-top: 22px;
}

.skeleton-hide {
  display: none;
}

/* Styles personnalisés pour améliorer l'interface */

/* Variables de couleurs primaires (ajustez selon votre thème) */
:root {
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
}

/* Effet de pulse sur les boutons au hover */
.hover-pulse:hover {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* Améliorer le traitement des images de logo */
.app-logo-container img {
  transition: transform 0.2s ease;
}

.app-logo-container:hover img {
  transform: scale(1.05);
}

/* Classes utilitaires pour Tailwind */
.bg-primary-600 {
  background-color: var(--primary-600);
}

.bg-primary-700 {
  background-color: var(--primary-700);
}

.hover\:bg-primary-700:hover {
  background-color: var(--primary-700);
}

.focus\:ring-primary-800:focus {
  --tw-ring-color: var(--primary-800);
}

.text-primary-400 {
  color: var(--primary-400);
}

.hover\:text-primary-300:hover {
  color: var(--primary-400);
  opacity: 0.8;
}

.hover\:shadow-primary-900\/40:hover {
  box-shadow: 0 10px 15px -3px var(--primary-900), 0 4px 6px -4px var(--primary-900);
  opacity: 0.4;
}

/* Ajouter ces styles à la fin du fichier main.css existant */

/* Styles spécifiques pour le portail utilisateur */
.transition-sidebar {
  transition: all 0.3s ease-in-out;
}

/* Améliorer les styles d'animation pour les notifications */
[role="alert"] {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

[role="alert"]:hover {
  transform: translateY(-2px);
}

/* Styliser les boutons de toggle de mot de passe */
.password-toggle,
.current-password-toggle,
.new-password-toggle,
.confirm-password-toggle {
  cursor: pointer;
  transition: color 0.2s ease;
}

.password-toggle:hover,
.current-password-toggle:hover,
.new-password-toggle:hover,
.confirm-password-toggle:hover {
  color: #fff;
}

/* Améliorer l'apparence des champs de formulaire */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

/* Amélioration de l'état hover sur les liens du menu */
aside a {
  position: relative;
  overflow: hidden;
}

aside a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-400);
  transition: width 0.3s ease;
}

aside a:hover::after {
  width: 100%;
}

/* Améliorations pour les appareils mobiles */
@media (max-width: 768px) {
  #sidebar {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  
  .mobile-menu-active #sidebar {
    display: block;
    animation: slideDown 0.3s ease-in-out;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Améliorer l'apparence des cartes */
.bg-gray-700\/30 {
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.bg-gray-700\/30:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

/* Amélioration des styles pour un design plus simple */
.dashboard-card {
  position: relative;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.dashboard-card:hover {
  background-color: rgba(75, 85, 99, 0.3);
}

/* Styles pour les actions rapides sur la page d'accueil */
.action-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  transition: background-color 0.2s ease;
}

.action-link:hover {
  background-color: rgba(75, 85, 99, 0.2);
}

.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  margin-right: 1rem;
}

/* Simplification de l'apparence générale */
h1, h2, h3 {
  font-weight: 500;
}

.card-simple {
  background-color: rgba(55, 65, 81, 0.2);
  border: 1px solid rgba(75, 85, 99, 0.4);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}