/* gestion logo */

.navbar-logo img {
  height: 80px;       
  /* max-height: 80px;    */
  margin-top: -20px; 
  display: inline-block;
  vertical-align: middle;
}

.navbar-logo {
  margin: 0;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px; 
}


.custom-file-input:lang(en) ~ .custom-file-label::after {
  content: "Browse";
}

.custom-file-input:lang(fr) ~ .custom-file-label::after {
  content: "Browse";
}

/* gestion tickets */
.ticket-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 12px;
    border-radius: 999px;

    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;

    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ticket-link i {
    font-size: 1.1rem;
}

.ticket-link:hover {
    background: rgba(13,110,253,.08);
    box-shadow: 0 6px 18px rgba(13,110,253,.2);
    transform: translateY(-1px);
}

/* gestion notifications */

.navbar-collapse {
    overflow: visible !important;
}

.notification-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 12px;
    border-radius: 999px;

    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;

    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.notification-link:hover {
    background: rgba(13,110,253,.08);
    box-shadow: 0 6px 18px rgba(13,110,253,.2);
    transform: translateY(-1px);
}



.notification-dropdown {
    width: 380px;
    border-radius: 14px;
    padding: 0;
}

.notification-dropdown .dropdown-item.text-center {
    position: sticky;
    bottom: 0;
    background: white;
}

/* Badge compteur */
.notification-badge {
    position: absolute;
    top: 4px;
    right: 2px;
    background: #0d6efd;
    color: white;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 50px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

/* Couleur normale du titre */
.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
    color: #212529; /* noir Bootstrap */
    transition: color 0.18s ease;
}

/* Au survol */
.notification-item:hover .notification-title {
    color: #1a1d20; /* noir légèrement adouci */
}

/* Item général */
.notification-item {
    padding: 12px 16px;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
    border-left: 3px solid transparent;
}

/* Hover très léger */
.notification-item:hover {
    background-color: rgba(13, 110, 253, 0.04); /* bleu très très léger */
}

/* Notification NON LUE */
.notification-item.unread {
    background-color: rgba(13, 110, 253, 0.06);
    border-left: 3px solid #0d6efd;
}

/* Hover d’une notification non lue */
.notification-item.unread:hover {
    background-color: rgba(13, 110, 253, 0.09);
}

.notification-list {
    max-height: 450px;
    overflow-y: auto;
}

/* Point bleu */
.unread-dot {
    width: 8px;
    height: 8px;
    background-color: #0d6efd;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

/* Titre */
.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
}

/* Message */
.notification-message {
    font-size: 13px;
    color: #6c757d;
}

/* Date */
.notification-date {
    font-size: 11px;
    color: #adb5bd;
    margin-top: 4px;
}

/* Bouton mark all */
.mark-all-read {
    font-size: 12px;
    text-decoration: none;
    color: #0d6efd;
    font-weight: 500;
}

.mark-all-read:hover {
    text-decoration: underline;
}

/* Scrollbar */
.notification-dropdown::-webkit-scrollbar {
    width: 6px;
}

.notification-dropdown::-webkit-scrollbar-thumb {
    background-color: #dee2e6;
    border-radius: 10px;
}

.notification-card {
    border-radius: 14px;
    transition: all 0.2s ease;
}

.notification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.notification-unread {
    background-color: rgba(13, 110, 253, 0.05);
    border-left: 4px solid #0d6efd;
}

.unread-dot-large {
    width: 10px;
    height: 10px;
    background-color: #0d6efd;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

#notificationSearch:focus {
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.15);
    border-color: #0d6efd;
}

/* gestion user */
.user-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 12px;
    border-radius: 999px;

    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;

    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.user-link i {
    font-size: 1.1rem;
}

.user-link:hover {
    background: rgba(13,110,253,.08);
    box-shadow: 0 6px 18px rgba(13,110,253,.2);
    transform: translateY(-1px);
}

.profile-dropdown {
    margin-top: 8px;
    min-width: 260px;
    z-index: 1055;
}

.dropdown-profile-header {
    background: #f8f9fa;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

/* Dropdown items */
.profile-dropdown .dropdown-item {
    padding: 10px 16px;
    font-size: .95rem;
    transition: background .2s ease;
}

.profile-dropdown .dropdown-item:hover {
    background: rgba(13,110,253,.08);
}

.profile-dropdown i {
    width: 18px;
    text-align: center;
}

.profile-dropdown .dropdown-divider {
    margin: .5rem 0;
}

.profile-dropdown {
    margin-top: 8px;
    margin-right: 6px;
}

.profile-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-chevron {
    font-size: .7rem;
    opacity: .7;
}


/* gestion bouton data */
.data-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 12px;
    border-radius: 999px;

    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;

    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.data-link i {
    font-size: 1.05rem;
}

.data-link:hover {
    background: rgba(13,110,253,.08);
    box-shadow: 0 6px 18px rgba(13,110,253,.2);
    transform: translateY(-1px);
}

/* gestion bouton external link */
.external-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: #0d6efd;
    background: #fff;
    transition: all .2s ease;
}

.external-link-btn:hover {
    background: rgba(13,110,253,.08);
    box-shadow: 0 6px 18px rgba(13,110,253,.25);
    transform: translateY(-1px);
}

.external-link-btn i {
    font-size: 0.95rem;
}

/* ==========================
   NAV PROFILE
========================== */
.nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 12px;
    border-radius: 999px;

    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;

    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav-pill i {
    font-size: 1.05rem;
}

.nav-pill:hover {
    background: rgba(13,110,253,.08);
    box-shadow: 0 6px 18px rgba(13,110,253,.2);
    transform: translateY(-1px);
}

.nav-profile {
    cursor: pointer;
}



