.ggcrm-dashboard .ggcrm-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.ggcrm-dashboard .ggcrm-header {
    position: relative;
    z-index: 60;
}

.ggcrm-dashboard .ggcrm-notification-wrapper {
    position: relative;
    display: inline-block;
}

.ggcrm-dashboard .ggcrm-notification-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 8px;
    color: var(--ggcrm-slate-600);
    transition: color 0.2s;
}

.ggcrm-dashboard .ggcrm-notification-btn:hover {
    color: var(--ggcrm-primary);
}

.ggcrm-dashboard .ggcrm-notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0 4px;
    border-radius: 999px;
    min-width: 16px;
    height: 16px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
}

.ggcrm-dashboard .ggcrm-notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background-color: #fff;
    border: 1px solid var(--ggcrm-border-color);
    border-radius: var(--ggcrm-radius);
    box-shadow: var(--ggcrm-shadow-lg);
    z-index: 1000;
    display: none;
    flex-direction: column;
    margin-top: 8px;
    max-height: 400px;
}

.ggcrm-dashboard .ggcrm-notification-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--ggcrm-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--ggcrm-slate-50);
    border-radius: var(--ggcrm-radius) var(--ggcrm-radius) 0 0;
}

.ggcrm-dashboard .ggcrm-notification-header h3 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ggcrm-slate-900);
}

.ggcrm-dashboard .ggcrm-clear-notifications {
    font-size: 0.75rem;
    color: var(--ggcrm-slate-500);
    cursor: pointer;
    user-select: none;
}

.ggcrm-dashboard .ggcrm-clear-notifications:hover {
    color: #ef4444;
    text-decoration: underline;
}

.ggcrm-dashboard .ggcrm-notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

.ggcrm-dashboard .ggcrm-notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--ggcrm-slate-100);
    cursor: pointer;
    display: flex;
    gap: 12px;
    transition: background-color 0.2s;
}

.ggcrm-dashboard .ggcrm-notification-item:last-child {
    border-bottom: none;
}

.ggcrm-dashboard .ggcrm-notification-item:hover {
    background-color: var(--ggcrm-slate-50);
}

.ggcrm-dashboard .ggcrm-notif-unread {
    background-color: #f0f9ff;
}

.ggcrm-dashboard .ggcrm-notif-read {
    opacity: 0.7;
}

.ggcrm-dashboard .ggcrm-notif-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    padding-top: 2px;
}

.ggcrm-dashboard .ggcrm-notif-content {
    flex: 1;
    min-width: 0;
}

.ggcrm-dashboard .ggcrm-notif-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ggcrm-slate-900);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ggcrm-dashboard .ggcrm-notif-msg {
    font-size: 0.8125rem;
    color: var(--ggcrm-slate-600);
    margin-bottom: 4px;
    line-height: 1.4;
}

.ggcrm-dashboard .ggcrm-notif-time {
    font-size: 0.7rem;
    color: var(--ggcrm-slate-400);
}

.ggcrm-dashboard .ggcrm-empty-notif,
.ggcrm-dashboard .ggcrm-loading-notif {
    padding: 1rem;
    text-align: center;
    color: var(--ggcrm-slate-500);
    font-size: 0.875rem;
}
