.notification-bell-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.notification-bell-icon {
    font-size: 1.2rem;
    color: #fff;
    padding: 2px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.notification-bell-icon:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.notification-badge {
    position: absolute;
    top: -3px;
    right: 2px;
    background-color: #ff4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 9px;
    text-align: center;
    padding: 0 4px;
}

.notification-badge.empty {
    display: none;
}

.notification-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 380px;
    max-height: 500px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    overflow: hidden;
    flex-direction: column;
}

.notification-dropdown.show {
    display: flex;
}

.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
}

.notification-dropdown-header h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.notification-dropdown-header a {
    font-size: 0.8rem;
    color: #0d6efd;
    text-decoration: none;
}

.notification-dropdown-header a:hover {
    text-decoration: underline;
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.notification-item {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.15s;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #e7f1ff;
}

.notification-item.unread:hover {
    background-color: #d0e4ff;
}

.notification-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.9rem;
}

.notification-item-icon.approval {
    background-color: #fff3cd;
    color: #856404;
}

.notification-item-icon.ar {
    background-color: #d1ecf1;
    color: #0c5460;
}

.notification-item-icon.status {
    background-color: #d4edda;
    color: #155724;
}

.notification-item-icon.billing {
    background-color: #e2e3f1;
    color: #383d5a;
}

.notification-item-content {
    flex: 1;
    min-width: 0;
}

.notification-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-item-message {
    font-size: 0.78rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-item-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 3px;
}

.notification-dropdown-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
}

.notification-dropdown-footer a {
    font-size: 0.8rem;
    color: #0d6efd;
    text-decoration: none;
}

.notification-dropdown-footer a:hover {
    text-decoration: underline;
}

.notification-empty {
    padding: 40px 16px;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

.notification-loading {
    padding: 40px 16px;
    text-align: center;
    color: #999;
}

.notification-toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: none;
}

.notification-toast {
    background: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 320px;
}

.notification-toast-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.notification-toast-message {
    font-size: 0.8rem;
    color: #ccc;
}
