/* Login page language switcher */
.login-lang-switch {
    text-align: right;
    margin-bottom: 16px;
}
.login-lang-switch .lang-btn {
    display: inline-block;
    padding: 4px 10px;
    margin-left: 4px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #666;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}
.login-lang-switch .lang-btn:hover {
    background: #f5f5f5;
    color: #333;
}
.login-lang-switch .lang-btn.active {
    background: #337ab7;
    color: #fff;
    border-color: #2e6da4;
}

/* Empty state for visite actions list */
.empty-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    margin: 16px 0;
    color: #888;
    background: #fafafa;
    border: 1px dashed #e0e0e0;
    border-radius: 6px;
}
.empty-actions-icon {
    font-size: 56px;
    color: #d0d0d0;
    margin-bottom: 16px;
}
.empty-actions-title {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}
.empty-actions-subtitle {
    font-size: 13px;
    color: #999;
    max-width: 280px;
    line-height: 1.4;
}

/* Selected-visite summary card in the inline actions panel */
.visite-summary {
    padding: 18px 20px;
    margin: 0 0 16px;
    background: #f4f5f7;
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: left;
}
.visite-summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}
.visite-summary-meta {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.visite-summary-meta i {
    margin-right: 4px;
    color: #9ca3af;
}
.visite-summary-comment {
    font-size: 13px;
    color: #444;
    line-height: 1.5;
    padding: 10px 12px;
    margin-top: 12px;
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 6px;
    white-space: pre-wrap;
    max-height: 120px;
    overflow-y: auto;
}

.nav-label-item{
    text-align: center;
}

/* Notifications bell in the top navbar */
.notifications-menu > a { position: relative; }
.notifications-menu .notification-count {
    position: absolute !important;
    top: 12px;
    right: 36px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    background: #000 !important;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    border-radius: 9px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}
.notifications-menu .notification-list {
    min-width: 320px;
    max-width: 380px;
    max-height: 420px;
    overflow-y: auto;
    padding: 0;
}
.notifications-menu .notification-list li a {
    padding: 10px 14px;
    display: block;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
}
.notifications-menu .notification-list li a strong {
    color: #333;
    font-size: 13px;
}
.notifications-menu .notification-list li a .text-muted {
    color: #888;
}
.notifications-menu .notification-list li a:hover {
    background: #f7f7f9;
    text-decoration: none;
}
.notifications-menu .notification-empty {
    font-size: 13px;
}

/* Attention-grabbing toast card in the top-right corner */
.notification-toast {
    position: fixed;
    top: 60px;
    right: 16px;
    z-index: 1080;
    min-width: 300px;
    max-width: 360px;
    padding: 12px 36px 12px 14px;
    background: #fff;
    border: 1px solid #e2e5ea;
    border-left: 4px solid #db1e2e;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    animation: notif-toast-in 0.35s ease-out;
}
@keyframes notif-toast-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.notification-toast-body {
    display: block;
    color: #333;
    text-decoration: none;
}
.notification-toast-body:hover {
    text-decoration: none;
    color: #000;
}
.notification-toast-title {
    display: block;
    font-size: 13px;
    color: #333;
    margin-bottom: 4px;
}
.notification-toast-message {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}
.notification-toast-close {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: 0;
    padding: 0;
    font-size: 20px;
    line-height: 20px;
    color: #999;
    cursor: pointer;
}
.notification-toast-close:hover {
    color: #000;
}
